DCR Shows Ip address instead of Hostname in Ciscoworks LMS 3.1

Answered Question
Feb 24th, 2010
User Badges:

I've struck a problem with not being able to update the device hostnames when I do a discovery.

I'm aware of bug CSCsv65933 Discovery does not update display name in DCR and have ordered an upgrade.


I am still concerned however that there may be something more fundamentally wrong in the name resolution process.


Testing name resolution using the resolver.pl script fails for reverse lookups. Reverse lookups using nslookup work fine (output below)


D:\Program Files\CSCOpx\bin>perl resolver.pl 192.168.36.7 BNE3750-A-L31
d:\PROGRA~1\CSCOpx/www/classpath/com/cisco/nm/cmf/desktop
Original name: 192.168.36.7
Hostnames/IP Addresses:
        /192.168.36.7


Original name: BNE3750-A-L31
Hostnames/IP Addresses:
        BNE3750-A-L31/192.168.36.7


D:\Program Files\CSCOpx\bin>nslookup 192.168.36.7
Server:  bnedns.acme.com.au
Address:  192.168.0.21

Name:    bne3750-a-l31.acme.com.au
Address:  192.168.36.7



Based on other posts I studied it would appear that resolver.pl should do reverse lookups.  Any clues why it might be failing for me.

Correct Answer by Martin Ermel about 7 years 2 months ago

it seems you are seeing the following 2 bugs:

CSCsq54877 for the resolver.pl and

CSCsv65933 for the problem that the device name does not get updated in DCR;


you have two options, contact TAC to get the patch or update to LMS 3.2


=======

CSCsq54877 Bug Details

resolver.pl may not properly resolve IP to hostname.

Symptom:


The resolver.pl tool may not properly resolve IP Address to hostname. This problem occur although the proper resolution path exists.


However, the resolver.pl tool properly resolves IP Address to hostname.


Conditions:


This occurs anytime when an IP address argument is passed to resolver.pl.


Workaround:


Use the nslookup or host command from the Operating System to get proper lookup results, if If the IP address has a PTR DNS record.


However, if the IP address is listed in the local hosts file, there is no workaround



CSCsv65933 Bug Details


Discovery does not update display name in DCR


Symptom:


The Device Credential Repository display name attribute is not updated after running Discovery despite the "Update DCR Display Name" box being checked.


Conditions:


This occurs for Common Services 3.2 Discovery.


Workaround:


To have the DCR display name reflect the correct value, the device must be manually edited under Common Services > Device and Credentials > Device Management

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Martin Ermel Thu, 02/25/2010 - 02:30
User Badges:
  • Blue, 1500 points or more

it seems you are seeing the following 2 bugs:

CSCsq54877 for the resolver.pl and

CSCsv65933 for the problem that the device name does not get updated in DCR;


you have two options, contact TAC to get the patch or update to LMS 3.2


=======

CSCsq54877 Bug Details

resolver.pl may not properly resolve IP to hostname.

Symptom:


The resolver.pl tool may not properly resolve IP Address to hostname. This problem occur although the proper resolution path exists.


However, the resolver.pl tool properly resolves IP Address to hostname.


Conditions:


This occurs anytime when an IP address argument is passed to resolver.pl.


Workaround:


Use the nslookup or host command from the Operating System to get proper lookup results, if If the IP address has a PTR DNS record.


However, if the IP address is listed in the local hosts file, there is no workaround



CSCsv65933 Bug Details


Discovery does not update display name in DCR


Symptom:


The Device Credential Repository display name attribute is not updated after running Discovery despite the "Update DCR Display Name" box being checked.


Conditions:


This occurs for Common Services 3.2 Discovery.


Workaround:


To have the DCR display name reflect the correct value, the device must be manually edited under Common Services > Device and Credentials > Device Management

ROBERT THOMSON Thu, 02/25/2010 - 12:36
User Badges:

Thanks Mermel. The resolver bug would explain it nicely.  I'll post back after the upgrade.

ROBERT THOMSON Fri, 02/26/2010 - 11:43
User Badges:

Thanks Mermel.  The upgrade fixed the resolver problem and the DCR is now populated with the hostnames.

Actions

This Discussion

Related Content