Forum Discussion
William_Them_99
Nimbostratus
Mar 01, 2006Changing pool from the default
We have a virtual server with a default pool. For certain URIs on this virtual server, however, we need it to use a pool other than the default.
We have used the "pool" command after some IF logic to handle this, but we are seeing strange behavior and trying to debug from all angles. It seems that sometimes after the specific URI is sent to the non-default pool, subsequent requests still go to that non-default pool when they should go to the default, but the weird thing is that this does not happen every time.
Is it possible that the BIGIP sometimes caches the pool reassignment? Is there an iRule command to reset the virtual server back to the default pool?
Thanks.
-Bill
- Deb_Allen_18Historic F5 AccountI've had several instances where the default pool definition was not consistently honored after traversing a conditional rule.
- William_Them_99
Nimbostratus
Thanks for your response.if {[HTTP::uri] starts_with "/logins"} { log local0. "within logins check" switch [HTTP::host] { "" { log local0. "redirecting login to logins-pool" pool logins-pool } default { log local0. "in switch default"} } }
- William_Them_99
Nimbostratus
There is also unRuleY's response here (Click here): - unRuleY_95363Historic F5 AccountSince this is a confusing topic, I thought I would try to give some more explanation. At one point, we actually had numerous discussions about how/when the selection might get reset back to the default pool. However, the conclusion of those discussions were that it was pretty much impossible to determine all the cases when the user would want this behavior and when they wouldn't.
when CLIENT_ACCEPTED priority 900 { set default_pool [LB::server pool] } when HTTP_REQUEST priority 100 { pool $default_pool }
- William_Them_99
Nimbostratus
Thanks - this is very helpful.
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