we are configuring a CUOM 2.0. We are adding device IP and hostnames in the hosts file of our Windows server.
After this, we are manually adding these devices in the CUOM with the hostname and the IP address but they always appear with the IP.
What can we do in order to watch these devices with their hostname in the CUOM?
CUOM, like DFM, is very particular about how it displays devices. Make sure that the hosts file entries you're adding work. That is, make sure you can run:
And the hostname is resolved. Also, make sure that there is a one-to-one mapping between IP and hostname. For example:
You do not want another 10.1.1.1 or vg-3745 entry.
There is a tool, NMSROOT\bin\resolver.pl that you can also use to test the hostname mapping. However, it may not return proper results for the IP due to a bug. But you can try:
NMSROOT\bin\perl NMSROOT\bin\resolver.pl IP
NMSROOT\bin\perl NMSROOT\bin\resolver.pl HOSTNAME
Ideally those two commands should produce the same results.
Once all of the resolutions have been confirmed, you must delete the devices, restart CUOM, then re-add them.