Forum Discussion

Devlin_T_149357's avatar
Jan 14, 2015

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

  • Why would you want to disable the VS? Are you wanting GTM to take it offline?

     

  • 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

    drop
    or
    reject
    command.

    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 - 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.