Forum Discussion
Joe_Erchul_4263
Nimbostratus
May 11, 2011LTM hosted maintenance page
I've researched the myriad of solutions for hosting a maintenance page on the LTM. For some reason, I'm not able to get my iRule to work. Here's the iRule: when HTTP_REQUEST { if...
Michael_Yates
Nimbostratus
May 11, 2011If you are trying to get the LTM to generate the page, try this:
when HTTP_REQUEST {
Check and verify that there are Pool Members Available to server the request
if { [active_members [LB::server pool]] < 1 } {
If there are no members available, generate HTML Maintenance Page
HTTP::respond 200 content "Site unavailable
System Maintenance
NOTICE: This site is under maintenance.
"
}
}
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
