Forum Discussion
vvskaladhar_488
Nimbostratus
Aug 27, 2013Question : Page redirection to Maintenance page when pool members are down
Can some one pelase help me with model Irule for page redirection to Maintenance page ( HTML ) when all the pool members are down during the Maintenance window ? What all the requirements from ser...
nitass
Employee
Aug 27, 2013there are a couple of options such as what bigip version are you running (9.x/10.x or 11.x)?, where is maintenance page (server or bigip)?, would you like to change url shown on a browser?
if maintenance page is on server and you just want http redirection, Vitaliy's irule or something like below may be usable.
e.g.
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm rule myrule
ltm rule myrule {
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1 } {
HTTP::redirect "http://www.google.com"
}
}
}
hope this helps.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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