Forum Discussion
fuatd_30923
May 13, 2011Nimbostratus
Persistency between specific members of a pool
Hi,
I have a cookie and session id persistence iRule. What i want to additionally do is persistency with spesific members in pool. Let me explain,
I have one pool including 4 members (...
fuatd_30923
May 20, 2011Nimbostratus
Hi,
Below is the iRule Aaron.
In fact group priority is not a solution to my problem, because if i use group priority, 4 servers will not be active at the same time.
when HTTP_REQUEST {
if { [HTTP::cookie "BSESSIONID"] ne ""} {
persist uie [string tolower [HTTP::cookie "BSESSIONID"]]
}
else {
set bsess [findstr [string tolower [HTTP::path]] "bsessionid=" 11 ""]
if { $bsess != ""} {
persist uie $bsess
}
}
}
when HTTP_RESPONSE {
if {[HTTP::cookie "BSESSIONID"] ne ""} {
persist add uie [string tolower [HTTP::cookie "BSESSIONID"]]
}
}
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