Forum Discussion
alternate pool selection
I'm running 10.2.4HF3. I've got a VIP with a default pool, and the VIP has an iRule which selects an alernate pool if the HTTP_REQUEST matches a URI string:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/testuri" } {
pool newpool
}
}
When the client makes a request to /, a member is selected from the default pool as I would expect. But if the client then makes a request to "/testuri" within the same TCP connection, the pool statement in the iRule appears to be ignored - the request is load-balanced to the member in the default pool. It seems like I need to "reset" the pool selection if the URI matches the iRule, but not sure how to do that. Anyone know how to solve this?
2 Replies
- nathe
Cirrocumulus
smp
Would enabling OneConnect help here? Else, amending the iRule to include a "catch all" pool.
See support.f5.com/kb/en-us/solutions/public/9000/800/sol9800
Hope this helps,
N - smp_86112
Cirrostratus
*sigh*, thanks for the article reference. That's exactly what I was looking for. Thanks very much.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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