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:
- 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
- Find line:
driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
- Change the line to the following:
driver->writeln("NAMEORIP=".agentObj->AgentAddress."\t "
- 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
- Find the below line:
driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
- Change the line to the following:
driver->writeln("NAMEORIP=".SNMPAgentObj->AgentAddress."\t "
- Find the below line :
driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
- Change the line to the following:
driver->writeln("NAMEORIP=".agentObj->AgentAddress."\t "
- 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
- 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(),
- Change this line to the following:
topoManager->addPending(agent->AgentAddress,
Run a discovery or changes will be implemented on the next discovery.
Feedback
thumb_up
Yes
thumb_down
No