Forum Discussion
Joe_Curl_105786
Nimbostratus
Feb 07, 2014HTTP Redirect When Pool is down
I would like to craft an iRule that detects the pool assigned to the VIP has all members down. When it is down then do an http redirect to our site down web server. I have rules in place where I ca...
Torti
Cirrus
Feb 07, 2014thats nice. Till today, I did it on the same way like Joe.
Additional question:
If I put this in a seperate irule and respond with a HTTP::respond instead of an HTTP::redirect, do I need to add a priority tag to the HTTP_request and and an event deisable behind?
i.e.:
-
one global irule for availability check
when HTTP_REQUEST priority 999 { if { [active_members [LB::server pool]] < 1 } { HTTP::respond 503 "Server is down" event disable all return } } -
custom irule for VS
when HTTP_REQUEST {do some stuff}
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