For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Snl's avatar
Snl
Icon for Cirrostratus rankCirrostratus
Oct 29, 2016

url redirect to wrong pool intermediately

Hi Folks

 

I am having issue with url being redirect to wrong pool intermediately and not all the time,TAC is told me that this is because of oneconnect profile not enabled in the VS ltm is running 11.5.4 hf1 does anyone faced similar kind of issue.

 

2 Replies

  • Hi,

    you may have an irule assigning pool based on URI...

    the default behavior of pool assignment is per TCP connection except if you enable one connect profile.

    if you define a VS default pool and irule change that default pool for some URI, there are 2 solutions:

    • using oneconnect profile to make pool assignment per HTTP request
    • define the default pool in irule like :

    .

    when CLIENT_ACCEPTED { 
        set default_pool [LB::server pool]
    }
    
    when HTTP_REQUEST {
        if {[HTTP::uri] starts_with /path1/} {
            pool pool1
        } else {
             change to default pool if previous request changed it
            pool $default_pool
        }
    }