cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
956
Views
0
Helpful
10
Replies

DCR discovery

dmitry
Level 1
Level 1

Hi,

I had a bit of trouble getting the DCR discovery to work in LMS 3.0 with Dec update and wanted to share the findings. Originally I had the LMS pupulated with the devices from a CSV file where I also inculded the MCS Call Managers that are not supported by LMS 3.0. When I enabled the DCR discovery (the new feature in the Dec update), it would run for 2 sec without discovering anything. In the debug log file it was showing exception on reaching the CCM hosts (I had "Use DCR as seed"). As soon as these CCM hosts were removed from DCR the discovery started working with no issues

10 Replies 10

Joe Clarke
Cisco Employee
Cisco Employee

What exception were you seeing? An unknown device in DCR should not cause discovery to abort.

There was not much details on this, just the fragment below that gave some clues (the entire CSDiscovery.log just for a single discovery attempt was 130K):

[ Fri Dec 28 21:36:44 EST 2007 ] ERROR [CSDiscoveryAdaptor : constructDeviceInfo] : Exception while constructing Seed Device Info

from DCR device. mrkmccccm02: mrkmccccm02

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : getSeed] : [getSeed()] called .

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : getGlobalSeedDevices] : [getGlobalSeedDevices] No Global Seed Devices

set from File/GUI.

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : [putStatus()] called. com.cisco.nm.discovery.framework.i

nfo.DiscoveryProgressInfo@14df764

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : [putStatus()] called. com.cisco.nm.discovery.framework.i

nfo.DiscoveryProgressInfo@14df764

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : NGDDiscoveryStatus start time : 0

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : NGDDiscoveryStatus start time : 0

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : CS DiscoveryStatus start time : 0

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : CS DiscoveryStatus start time : 0

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : CS UNManaged Devices: 0

[ Fri Dec 28 21:36:44 EST 2007 ] DEBUG [CSDiscoveryAdaptor : putStatus] : CS UNManaged Devices: 0

What does the entry look like for this device from your import CSV file? How do you have discovery configured. I've tried a few things locally, but I am unable to reproduce this problem.

And compressing and attaching the entire CSDiscovery.log will be helpful.

Actually I entered the MCS servers manually via Add Device and specified only RO community. The ZIPed CSDiscovery.log is attached

I think I found the bug. I have a patch you can try. You will need to open a TAC service request, and have the engineer contact me directly to get it.

Thanks, so far it has been ok, I guess as long as I'm careful with adding the devices (to make sure they are supported / recognized by CS), all should be good

That's not the problem. The problem is hostname resolution. Any device that does not have an IP address in DCR will trigger a hostname lookup on the hostname value in DCR. If that fails, then discovery will fail. But it's worse than that. The domain name component is not taken into consideration. Therefore, if the short hostname fails to resolve, then discovery will fail.

The workaround is to make sure every entry in DCR has an IP address configured.

You are right, all the routers / switches are configured in subdomain net.otn.local which is in the search path of resolv.conf; the CCM boxes are in otn.local, this domain is configured only as the domain name of the CW host Sun box in resolv.conf and not in the search path, apparently solaris does not try to search with its own domain name unless it is also in the search path.

I filed CSCsl99637 to track this issue.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco