So, in short:
8U218 and R-11M = Scud A (popular nomenclature)
2P19 and R-17 = Scud A (popular nomenclature)
9P117 and R-17 = Scud B (Popular nomenclature)
There is more to this. I suggest getting Zaloga's Scud Ballistic Missile book from Osprey as a start if you want to delve into it.
