Forum Discussion
Amitabha_118500
Nimbostratus
Jun 17, 2014LTM Maintenance Page - HTTPS
Hi DevCentral Experts,
I have a performance layer 4 HTTPS Virtual server.
I would like to serve a custom page when all pool members are down. What are my options?
I see that we can use F5 L...
Cory_50405
Noctilucent
Jun 18, 2014If you aren't terminating the SSL on the LTM, then you aren't going to be able to provide a direct maintenance page response. You can however direct client traffic to another pool in the event the one assigned to your virtual server has no available members. Ideally this maintenance_pool would contain one or more members that would serve up your maintenance page. Something like this:
when CLIENT_ACCEPTED {
if { [active_members [LB::server pool]] < 1} {
pool maintenance_pool
}
}
Terminating SSL will give you a wealth of additional options, if that's a possibility for you.
Amitabha_118500
Nimbostratus
Jun 19, 2014when CLIENT_ACCEPTED {
if { [active_members [LB::server pool]] < 1} {
pool maintenance_pool
}
}
Hi Cory,
I have tried the iRule you provided and another similar iRule not working. I had the server admin shut down all the pool member. The Virtual server is showing "up" when I have the iRule attached to the VS. It's showing "down" when the iRule is disassociated. However when the iRule is associated, the load balance to maintenance page does not work.
Does the maintenance page has to be listening on the same port as the main server?
when CLIENT_ACCEPTED {
if { [active_members [LB::server pool]] == 0} {
pool maintenance_pool
}
}
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