Hello, This may be more of a Solaris question, but maybe someone can help. Almost none of our devices are in DNS, so I was trying to do some IP mapping in our /etc/inet/hosts file so I could reevaluate and update the model names. I tested this in my lab, but that was on Linux boxes. It seemed to work mostly there (more on that in a bit). On the production side, I tried it on our Solaris 10 boxes and it did not work the same way. It went to the DNS servers first, failed the lookup, and then just quit. I had to comment out all the DNS servers in resolve.conf and restart ncsd to flush the cache before Spectrum would use the hosts file. Is there some priority assignment for DNS vs hosts that I need to change in some config? Changing the hosts file and pinging the device by name from the shell works immediately. On linux I typically do not have ncsd running, but it works anyway.
Also, in this same scenario, I have the "Name Service" as the primary naming method selected and it works for all the SNMP devices that had names, but the pingable devices that are listed in the hosts file are not getting updated. If I add a pingable by IP with no name specified, and after the hosts file is updated, it will grab the new name, but if I update the name in hosts and "Reevaluate All Model Names" it will not change the name on the pingable devices. That does not live up to the "All" in the button title. If someone has a better way to update the name with a simple CSV file, I am all for that method! This is using Spectrum 9.2 H03. Thanks! -Ken --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
