smp_86112
May 17, 2013Cirrostratus
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?