Forum Discussion
Snl
Cirrostratus
Oct 29, 2016url 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 runni...
Stanislas_Piro2
Cumulonimbus
Oct 29, 2016Hi,
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
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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