Forum Discussion
Rikardo_77456
Nimbostratus
May 07, 2011Priority Group not working correctly
Hi, I've only been using the F5 BIG-IP for a few weeks and am trying to get priority groups working for one of our pools. I'm sure i've set it up correctly but connections still keep appearing on the ...
Rikardo_77456
Nimbostratus
May 11, 2011I hope this is what you are after:
virtual Web_VS {
snat automap
pool Web_Pool1
fallback persist source_addr
destination 192.168.1.25:http
ip protocol tcp
rules {
Force_HTTPS
InsertXForwardedFor
Cache_Selective
ServerSpecificForwarding
URI_Forwarding
RSS_Forwarding
}
persist cookie
profiles {
ABC_HTTP_Compression_Caching {}
oneconnect {}
tcp-lan-optimized {
serverside
}
tcp-wan-optimized {
clientside
}
}
}
pool Web_Pool1 {
lb method member ratio
monitor all ABC_Web_Monitor
members {
192.168.1.20:http {}
192.168.1.23:http {
ratio 3
}
}
}
pool Web_Pool2 {
min active members 1
monitor all ABC_Web_Monitor
members {
192.168.1.20:http {
priority 1
}
192.168.1.23:http {
priority 2
}
}
}
profile oneconnect oneconnect {
source mask 0.0.0.0
max size 10000
max age 86400
max reuse 1000
idle timeout override disable
}
monitor ABC_Web_Monitor {
defaults from http
send "GET / HTTP/1.1\r\nHost:www.abc.com\r\nConnection: Close\r\n"
}
rule URI_Forwarding {
when HTTP_REQUEST {
if { [HTTP::host] equals "www.abc.com" && [HTTP::uri] starts_with "/abc/" } {
pool Web_Pool2
}
}
}
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