Post originally by ebzhang
We have issues when displaying several IP’s hostname under “all system” menu via HP-SIM web.
We have enable the debug log while discovery NEs and we can see below exceptions in the log:
08/22 16:21:39 [DeviceIdentifyThread-5] (Identification Via Discovery:38) Processing MxUnknownHostException exception
08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:38) Unknown host: 10.139.8.30
at com.hp.mx.cli.utilities.MxIdentifyUtility.normalize(MxIdentifyUtility.java:354)
at com.hp.mx.core.tools.identification.DeviceIdentifyThread.verifyDNSLookupAndReportError(DeviceIdentifyThread.java:5860)
at com.hp.mx.core.tools.identification.DeviceIdentifyThread.run(DeviceIdentifyThread.java:806)
at com.hp.mx.core.utilities.CachedThread.run(CachedThread.java:209)
Below is a grep output of the unknown host exception.
Line 16615: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:30) Unknown host: 10.139.8.4
Line 16829: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:37) Unknown host: 10.139.8.5
Line 17061: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:38) Unknown host: 10.139.8.30
Line 17074: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:39) Unknown host: 10.139.8.32
Line 17085: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:40) Unknown host: 10.139.8.34
Line 17096: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:41) Unknown host: 10.139.8.33
Line 17111: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:42) Unknown host: 10.139.8.31
Line 17268: 08/22 16:21:39 [DeviceIdentifyThread-8] (Identification Via Discovery:43) Unknown host: 10.139.8.38
Line 60123: 08/22 16:22:18 [DeviceIdentifyThread-8] (Identification Via Discovery:30) Unknown host:
10.139.8.37
We have confirmed that all the hostname of these IPs have been defined on the /etc/hosts file on HP-SIM.
here are the output of commands "mxgethostname" for some IPs:
[root@wltpnj22-com-401-sim logs]# mxgethostname -n 10.139.8.30
Host name: wlfs1-host01
DNS Name: wlfs1-host01
[root@wltpnj22-com-401-sim logs]# mxgethostname -n 10.139.10.30
Host name: wlsg1-host01
DNS Name: wlsg1-host01
[root@wltpnj22-com-401-sim logs]# mxgethostname -n 2001:4888:a03:7101:c0:114:0:1d
Host name: s4sg1-host01
DNS Name: s4sg1-host01
[root@wltpnj22-com-401-sim logs]# mxgethostname -n 10.139.8.89
Host name: wlfs2-host01
DNS Name: wlfs2-host01
can any one give some guildence about what is required to check?