Protect the GSLB setup against failure
-
A backup GSLB virtual server
-
A NetScaler appliance to respond with multiple IP addresses
-
A backup IP address for a GSLB domain
Configure a backup GSLB virtual server
To configure a backup GSLB virtual server by using the command line interface
set gslb vserver <name> -backupVServer <name> [-disablePrimaryOnDown (ENABLED | DISABLED)]
show gslb vserver <name>
set gslb vserver vserver-GSLB-1 -backupVServer vserver-GSLB-2 -disablePrimaryOnDown ENABLED
show gslb vserver vserver-GSLB-1
To set GSLB virtual server as a backup virtual server by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers, and double-click the GSLB virtual server.
-
Select the Backup Virtual Server section and choose the backup virtual server.
Configure a GSLB setup to respond with multiple IP addresses
To configure a GSLB virtual server for multiple IP responses by using the command line interface
set gslb vserver<name> -MIR (ENABLED | DISABLED)
- show gslb vserver <name>
set gslb vserver vserver-GSLB-1 -MIR ENABLED
show gslb vserver <vserverName>
To set a GSLB virtual server for multiple IP responses by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the GSLB virtual server for which you want to configure a backup virtual server (for example, vserver-GSLB-1).
-
On the Advanced tab, under When this virtual server is “UP,” select the Send all "active" service IP in response (MIR) check box, and select OK.
Configuring a GSLB Virtual Server to Respond with an Empty Address Record When DOWN
To configure a GSLB virtual server for empty down responses by using the command line interface
set gslb vserver<name> -EDR (ENABLED | DISABLED)
> set gslb vserver vserver-GSLB-1 -EDR ENABLED
Done
To set a GSLB virtual server for empty down responses by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the GSLB virtual server for which you want to configure a backup virtual server (for example, vserver-GSLB-1).
-
On the Advanced tab, under When this virtual server is "Down," select the Do not send any service's IP address in response (EDR) check box.
-
Click OK.
Configure a backup IP address for a GSLB domain
To set a backup IP address for a domain by using the command line interface
set gslb vserver <name> -domainName <string> -backupIP <IPAddress>
show gslb vserver <name>
set gslb vserver vserver-GSLB-1 -domainName www.abc.com -backupIP 10.102.29.66
show gslb vserver vserver-GSLB-1
To set a backup IP address for a domain by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the GSLB virtual server to which you want to bind the backup domain (for example, vserver-GSLB-1).
-
Click the Domains section, configure the GSLB domain and specify the IP address of the backup domain in the Backup IP field.
Divert excess traffic to a backup virtual server
-
When source IP persistence is configured, the local DNS is directed to the previously selected site only if the primary virtual server on the selected site is UP and below threshold. Persistence can be ignored in the round robin mode.
-
If cookie-based persistence is configured, client requests are redirected only when the primary virtual server on the selected site is UP.
-
If the primary virtual server has reached its saturation and the backup VIPs is absent or down, the effective state is set to DOWN.
-
If external monitors are bound to an HTTP-HTTPS virtual server, the monitor decides the primary state.
-
If there is no backup virtual server to the primary virtual server and the primary virtual server has reached its threshold, the effective state is set to DOWN.
To configure backup GSLB virtual server by using the command line interface
set gslb vserver <name> -soMethod <method> -soThreshold <threshold> -soPersistence ( **ENABLED** | **DISABLED** ) -soPersistenceTimeout <timeout>
show gslb vserver <name>
set gslb vserver Vserver-GSLB-1 -soMethod CONNECTION -soThreshold 1000 -soPersistence ENABLED -soPersistenceTimeout 2
show gslb vserver Vserver-GSLB-1
To configure backup GSLB virtual server by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers and double-click the virtual server that you want to configure as backup (for example, Vserver-LB-1).
-
Click the SpillOver section and set the following parameters:
-
Method— soMethod
-
Threshold— soThreshold
-
Persistence Time-out (min) — soPersistenceTimeout
-
-
Select the Persistence option and click OK.