Forum Discussion
rodrigo_Benzaqu
Nimbostratus
May 23, 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
}
3 Replies
- Colin_Walker_12Historic F5 AccountIt sounds more like you're having troubles with the load balancing within the pool itself than a problem with the iRule.
- rodrigo_Benzaqu
Nimbostratus
Thanks for your reply. - Deb_Allen_18Historic F5 Accountcheck out this article for some helpful info on this topic:
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