Forum Discussion
heskez_36146
Nimbostratus
Sep 30, 2015Show maintenance page when everything is down
Hi There,
I've got the following challenge. We've two web servers put in a pool and is reachable by a VIP.
When one of the two servers is down, it isn't a problem. When maintenance is needed w...
Thomas_McLean_1
Nimbostratus
Sep 30, 2015Hi Erik,
The VIP shouldn't go down at all. The VIP should stay up, so you would need an iRule to query the number of pool members that are up and if they are less than 1, carry out a HTTP::redirec to a specific webpage (i recommend an externally hosted page for obvious reasons).
if { [active_members poolname] < 1 } {
log local0. "No pool member a available in poolname"
HTTP::respond 302 noserver Location "http://www.somewebsite.com"
return
}
Hopefully this helps.
Cheers,
Thomas.
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