Forum Discussion

Rick_96919's avatar
Rick_96919
Icon for Nimbostratus rankNimbostratus
Feb 23, 2009

how to machine by iControl.LocalLB.NodeAddress.get_list()

I call iControl.LocalLB.NodeAddress.get_list() and get a list of BigIP node.

 

How can I know which nodes run on the same machine.(I want to group them by machine)?

 

 

another question: how to get LTM list from GTM?

 

 

Thank you.

3 Replies

  • That's a tricky question. As far as BIG-IP is concerned, each Node address is just that: an address. There really isn't a higher level concept of a "machine" where all the ip addresses come from. When you add a pool member for 10.10.10.10 and 20.20.20.20 in the LTM config, these could be on the same or different physical machines, there is really no way to know from the LTM.

     

     

    One option you can do in the GUI is to give a user friendly name to the node that is something prefixed with the physical machine identifier they are located at, but this would have to be a manual effort.

     

     

    -Joe
  • You can sort it based on mac address. As long as the ethernet port you are using on the machine is the same, you will have a unique value to compare with. You need to build a table with the mac -> ip relation and then compare this with that. If there is a match you can group the Ip's.

     

     

    Assuming you are running a linux env, you can say arp for example and it show show you the table. For getting the entire list, you can either use F5 or show arp in routers .

     

     

    The ideal way to go about is to prefix like Joe said.
  • You are right, I have resolve the problem by another way.

     

    Thank you for your help.