Forum Discussion
rodrigo_Benzaqu
Nimbostratus
May 22, 2006HASH PERSISTENCE
Hi guys, I´m trying to use HASH PERSISTENCE.
In my POOL_IMG I have 2 WEBCACHEs.
For some reason 172.16.0.188 is receiving all the traffic, and no traffic to 172.16.0.189.
What is wrong ? Is possible to obteing the HASH value for each URL ?
Thanks
Rodrigo.
virtual VS_IMG {
destination 172.16.0.12:http
ip protocol tcp
profile http oneconnect tcp
persist hash
pool POOL_IMG
rule cache_rule
}
rule cache_rule {
when HTTP_REQUEST {
if { [HTTP::uri] != "xxxx" } {
pool POOL_IMG
set key [crc32 [domain [HTTP::host] 2]]
Make sure persistence record is added for this domain
persist hash $key
} else {
pool POOL_IMG
}
if { [string toupper [HTTP::method]] eq "CONNECT" } {
Proxy connect method should continue as a passthru
HTTP::disable
}
}
}
pool POOL_IMG {
lb method predictive
min active members 1
monitor all http
member 172.16.0.188:http priority 2
member 172.16.0.189:http priority 2
member 172.16.0.234:http
}
- iControl is our remote management API. Try posting this over on the iRules forum and we'll see if we can give you some help.
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