Forum Discussion
benoit_9199
Nimbostratus
Aug 03, 2009Last hope page
Hi,
I have a working F5 system (v10) - bug excepted - but i'm missing a simple fonctionnality i had using haproxy on a "standard" server:
I had set-up a local webserver who was serving one page only, using 307 redirect, informing users that the
system was totally down and inviting them to try again latter.
Now with the bigip, if all nodes are down i don't have any answer, nor even a connection to port 80.
Is there a way to have a static page/text been delivered in this case ?
thanks
3 Replies
- benoit_9199
Nimbostratus
Hum, would something like this work ?when LB_FAILED { HTTP::respond 50x content { Apology Page ... } } - hoolio
Cirrostratus
LB_FAILED is triggered on every request failure, so that would work to handle any single request. You get similar functionality using the Fallback Host on the HTTP profile. LTM can send a 302 redirect to the client without an iRule.
You could also use an iRule to send a response if all pool members are down. There are a few examples in the Codeshare for "maintenance" iRules (Click here). Though these would need to be updated to use the class command (Click here)instead of lindex.
Or you could use priority groups to send the request to a second set of servers if the first set is down.
Aaron - KenJ_50171
Nimbostratus
We use "Fallback Host" in the HTTP profile for this.
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
