Forum Discussion
Jeff_McConnell_
Nimbostratus
May 24, 2006jessionid uie persistence
I am testing the following iRule to persist on jsession for three clustered apps, which so far is working. While testing, I see that when I disable a node, the sessions continue to persist to the disabled node. It is only when I take down the app servers and the health check fails that persistence drops and persists to another node. Is this normal behavior? Any ideas on how to drop/move sessions when a node with persistent connections is disabled? Thanks
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] and [HTTP::uri] contains "/app1/" or [HTTP::uri] contains "/app2/" or [HTTP::uri] contains "/app3/" } {
persist uie [HTTP::cookie "JSESSIONID"]
} else {
set jsess [findstr [HTTP::uri] "jsessionid" 11 ";"]
if { $jsess != "" and [HTTP::uri] contains "/app1/" or [HTTP::uri] contains "/app2/" or [HTTP::uri] contains "/app3/"} {
persist uie $jsess
}
}
}
- JRahm
Admin
That is a pool member (or node) setting in the configuration. You can set for: - Jeff_McConnell_
Nimbostratus
So "Only active connections allowed" is "Forced down" under 4.x. I was wondering where that option went. Thanks for the info.
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