Forum Discussion

Rajesh_77797's avatar
Rajesh_77797
Icon for Nimbostratus rankNimbostratus
Nov 08, 2011

How do we get iQuery ip address?

Hi Everyone,

 

 

How can we get the iQuery IP address from GTM? Basically we want to figure out which LTM the GTM is calling from java iControl API. How can we find out the LTM which GTM calls through the Java wrapper?

 

 

Thanks

 

 

  • George_Watkins_'s avatar
    George_Watkins_
    Historic F5 Account
    Hi Rajesh,

     

     

    I think the method you'll want to use is located in the GlobalLB::Server interface and is called "get_ip" or "get_ip_v2" (if using v11). This method will give you a list of iQuery IPs for a particular server participating in a GTM mesh. Hope this helps,

     

     

    http://devcentral.f5.com/wiki/iControl.GlobalLB__Server__get_ip.ashx

     

    http://devcentral.f5.com/wiki/iControl.GlobalLB__Server__get_ip_v2.ashx

     

     

    -George