How to ignore sysName value in Smarts during Discovery Name Resolution Probe.
search cancel

How to ignore sysName value in Smarts during Discovery Name Resolution Probe.

book

Article ID: 304159

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How to ignore sysName value during Discovery Name Resolution Probe



Set sysName in ICF_TopologyManager.

The InCharge IP Discovery Guide contains a complete description of the purpose and process of the Name Resolution Probe used during discovery.  Please refer to this document for further details on this process.  The following is excerpted from the InCharge IP Discovery Guide:

  1. InCharge first tries to resolve the loopback IP address to a name.  The loopback IP address for the system is identified by the ifType MIB variable of the MIB-II interface table.  When there are many loopback addresses, InCharge uses the first loopback address in the ipAddrTable table retrieved from the system   s SNMP agent that resolves to a name.
  2. If unsuccessful, InCharge then tries to resolve the sysName for the system to one or more IP addresses that match one or more IP addresses in ipAddrTable.  If any of the IP addresses returned from the name resolution service match any of the IP addresses in ipAddrTable, InCharge uses sysName as the system name.
  3. If unsuccessful, InCharge then tries to resolve the IP addresses in ipAddrTable, one by one, to a name.

Step 2 in the process above can be omitted by following one of the below procedures:

Procedure 1:
Modifying tpmgr-params.conf
Add the following line to the end of tpmgr-params.conf file:  NameResolveUseSysname FALSE
Restart the AM-PM server and verify that the parameter is correctly
set by running the following command from <IPBASEDIR>/smarts/bin/dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager findParameter NameResolveUseSysname
The command should return the string FALSE.
Since the tpmgr-params.conf is read by all starting domains, this will affect any new domains that are started from this directory structure.

Procedure 2:  Setting the variable in a running server
Run the following command from <IPBASEDIR>/smarts/bin/dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager insertParameter NameResolveUseSysname FALSE
Verify the setting of this parameter by running the following command from <IPBASEDIR>/smarts/bin/dmctl -s INCHARGE-AM invoke ICF_TopologyManager::ICF-TopologyManager findParameter NameResolveUseSysname
The command should return the string FALSE.
New domains started from this directory structure will not have this value set.  Restarting the domain in which this command was run will maintain the value of this parameter.

If the sysName should be used at a later date, use the commands above to set the parameter value to TRUE.