Forum Discussion
Mark a VS down when 2 pool members are down
As an alternative, you could set up an iRule to redirect requests to a "Sorry page" if the number of active members in the pool fall below a set number. The one below is similar to what we use when performing maintenance on a pool's servers.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "http://www.mycompany.com/sorrypage.htm"
}
}
If not, you may still find a use for it...
Good luck!
- Tommy_PhelanSep 27, 2019
Nimbostratus
Thanks ... the iRule doesnt fit what i need to do just now but thanks anyways for the iRule as it will come in handy .
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
