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.
Cory_50405
Noctilucent
Jun 19, 2014The pool members you define in the maintenance_pool will determine which port the communications will be sent to. As long as your maintenance_pool members are listening on that port, then a page should be served. You may need to change the virtual server type to standard in order to make this work though.
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