Forum Discussion
toddcscar_12820
Nimbostratus
Aug 26, 2003Newbie: Determining BigIP pool id/name of http request
I am trying to find an api method that will tell me from an application server, which bigIP pool the current HTTP request came through on. Either the F5 has to persist something in the request (HTTP ...
AlSjogren_12704
Aug 29, 2003Historic F5 Account
Todd,
My assumption is that all you know about on you application server is the current connection IP addresses and services. If you know more this could be easier.
You can use ITCMLocalLB Connections get_active_connections() to find the Virtual Server address. You can then use ITCMLocalLB VirtualServer get_pool() to get the Pool name. You can then use ITCMLocalLB Pool get_member_list() to get all the servers in the Pool. Note that this assumes that your Virtual Server was created using a Pool. You could verify that the Virtual Server was defined using a Pool ( as opposed to a Rule) by using ITCMLocalLB VirtualServer get_resource_type().
Repost if I missed.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
