Configure GSLB for disaster recovery
Configure GSLB for disaster recovery in an active-standby data center setup
-
Create the active data center.
-
Add a local GSLB site.
-
Add a GSLB vserver, which represents the active data center.
-
Bind the domain to the GSLB virtual server.
-
Add gslb services and bind the services to active GSLB virtual server.
-
-
Create the standby data center.
-
Add a remote gslb site.
-
Add a gslb vserver, which represents standby data center.
-
Add gslb services which represents standby data center and bind the services to the standby gslb vserver.
-
Designate the standby data center by configuring the standby GSLB virtual server as the backup virtual server for the active GSLB virtual server.
-
To designate the standby GSLB site by using the command line interface
set gslb vserver <name> -backupVserver <string>
set gslb vserver vserver-GSLB-1 -backupVServer vserver-GSLB-2
To configure the standby site by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the GSLB virtual server for the primary site.
-
Click the Backup Virtual Server section and select a backup virtual server.
Configure for disaster recovery in an active-active data center setup
Configuring for Disaster Recovery with Weighted Round Robin
To configure a virtual server to assign weights to services by using the command line interface
add lb vserver <name>@ -weight <WeightValue> <ServiceName>
set lb vserver <name>@ -weight <WeightValue> <ServiceName>
add lb vserver Vserver-LB-1 -weight 4 Service-HTTP-1
set lb vserver Vserver-LB-1 -weight 4 Service-HTTP-1
To set dynamic weight by using the command line interface
set gslb vserver <name> -dynamicWeight DynamicWeightType
set gslb vserver Vserver-GSLB-1 -dynamicWeight ServiceWeight
To add weights to the GSLB services by using the command line interface
set gslb vserver <name> -serviceName GSLBServiceName -weight WeightValue
set gslb vserver Vserver-GSLB-1 -serviceName Service-GSLB-1 -weight 1
To configure a virtual server to assign weights to services by using the configuration utility
-
Navigate to Traffic Management > Load Balancing > Virtual Servers and double-click the virtual server (for example, Vserver-LB-1).
-
Click the Services section and set the weight of a service.
To add weights to the GSLB services by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the virtual server (for example, vserver-GSLB-1)
-
Click the Services section and set the weight of the service in the Weight field.
To set dynamic weight by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the virtual server (for example, vserver-GSLB-1).
-
Click the Method section and, from the Dynamic Weight drop-down list select SERVICEWEIGHT.
Configuring for Disaster Recovery with Data Center Persistence
To configure HTTP redirect by using the command line interface
set gslb service <serviceName> -sitePersistence <sitePersistence> -sitePrefix <string>
show gslb service <serviceName>
set gslb service Service-GSLB-1 -sitePersistence HTTPRedirect -sitePrefix vserver-GSLB-1
show gslb service Service-GSLB-1
To configure HTTP redirect by using the configuration utility
-
Navigate to Traffic Management > GSLB > Services and double-click the GSLB service to be configured.
-
Click the Site Persistence section, select the HTTPRedirect option, and in the Site Prefix text box, enter the site prefix (for example, vserver-GSLB-1).