This section provides examples of properties that are configured using the sample GTM domain name
In this example, there are two data centers, one in New York and one in Los Angeles. The New York data center is the primary data center and it has one server with the IP address 192.0.2.0. The Los Angeles data center is the backup and it has one server with the IP address 192.0.2.1. The configured property name is
failover, so the fully qualified domain name is
GTM periodically tests both servers for liveness. As long as the liveness test for the primary data center is succeeding, DNS queries for
failover.customer.akadns.net returns an A record for 192.0.2.0. However, if the liveness test for the primary data center fails, GTM queries returns an A record for the backup server, 192.0.2.1.
In this example, using the same data centers and servers used in the failover example, you configure the property for weighted load balancing with a 50/50 traffic split.
As long as both servers are alive, for each GTM query, GTM randomly decides whether to return 192.0.2.0 or 192.0.2.1. If either server goes down, GTM issues the IP address of the remaining live server only.
Updated about 2 years ago