Forum Discussion

smp_86112's avatar
smp_86112
Icon for Cirrostratus rankCirrostratus
May 17, 2013

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's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    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
  • *sigh*, thanks for the article reference. That's exactly what I was looking for. Thanks very much.