Hi Richard,
I looked at dbm_Pollers_DeleteOrphans, this is the sql in it:
DELETE FROM Pollers
WHERE (NetObject LIKE 'V%')
AND (SUBSTRING(NetObject, 3, 10) IN (SELECT VolumeId FROM DeletedVolumes))
DELETE FROM Pollers
WHERE (NetObject LIKE 'N%')
AND (SUBSTRING(NetObject, 3, 10) IN (SELECT NodeId FROM DeletedNodes))
From the above I do not think that the netobjectid (SUBSTRING(NetObject, 3, 10)) will match the volumeid in DeletedVolumes, unless the volumeId is the nodeId. The same is the case for deleting the interface pollers:
DELETE FROM Pollers
WHERE (NetObjectType = 'I' OR NetObjectType = 'IW')
AND (NetObjectID IN (SELECT InterfaceId FROM DeletedInterfaces))
Am I correct in this thinking?
Thanks,
Nuruddin