When working with the EMC SMI-S Provider, the process to add an array is fairly intuitive: once you login to the SMI-S Provider via the TestSMIProvider Utility, the addsys command guides you step-by-step through the process. However, remsys is not nearly as intuitive. If you need to remove an array from the SMI-S provider (ex: array decommision) check out the steps below…
Before even logging into the TestSMIProvider Utility, get the serial number of the array that you want to remove. This can be obtained by logging into Unisphere and selecting the appropriate array
Now that you have that info, use the TestSMIProvider Utility to login to your SMI-S host. Don’t jump the gun and run the remsys yet. If you do, you’ll see that it will ask for the full Object Path to the system that you want to remove.
Instead, execute the ein command. It will ask for a Class value, which will be Clar_StorageSystem. The utility should produce output similar to the following:
++++ Testing EnumerationInstanceNames: Clar_StorageSystem ++++ Instance 0: Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+APM00000000000" Instance 1: Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+APM00000000001"
Now, we are ready to run the remsys command. Copy the entire path of the Array Instance that you wish to remove (NOTE: the APM value in the Object path should match the Serial number of the array that you wish to remove). At the System’s ObjectPath[null]: prompt, paste the path of the Array Instance. For example, if you want to delete Instance 1 listed above, your prompt should look like
System's ObjectPath[null]: Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+APM00000000001"
Follow the rest of the prompts, and look for a message indicating success. Now, when you run a dv or ein command, you should not see the array that you just removed.