Forum Discussion
Sridhar_111831
Jul 21, 2011Nimbostratus
URI Function and LB_Failed
Hi All,
Need help on setting up a irule. Here is the requirement.
The web servers host mulitple application instance. We already have a test page being monitored. They added a new ...
iamczar_12961
Jul 22, 2011Cirrus
Hello there,
Can you give this rule a try?
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/app1" } {
pool original_pool
}
}
when LB_FAILED {
if { [active_members http_pool] == 0 } {
log local0. "Pool [LB::server pool] has an active mbrs = [active_members [LB::server pool]]"
pool fall_back_pool
log local0. "Page went to Fallback pool"
persist none
LB::reselect
}
}
hope that helps..
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