Removing device from topology using CLI
search cancel

Removing device from topology using CLI

book

Article ID: 304136

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

How do user remove/delete a device from Smarts topology using the command line?

Environment

Smarts - 10.1.x

Resolution

  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.