Forum Discussion
BASLI_amine_788
Nimbostratus
Aug 29, 2006How to use several pools and persistence profils with cookie insert method in an iRule
Hi,
We upgrade our Bigip from 4.2 to 9.2.3. In 4.2 the persistence was set on pools.So to keep our persistence in v9 we modified our irules to insert the right cookie depending on the pool ...
dennypayne
Employee
Oct 25, 2006Resurrecting this thread....
I have now been able to test and see similar behavior to what abasli has reported...(did you get a response from support?)
when HTTP_REQUEST {
if { [HTTP::uri] contains "mema" } {
persist cookie insert "Mema_Cookie" "0d 00:20:00"
use pool GPC-test.p1
}
elseif { [HTTP::uri] contains "gs1canada" } {
persist cookie insert "GS1_Canada_Cookie" "0d 00:20:00"
use pool GPC-test.p2
}
else {
persist cookie insert "Fallthrough_cookie" "0d 00:20:00"
use pool GPC-test.p3
}
}I have been able to determine via HTTPWatch that the first cookie in this rule (Mema_Cookie) never gets set. The other 2 do get set correctly and persist correctly. But persistence breaks in the first pool on subsequent connections (whether I have OneConnect enabled or not).
I am going to try and reverse the order now and see if the behavior follows the first cookie in the list or not.
Any thoughts?
Denny
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