Forum Discussion
Scott_Delk_4899
Nimbostratus
Jul 06, 2006Get Pool Members
Currently I am using
Pool.CommonIPPortDefinition[][] members = Pool.get_member(pool_list);
to return a list of all pool members so I can duplicate the list that I see when logged into the F5 through putty. Well it appears that this array only returns the ip address and the port number. It does not contain information about its availability. Is it possible that im looking in the wrong place for this data?
- Scott_Delk_4899
Nimbostratus
Nevermind I found it in the LocalLBPoolMember namespace and used - Scott_Delk_4899
Nimbostratus
When logged into the Big-IP administration console, if you go to view pool members, it is going to show their domain (machinename.domain.com) in the address field however when usingusing PoolMember; private LocalLBPoolMember PoolMember = new LocalLBPoolMember(); PoolMember.LocalLBPoolMemberMemberObjectStatus[][] objStatus = PoolMember.get_object_status(pool_list);
- I believe that is an option in the GUI Preferences to display hostnames when possible. The GUI is doing a DNS lookup on the actual address and changing the presentation. iControl uses the same underlying framework as the GUI and CLI (bigpipe) but does not have the DNS lookup capabilities. Pool members are stored by address in the configuration and that is what iControl is pulling the data from. If you want the DNS names for your pool members, you'll have to do a DNS lookup in your calling app.
- Loc_Pham_101863Historic F5 AccountWe also have the following methods in the System.Inet interface that you can make use:
- David_Los_23059
Nimbostratus
- David_Los_23059
Nimbostratus
Nevermind! I figured it out i think - Glad to hear it! Keep us updated on how your project is going...
- karephul_49192
Nimbostratus
I have a similar question, so instead of creating a new thread I thought to continuing it. - Unfortunately, the BIG-IP stores PoolMember by it's address and port. You can configure user friendly names at the Node Address level but that is just a convenience feature in the GUI and is displayed in the Pool Member statistics/state pages. There currently is no way to configure a pool member other than by it's IP Address and port. This is true in the GUI as well as iControl.
- karephul_49192
Nimbostratus
[ BIG-IP stores its node with address and port ],
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects