How to start or stop a discovery from the command line?
When discovery started from CLI, below error is observed:
CI-E-EGENERIC-Tried to insert a duplicate row in a tableMR-DUPLICATE_ROW-Tried to insert a duplicate row in a table
All Smarts versions
To start a discovery, run the following command from BASEDIR\smarts\bin:
./dmctl -s <APM server> invoke ICF_TopologyManager::ICF-TopologyManager start
To stop a discovery, run the following command from BASEDIR\smarts\bin:
./dmctl -s <APM server> invoke ICF_TopologyManager::ICF-TopologyManager stop
To fix the error observed, rerun start command again.