Smarts IP: How to discover devices using a seed file via command line and GUI?
search cancel

Smarts IP: How to discover devices using a seed file via command line and GUI?

book

Article ID: 303967

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
Smarts IP: How to discover devices using a seed file via command line and GUI?

Environment

VMware Smart Assurance - SMARTS

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.After the file opens, add the new device entries. I have added only the IP address of the lab device 10.31.117.3 and access mode as required in my lab environment. We can add the rest of the credentials as well.



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 <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 in stored in <BASEDIR>/IP/smarts/local/conf/ or <BASEDIR>/IP/smarts/conf.