Discover devices using a seed file via command line and GUI
search cancel

Discover devices using a seed file via command line and GUI

book

Article ID: 303967

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Add devices in bulk using seed file. 

Environment

Smarts 10.1.x

Resolution

Please use the below guidelines to create a seedfile and discover the device from Smarts IP Domain Manager Administration Console: 

1.Navigate to <Basedir>IP/smarts/conf. Locate a file named seedfile 



2.Open seedfile using sm_edit utility. Navigate to <Basedir>IP/smarts/bin. Run the command 
 

sm_edit ../conf/seedfile




3. Edit the file to add new device entries. Sample entries are mentioned in same file for reference. 

4.Save the entries and exit the file. (Esc and wq!)

5.Since the changes have successfully been saved, a new file named seedfile would be created in local directory:  

<Basedir>IP/smarts/local/conf




6.Open GUI Domain Manager Administration Console. Click on Topology->Import from seedfile. Give the path as <BASEDIR>/IP/smarts/local/conf/seedfile (Basically the copy of seedfile created path) and click OK. Device would be discovered after this step.
 

Use the below command to discover/re-discover devices in Smarts IP through a seedfile from command line:

<BASEDIR>/IP/smarts/bin/sm_tpmgr -s <IP domain> --seed=<path>/<seedfile filename>

Discovery of the devices in seedfile will begin immediately after this command is executed.

NOTE: By default, seedfile is stored in <BASEDIR>/IP/smarts/local/conf/ or  <Basedir>IP/smarts/conf.