Forum Discussion
RSpangler_17032
Nimbostratus
Sep 16, 2014Adding a maintenance page to the pool
Good day SME's,
Please forgive me as I am new to all of this. Management wants me to come up to speed on the F5's as our person who handled it is no longer with the company.
I am looking to add ...
Arie
Altostratus
Sep 19, 2014This should work:
when HTTP_REQUEST {
if { [active_members [LB::server pool] ] < 1 } {
HTTP::respond 503 content "down"
}
}By the way, I noticed that in your code you're returning a 200 when the pool is down. However, you'll want to return a 503, not a 200.
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