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 cookie) as it is routed to a particular server in the pool or I need to call back to the server and supply it information like URL, IP address, HTTP port, etc. Would someone be kind enough to point me in the direction of the appropriate interfaces or suggest an alternate approach. The goal is that all servers in a pool need to know about each other so they can update data that is cached in the application server memory.
Thanks for any help.
Todd Carmichael
Concur Technologies
- AlSjogren_12704Historic F5 AccountTodd,
- Gary_Chen_31612Historic F5 AccountFrom an application server's perspective, you could also consider the method, ITCMLocalLB.Node.get_pool_membership. The method input asks for your server and port in the format of IPPortDefinition structure. The method outputs a list of pools that a server is associated on the BIG-IP. If there is only one single pool on the BIG-IP containing the server, it will retrun a single-element array of Pool names.
- AlSjogren_12704Historic F5 AccountUse Gary's technique. Much easier.
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