Forum Discussion
Raghav_205317
Nimbostratus
Apr 24, 2016iRule to display site down irrespective of the state of pool members
Hi,
I want to create an iRule to display site down page irrespective of the state of the pool members i.e. if the pool members are active or down, it should redirect to site down page.
I have cr...
VernonWells
Employee
Apr 24, 2016If you are going to take this action unequivocally, then there is no need to associate a pool with the Virtual Server at all, unless, of course, you are going to "turn on" and "turn off" this feature. If that's the way you intend to approach it, however, you might consider leaving the rule as-is, and when you want to active the feature, simply disable all of the pool members.
In any case, if you wish to do this without condition, it is simply:
when HTTP_REQUEST {
HTTP::respond 503 content { ... }
}
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