Forum Discussion
5 Replies
- Brad_ParkerCirrus
Why would you want to disable the VS? Are you wanting GTM to take it offline?
- Michael_JenkinsCirrostratus
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.reject
You 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_ParkerCirrus
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.