Forum Discussion
dmenardSABA_235
Aug 25, 2011Nimbostratus
Irule for redirect when all pool members down, need one for each pool? and what is the standard practice for sorry server?
This is what I have for an iRule to implement when all members of a pool are not available due to maintenance or unplanned outage
when HTTP_REQUEST { if { [active_members EXAMPLETEST_POOL] == 0 ...
Michael_Yates
Aug 25, 2011Nimbostratus
Hi dmenardSABA,
I think that what Hoolio is saying is that you don't have to hard code the pool name in the iRule. If you use [LB::server pool] that it will use the default pool assigned to the Virtual Server.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://209.196.27.42/"
}
}
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