Smarts IP: How do I make the SNMP management address the loopback address?
search cancel

Smarts IP: How do I make the SNMP management address the loopback address?

book

Article ID: 327732

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How do I make the SNMP management address the loopback address?



To make the SNMP management address the loopback address, complete the following steps.
 
For a new domain:
 
1.  From the command line, open the tpmgr-param.conf configuration file for editing as follows:

<BASEDIR>/IP/smarts/bin/sm_edit conf/discovery/tpmgr-param.conf

2.  Find the ForceAgentAddressInListSysPattern line, and comment out this line so that it looks like the following:

#ForceAgentAddressInListSysPattern
 
3. Open Smarts IP discovery.conf configuration file for editing using sm_edit:
 
<BASEDIR>/IP/smarts/bin/sm_edit conf/discovery.conf
 
4.  Change AccessAddressFormat to Loopback address
 
AccessAddressFormat = "LOOPBACKADDRESS"
 
5.  Start the new domain after the above change.

For existing domain:
 
1. Make the changes as above from step 1 - 4.
 
2. <BASEDIR>/IP/smarts/bin/dmctl -s <domain server> invoke ICF_TopologyManager::ICF-TopologyManager insertParameter ForceAgentAddressInListSysPattern NULL
 
3. <BASEDIR>/IP/smarts/bin/dmctl -s <domain server> put ICF_TopologyManager::ICF-TopologyManager::AccessAddressFormat LOOPBACKADDRESS


Additional Information

Use the following command to set the settings back on a running server:
 
1.  <BASEDIR>/IP/smarts/bin/dmctl -s <domain server> invoke ICF_TopologyManager::ICF-TopologyManager insertParameter ForceAgentAddressInListSysPattern \*
 
2.  <BASEDIR>/IP/smarts/bin/dmctl -s <domain server> put ICF_TopologyManager::ICF-TopologyManager::AccessAddressFormat AUTOADDRESS