Complete the following steps to set up GSLB for primary and backup site on NetScaler:
This scenario assumes, Round Robin on both NetScaler ADNS.
Configure two GSLB virtual servers, one with the desired primary Service (usually Local Service) and a second GSLB virtual server with the backup Service (usually Remote Service).
NetScaler Site 1
Create a GSLB virtual server, bind the domain name, and the Local Service.
Create a GSLB virtual server, do not bind the domain name, however, bind the Remote Service.
Add the second GSLB virtual server on the Primary GSLB virtual server as a backup virtual server.
NetScaler Site 2
Create a GSLB virtual server, bind the domain name, and the Remote Service.
Create a GSLB virtual server, do not bind the domain name, however bind the Local Service.
Add the second GSLB virtual server on the Primary GSLB virtual server as a backup virtual server.
For more information refer to CTX128999 - How to Configure GSLB in Active Passive Mode on NetScaler Appliance
NetScaler Site 1
Configure a GSLB virtual server, bind the Local Service. Add the domain with a backup IP being the IP address of the Remote Service.
Backup virtual server is not necessary.
NetScaler Site 2
Configure a GSLB virtual server, bind the Remote Service. Add the domain with a backup IP being the IP address of the Local Service.
Backup virtual server is not necessary.
Note: The DNS will resolve to the backup IP (Site 2 Local Service), if both services are down.