Forum Discussion
dmenardSABA_235
Aug 25, 2011Nimbostratus
Irule for redirect when all pool members down, need one for each pool? and what is the standard practice for sorry server?
This is what I have for an iRule to implement when all members of a pool are not available due to maintenance or unplanned outage
when HTTP_REQUEST { if { [active_members EXAMPLETEST_POOL] == 0 ...
Techgeeeg
Jan 26, 2013Nimbostratus
Hi Everyone,
I had a similar requirement of iRule as the one written here... Michael I need to know one thing from you... how can I merge the irule...
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://209.196.27.42/"
}
}
With this....
when HTTP_RESPONSE {
HTTP::respond 200 content "Site unavailable
System Maintenance NOTICE: This site is down for maintenance.
"}
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://209.196.27.42/"
}
}when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://209.196.27.42/"
}
}
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