Smarts IP/Smarts SAM: How do I remove a device from my Smarts topology using the command line?
search cancel

Smarts IP/Smarts SAM: How do I remove a device from my Smarts topology using the command line?

book

Article ID: 304136

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

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:
  1. Run the following command from BASEDIR/smarts/bin file:
dmctl -s <Domain_Name> invoke <Class>::<Instance_Name> remove
  1. 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.