Forum Discussion

Prakash_Krishna's avatar
Prakash_Krishna
Icon for Nimbostratus rankNimbostratus
Mar 20, 2014

Is there any way to get the poolMemberName/nodeName from the m_interfaces.getLocalLBPool() or m_interfaces.getLocalLBPoolMember() object

Hi All,

 

I wanted to get the pool member name(eventually a node name) from the m_interfaces.getLocalLBPool() or m_interfaces.getLocalLBPoolMember() objects. As i could able to get the other details () of the pool member using m_interfaces.getLocalLBPool(Address, ratio, port, priority and connection limit) object. But i couldn't able to get the nodename/poolmemberName. Is there any option to get the pool member name?

 

Note: I am using Java iControl APIs

 

You help is really appreciated.

 

Thanks in Advance.

 

Regards, Prakash.K

 

1 Reply

  • I believe the display name is an attribute of the NodeAddress (IP) and not the pool member (IP:Port). You can use the LocalLB.NodeAddress.get_screen_name() method to return the display name for a given node IP. You would then use the Pool APIs to query the members of a pool, and then use those member IPs to query the screen names. In v11.2, we did introduce meta-data in the pool member object so there could be some data in there you could look at as well. I've been away from the GUI for a while so I'm not exactly sure if that will get you what you want though...