Device hostnames in CUOM

Answered Question
Mar 3rd, 2009
User Badges:

Hi,


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?


Many thanks.

Correct Answer by Joe Clarke about 8 years 1 month ago

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:


ping HOSTNAME


And the hostname is resolved. Also, make sure that there is a one-to-one mapping between IP and hostname. For example:


10.1.1.1 vg-3745


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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Tue, 03/03/2009 - 16:53
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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:


ping HOSTNAME


And the hostname is resolved. Also, make sure that there is a one-to-one mapping between IP and hostname. For example:


10.1.1.1 vg-3745


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.

Actions

This Discussion