Forum Discussion
parag_rathiwade
Nimbostratus
Mar 23, 2012POP UP massage window
Hello all, i want to configure F5.. like if any virtual IP configured on F5 goes down... then users accessing web site correspond to that VIP should receive a POP-UP massage with "unavailabilty error...
hoolio
Cirrostratus
Mar 23, 2012As Hamish said, for active connections, you can just use a fallback URL on a custom HTTP profile to redirect requests to a separate host when the virtual server's pool is down. Or you could use HTTP::respond when [active_members [LB::server pool]]==0:
when HTTP_REQUEST {
Check if the current pool has no active members
if {[active_members [LB::server pool]]==0}{
Send a 200 response with some HTML and caching headers set to prevent caching of the response
HTTP::respond 200 content {maintenance} pragma no-cache cache-control no-cache
}
}
Aaron
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