Forum Discussion
Disable VS if only one pool member remains
Hi all
Can someone point me in the right direction on this one. If we have a pool of say three servers and want to disable the associated VS should two servers fail, what would be the best way to go about this.
Thank you
5 Replies
- Brad_Parker
Cirrus
Why would you want to disable the VS? Are you wanting GTM to take it offline?
- Michael_Jenkins
Cirrostratus
Are you trying to do this for purposes of client connectivity (and disabling that) or to disable the VIP so it shows up down?
If just for connectivity, you could try an iRule and use the active_members command to check if there's more than 1 active member available. If not, you could just drop the request with the
ordrop
command.rejectYou can also check out this question. I think it's the same as what you're asking.
Hello chaps
Thanks for your swift replies.
Brad - we're just floating some ideas around. We don't want a situation where if only one pool member remains the VS is still up and traffic is directed to that lonely guy. And yes, we would want the upstream GTM to direct any subsequent users to the other data centres where (hopefully) the other servers are alive and kicking.
Michael J - that link looks like it could cut the mustard I'll take a look.
Thank you
- Brad_Parker
Cirrus
I don't think you really want to have users going to a VS that is disabled because they will get no response. This question was asked recently, https://devcentral.f5.com/questions/tear-down-vip-based-on-pool-selection-in-iruleanswer111456. Having the GTM monitor the pool and mark it offline is a much better solution that taking the VS offline at the LTM.
Brad - indeed mate. We're counting on iQuery to pass the info up to the GTM so the GTM would never send a user to the LTM that is disabled.
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