To pass the IP address from the TSM domain to the underlying IP domain instead of hostname.
search cancel

To pass the IP address from the TSM domain to the underlying IP domain instead of hostname.

book

Article ID: 327635

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

SYMPTOMS:

  • How do I pass IP the address from the TSM domain to the underlying IP domain instead of hostname?

Environment

SMARTS - 10.1.x

SMARTS DM - 2.x

Resolution

To pass IP the address from the IP Availability Manager TSM domain to the underlying IP domain, do the following:

  1. Open the topo-split-output-seeds-AM.asl file in the following location using sm_edit:
    IP/smarts/bin/sm_edit rules/discovery/topo-split/topo-split-output-seeds-AM.asl
     
  2. Find line:
    driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
     
  3. Change the line to the following:
    driver->writeln("NAMEORIP=".agentObj->AgentAddress."\t "
     
  4. Open the topo-split-output-seeds.asl file in the following location using sm_edit:
    IP/smarts/bin/sm_edit rules/discovery/topo-split/topo-split-output-seeds.asl
  5. Find the below line:
    driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
  6. Change the line to the following:
    driver->writeln("NAMEORIP=".SNMPAgentObj->AgentAddress."\t "
  7. Find the below line :
    driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
     
  8. Change the line to the following:
    driver->writeln("NAMEORIP=".agentObj->AgentAddress."\t "
     
  9. Open the topo-split-sync-AM.asl file in the following location using sm_edit:
    IP/smarts/bin/sm_edit rules/discovery/topo-spilt/topo-split-sync-AM.asl
     
  10. Find the line that has the following (when this doc was written, the line number was 302, however in version 9.4.2 the line number is 452)

    topoManager->addPending(systemData->getNameOrAddr(),
     
  11. Change this line to the following:
     topoManager->addPending(agent->AgentAddress,

Run a discovery or changes will be implemented on the next discovery.