How do I pass IP the address from the Ionix IP Availability Manager TSM domain to the underlying IP domain instead of hostname?
To pass IP the address from the Ionix 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 129:
driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
- Change line 129 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 line 49:
driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
- Change line 49 to the following:
driver->writeln("NAMEORIP=".SNMPAgentObj->AgentAddress."\t "
- Find line 84:
driver->writeln("NAMEORIP=".systemData->getNameOrAddr()."\t "
- Change line 84 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.