Forum Discussion
Ant_4079
Nimbostratus
Dec 11, 2015Cookie Insert Persistence for 1 VS with 2 Pools
Hi,
As this is my very first question, I thought it best to introduce myself prior to requesting help. 8)
I am a network engineer tasked with administration of our F5 load balancers. This primarily...
Stanislas_Piro2
Cumulonimbus
Dec 11, 2015Hi,
You tried to do too much validation...
if the cookie was inserted, for the current request, you specified to not use it for persistence but to use the default one.
there was no issue for the current TCP connection because the default behavior is that profiles are assigned for the entire connection. But if the browser open a new connection, the persistence profile was not set with the expected one.
try this irule:
when HTTP_REQUEST {
if {[HTTP::path] starts_with "/uri1*"} {
pool POOL_URI1
persist cookie insert URI1
} else {
pool POOL_URI2
persist cookie insert URI2
}
}
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
