This article addresses the following questions:
-
How do I remove a device from my Smarts topology via the command line?
-
How can I delete a device from the Smarts topology using the dmctl interface?
To remove a device from my Smarts topology using the command line, do the following:
-
Run the following command from BASEDIR/smarts/bin file:
dmctl -s <Domain_Name> invoke <Class>::<Instance_Name> remove
-
Force a topology synchronization. This can be done in either of the following ways:
-
The easiest way to do this is to rediscover a device in the topology, since a topology synchronization occurs during every discovery.
-
Make any change to the ics.conf file such as changing the SmoothingInterval for your Smarts IP AM or AM-PM domain from the default 65 to 64 (or other value).After you make the change, save the file and run the following command from BASEDIR/SAM/smarts/bin file:
sm_adapter -s <SAM_Name> ../rules/ics/ICS_RemoteConfig.asl
This command will re-read the ics.conf file and begin a topology synchronization.