Forum Discussion
arokh_137577
Nov 21, 2013Nimbostratus
Problem with session persistence using CARP when load balancing a McAfee Web Gateway cluster using progress page for downloads
We have a cluster of 14 McAfee Web Gateways and about 15000 users connecting to them from a few dozen Citrix farms. Previously we have been using source address persistence, which works fine until on...
arokh_137577
Dec 03, 2013Nimbostratus
Yes, I am using the HTTP::host as hash. Here's my irule:
when HTTP_REQUEST {
set debug 0
set host [HTTP::host]
set client [IP::client_addr]
if { $host ne "" } {
if { $debug == 1 } { log local0. "Persisting on host $host" }
persist carp $host
} else {
if { $debug == 2 } { log local0. "Persisting on client $client, User-Agent is: [HTTP::header value User-Agent]" }
persist carp $client
}
}
As long as there's a host header it will hash that, otherwise it will hash the source ip. It works fine when I test it on a separate virtual server, but once I try it out in production it doesn't work reliably. The HTTP::host for the progress page is the same as for the download page.
CARP persistence should not keep any records, right? Could it be that it somehow remembers the previous persistence even after I switch to my CARP hash profile?
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