Forum Discussion
Nick_Matthews
Cirrus
Oct 22, 2012iRule Persistence
Hi,
I am hoping someone can help? I am having trouble keeping persistence when redirecting to a new pool group.
The setup I have at the moment is:
VIP
Pool - 2 nodes
iRule ...
nitass
Employee
Oct 22, 2012if you want to persist to HTTPS-ThirdPartyApps pool only, why won't you enable persistence only when the pool is selected?
e.g.
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
persist none
switch -glob [string tolower [HTTP::uri]] {
"/folder*" -
"/folder2/*" -
"/folder3/*" {
persist cookie
pool HTTPS-ThirdPartyApps
}
}
}
}
have you seen this sol?
sol7964: Persistence may fail for subsequent requests on Keep-Alive connections
http://support.f5.com/kb/en-us/solutions/public/7000/900/sol7964.html
and in the real irule, F (folder) is in lower case, isn't it?
hope this helps.
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