Forum Discussion

automus_134530's avatar
Icon for Nimbostratus rankNimbostratus
Apr 07, 2014


What would be a good general fail over Irule for a GTM WITH MULTIPE WIDE IP OR DATACENTER


3 Replies

  • Just wondering why you would need an iRule for this? Assuming you have multiple GTMs and you have them configured in a GTM sync group, that should provide the DNS redundancy needed.


    Can you elaborate more on your environment and what is driving your question?


    • automus_134530's avatar
      Icon for Nimbostratus rankNimbostratus
      Well this is a new standup one GTM configured with two datacenters. what I am being ask what can be done in the event that one server is not available when dns request is comming in. So mind concept is have a A and B side of both datacenters with an Irule that checks availbility of the requested resource if not availbile send to B side
    • Cory_50405's avatar
      Icon for Noctilucent rankNoctilucent
      Your GTM should be able to load balance across your two data centers without an iRule. Here's an example: You have an FQDN,, that you'd like to resolve to a server in data center A if it's available. If it's not available, you will instead resolve to a server at data center B. Your FQDN will be configured as a wide IP. To that wide IP, you'll assign a pool. Your pool should contain the two server IP addresses, one from data center A and one from data center B. The monitor you assign to the pool will need to be built to best reflect the availability of your two servers. The load balancing method that you setup on your pool should be type 'global availability'. Ensure your data center A server is first in your pool member order. This will ensure that it gets handed out as an answer for all queries if it's available. If it's unavailable, then the GTM will return the next available pool member, which will be data center server B. Hope I'm not rambling too much.