Bulk Device Removal in SMARTS\IONIX

So one of your data centers closed and moved across the country. This made all the names and IPs change. Now you have a bunch of down devices that will never come back up. Here is how to remove multiple devices from EMC IONIX.

For this example we will assume you already have a list of devices to remove. To find out how to pull a list of non-responsive devices from the Pending List for go here export-pending-list.

To remove the devices use the following command:

"<IP_HOME>/smarts/bin/dmctl -s <IP_SERVER>  invoke ICIM_UnitaryComputerSystem:: remove"

Linux: 
Typical AM-PM install in /opt/Incharge with a DOMAIN named INCHARGE-AM-PM removing device named DEVICE01 the command would be:
"/opt/InCharge/IP/smarts/bin/dmctl -s INCHARGE-AM-PM invoke ICIM_UnitaryComputerSystem::DEVICE01 remove"

Windows:
Typical AM-PM install in C:\InCharge with a DOMAIN named INCHARGE-AM-PM removing device named DEVICE01 the command would be:
"C:\InCharge\IP\smarts\bin\dmctl -s INCHARGE-AM-PM invoke ICIM_UnitaryComputerSystem::DEVICE01 remove"

This can easily be scripted to read a csv file and loop through to remove each device.

Category: 
Share: 

GuardianMS
Guarding your IT Experience!