10 Replies Latest reply on Jul 7, 2014 3:47 PM by Yanick Girouard

    What defines which IP Address is stored in IP_ADDRESS intrinsic server property?

    Yanick Girouard

      I've always noticed how the IP Address that was stored in the IP_ADDRESS intrinsic server property was often wrong or didn't match the IP address used by BladeLogic to connect to the agent when there were multiple IP addresses on the server, but I've never quite understood why that was.

       

      For example, I have one server with the following address:

       

      eth0  Link encap:Ethernet  HWaddr 00:50:56:BE:23:D5
            inet addr:10.48.26.48  Bcast:10.48.26.255  Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:781169 errors:0 dropped:0 overruns:0 frame:0
            TX packets:708182 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:233065906 (222.2 MiB)  TX bytes:474787084 (452.7 MiB)

       

      eth1  Link encap:Ethernet  HWaddr 00:50:56:A5:7F:68
            inet addr:192.168.11.222  Bcast:192.168.11.255  Mask:255.255.255.192
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:14175087 errors:0 dropped:0 overruns:0 frame:0
            TX packets:13987613 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:2777494821 (2.5 GiB)  TX bytes:3926273862 (3.6 GiB)

       

      The IP address shown in BladeLogic is the one of eth1, when in fact BladeLogic is using the one of eth0 to connect, and eth0 is the primary interface on the server. The only thing I notice is that if you sort IPs by the MAC Address of the interfaces, the one of eth1 comes first. Is this the only reason that is the one showing up?

       

      Why is the IP returned not simply the one the agent answered on during the update properties process? This makes the IP_ADDRESS property quite frankly pretty much unreliable if not useless since we can't say with 100% certainty that the IP address listed there is the one BSA is using.

       

      Should I open an idea for this or is this something the agent simply cannot do properly?