Starting a Smarts discovery from the command line.
book
Article ID: 303896
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
How do I start or stop a discovery from the command line?
How to stop auto discovery
Environment
VMware Smart Assurance - SMARTS
Resolution
To start a discovery, run the following command from BASEDIR\smarts\bin: ./dmctl -s <<AM server>> invoke ICF_TopologyManager::ICF-TopologyManager start
To stop a discovery, run the following command from BASEDIR\smarts\bin: ./dmctl -s <<AM server>> invoke ICF_TopologyManager::ICF-TopologyManager stop
Additional Information
When invoke "start" command, following error might appear:
CI-E-EGENERIC-Tried to insert a duplicate row in a table MR-DUPLICATE_ROW-Tried to insert a duplicate row in a table