Starting discovery from the command line/CLI
search cancel

Starting discovery from the command line/CLI

book

Article ID: 303896

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

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 table
MR-DUPLICATE_ROW-Tried to insert a duplicate row in a table

Environment

All Smarts versions

Resolution

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.