Forum Discussion

Sergi0's avatar
Sergi0
Icon for Nimbostratus rankNimbostratus
Jan 31, 2018

GTM group wip failover

We have two DC and we have group WIPs between two data centers. One DC is active and second hot standby. I would like to configure failover to second DC if one of group WIP servers in first DC is down. We have application group 7 WIPs in DC1 if one of WIPs switched to DC2 other 6 WIPs have to switch to DC2 too.

 

4 Replies

  • Surgeon's avatar
    Surgeon
    Ret. Employee

    GTM as every DNS servers do not have such terminology as active and standby. It can be primary and secondary. Every GTM is active all the time.

     

    If you want to failover traffic from primary GTM to the secondary you need configure your DNS network to send requests to the secondary GTM server.

     

    Depend on your configuration, if VIPs in primary DC goes down, GTMs can resolve names with IP from the secondary DC.

     

  • Jonathan_DeHaa1's avatar
    Jonathan_DeHaa1
    Historic F5 Account

    I believe that what you are looking for is a Distributed Application. Add all seven WIPs to a new Distributed Application, and then set the Dependency Level to Datacenter. Use Global Availability as the load balancing method for each pool, so that when your primary datacenter is available, it will be chosen first. If any pool referenced by a WIP in the Distributed Application in the primary datacenter goes down, all the pools in that datacenter will go down.

     

    This allows you to potentially have multiple, unrelated Distributed Applications, since only the resources associated with a particular Distributed Application will be affected, and other resources in the primary datacenter can remain available.

     

    • Sergi0's avatar
      Sergi0
      Icon for Nimbostratus rankNimbostratus

      We use topology as load balancing method. I created distributed application group with dependency level server. Group works well if I disable one vip, but it my broking topology LB. I have one client and would like to use DC1 permanent for that client. Is it possible use distributed application group with topology LB?

       

    • Jonathan_DeHaa1's avatar
      Jonathan_DeHaa1
      Historic F5 Account

      Topology and Distributed Applications can be used together... but the Distributed Application will have precedence. If it marks the entire server down, you can't use Topology to override that. You situation sounds more complex than Distributed Applications allows for, so you may need to look at writing an iRule to encode your business needs.