User Tracking Issue: Mix of IP/hostnames

Unanswered Question
Oct 6th, 2008

Hi All,

I have a problem in CW with Campus user tracking, in the device list it showing mix of Ip-addresses and hostnames.

It is same for the case of vlans as well, some place it display Vlan ID but in other page it shows vlan names.

How can I solve this by getting either host name or Ip.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.5 (2 ratings)
Loading.
Joe Clarke Mon, 10/06/2008 - 08:02

What version of Campus Manager? What is showing as IPs (the end hosts or the switches to which they connect)?

As for VLAN names vs. IDs. The VTP servers which are authoritative for those VLANs must have the proper names configured.

ranginroshkg Tue, 10/07/2008 - 08:23

Hi,

In device name list of switches, in some place it showing ip-address and hostname for the same switch, how can I get either Ip or hostname. But some of the switches showing device name correctly as hostnames.

we are using VTP transparent mode in all the switches.

Regards

Joe Clarke Tue, 10/07/2008 - 09:09

The switches that are showing up by hostname must have DNS or local hosts file entries. The switches that do not lack these entries. To get all switches showing up with their hostnames, make sure that those IP addresses are resolvable in either DNS or the server's local hosts file, then re-run Discovery. If you have configured Discovery to update the DCR Display Name, then the hostnames should show up in the LMS device selectors.

Alternatively, you can go into DCR, and manually update the DCR Display Names for these switches.

Once the Display Names reflect the desired value, re-run Campus Data Collection, then re-run User Tracking Acquisition. You will now see what you want in the UT report.

ranginroshkg Sun, 10/12/2008 - 03:33

Hi clarke,

The cisco works server already have a host file entries in it for all switches and it is resolving. I have manually added the devices display names, re-run data collection & U T, but still I am getting those devices with mixed device name as ip/hostname. I have attached the UT report here.

Any other workaround for this.???

Regards

Attachment: 
Joe Clarke Sun, 10/12/2008 - 07:41

The Display Name for 192.168.103.50 must still be the device's IP address. If the Display Name was a hostname, and you did a new Data Collection and a new UT acquisition, then the Device Name would be that Display Name.

ranginroshkg Tue, 10/14/2008 - 02:34

Hi,

I tried to update DCR display names as IP-address and run data collection and UT acquisition for that particular device but still UT report shows hostnames and IP-adress under device name for the same switch.

We are using LMs 3.0.1 and CM 5.0.2

In global-discovery settings of dcr I have given preferred display name "host name", prefered management IP resolve by name. Plus update dcr display name is given.

In seed device settings I gave 'use DCR as seed'

I have attached device discovery settings herewith.

Regards

Joe Clarke Tue, 10/14/2008 - 08:38

Okay, Campus 5.0.2 may be your problem. Go to Common Services > Software Center > Software Update, and download the Campus 5.0.3 update. Re-check to make sure that the device in question has a hostname as its Display Name. Then, run a new Data Collection with CM 5.0.3. Then do a new UT acquisition.

ranginroshkg Thu, 10/16/2008 - 11:26

Hi Clarke,

I had upgraded CM to 5.0.3 then run DCR rediscovery, data collection in cm and run UT acquisition.

I removed 3 devices from Dcr those which are showing mismatch information in UT reports.

Then I run discovery in dcr, in dcr it showing all the 69 devices but when I run data collection it showing 66 devices only, the credentials are correct which I added are correct. I tried 2-3 times run data collection in CM, still it shows 66 devices.

In DCR all the devices display name =hostname, I did a UT acquisiton. Now there is diference in the reports that those devices was showing mismatch of IP/hostnames showing only 'IP-address' as device name and in the device list those devices is not appearing in a continuous order.

Please look into this issue.

Regards

Joe Clarke Fri, 10/17/2008 - 08:03

Go to Campus Manager > Admin > Debugging Options > Data Collection, and enable core, corex, frontend, and framework debugging. Then run a new Data Collection. Then post the ani.log.

Joe Clarke Sat, 10/18/2008 - 08:32

I don't see anything wrong here. I see you have 74 devices in DCR, of which four are rejected due to your Data Collection filters. Campus is correctly Data Collecting the other 70. If you are missing some devices from Campus, you will need to post their IP addresses and hostnames.

As for the UT piece, I see that the devices which show up with an IP address as their device name are being properly Data Collected with the hostname. So something must be going wrong in the UT acquisition. You can enable "user tracking" debugging under Campus Manager > Admin > Debugging Options > User Tracking Server, then post the ut.log.

Joe Clarke Sun, 10/19/2008 - 09:18

User Tracking is still showing the IP address as the device name for 192.168.108.50? If so, please post NMSROOT/campus/etc/cwsi/portsData.xml.

ranginroshkg Tue, 10/21/2008 - 02:13

Hi Clarke,

Yes 192.168.108.50 is still showing ip address.

the following devices have same issues:

192.168.103.50,192.168.108.50,192.168.110.50,192.168.112.47,192.168.113.49,192.168.119.50,192.168.120.50

There is something strange is happened, when I check UT report in device centre it is showing hostname, but connected host details are missing from the entry.

Please check the file attached and reply me.

Regards

Joe Clarke Tue, 10/21/2008 - 09:26

This screenshot seems to contradict what you say here. The switch, 192.168.108.50, is showing up in UT as EKK-ACC-TBSC-SALMABD-SW1. Everything I've seen in the logs, and this XML file indicate there is no problem. At this point, if you're still seeing errors, I think you should open a TAC service request so this problem can be analyzed in real time.

ranginroshkg Wed, 10/22/2008 - 07:35

Hi Clarke,

Yes I am getting corect information of switches in UT report taken from device center, but if I take the whole UT report of switches from Campus manager then there is problem of mix of IP and host-name.

Before upgrading CM to 5.0.3 I was getting mix of information in device center too, now that one is Ok. Is this a bug in CW ? I have attached a fie from UT, please check it.

Regards

Rangin

Joe Clarke Wed, 10/22/2008 - 08:44

First, the order in which the entries are listed by default depends on the database ID which is based on the MAC address. If the entries for one switch are not contiguous, this is not a problem. You can always sort the report based on any column you want (e.g. Device Name).

Next, this screenshot looks like the old one you sent on October 18. Since then, you provided a new screenshot (along with logs) which proves that 192.168.108.50 is showing up with its hostname in the UT report. I cannot see any problems with the recent data you've posted. That is why I suggested in my previous post that you open a TAC service request. TAC can work with you in real time to analyze and troubleshoot this problem.

Now I will say this. If this latest screenshot IS from a report run today, the fact that the entries are showing with a last seen time of October 18 means that they were not updated since October 18. If Campus MAnager was not managing these switches by their hostnames on October 18, that is why you still see IP addresses. That will not change for those OLD entries. However, all NEW entries for those switches should show up with a Device Name equal to the switch's hostname.

ranginroshkg Fri, 10/24/2008 - 11:13

Thank you Clarke, the information which you provided was helpfull.

Regards

Actions

This Discussion