Setting up GSLB in a cluster
-
If you have configured the static proximity GSLB method, make sure that the static proximity database is present on all the cluster nodes. It happens by default if the database file is available at the default location. However, if the database file is maintained in a directory other than /var/netscaler/locdb/, you must manually sync the file to all the cluster nodes.
-
The
show gslb domaincommand is not supported in a cluster setup.
-
Configure the different GSLB entities. For information, see GSLB Configuration Entities.NoteWhen creating the GSLB site, make sure that you specify the cluster IP address and public cluster IP address. The public cluster IP address is needed only when the cluster is deployed behind a NAT device. While configuring a GSLB site, you must use the cluster IP address of the same site. These parameters are required to ensure the availability of the GSLB auto-sync functionality.
add gslb site <siteName> <siteType> <siteIPAddress> -publicIP <ip_addr> -clip <ip_addr> <publicCLIP> -
Create a cluster node group.
add cluster nodegroup <name> <name>@ [-strict ( YES | NO )] [-sticky ( YES | NO )] [-state <state>] [-priority <positive_integer>]NoteEnable the sticky option if you want to set up GSLB based for VPN users. -
Bind a single cluster node to the node group.
bind cluster nodegroup <name> -node <nodeId> -
Bind the local GSLB site to the node group.
bind cluster nodegroup <name> -gslbSite <string>NoteMake sure that the IP address of the local GSLB site IP address is striped (available across all cluster nodes). -
Bind the ADNS (or ADNS-TCP) service or the DNS (or DNS-TCP) load balancing virtual server to the node group.To bind the ADNS service:
bind cluster nodegroup <name> -service <string>To bind the DNS load balancing virtual server:bind cluster nodegroup <name> -vServer <string> -
Bind the GSLB virtual server to the node group.
bind cluster nodegroup <name> -vServer <string> -
bind cluster nodegroup <name> -vServer <string> -
Verify the configurations.
show gslb runningConfig
-
Configure the GSLB entities.Navigate to Traffic Management > GSLB to perform the required configurations.
-
Create a node group and perform other node group related configurations.Navigate to System > Cluster > Node Groups to perform the required configurations.
Support for GSLB parent-child topology in a cluster
To set up GSLB parent-child topology in a cluster by using the CLI
Parent site
-
Create a cluster node group.
add cluster nodegroup <name>Example:add cluster nodegroup parentng -
Bind a single cluster node to the node group.
bind cluster nodegroup <name> -node <nodeId>Example:bind cluster nodegroup parentng -node n2 -
Bind the local GSLB site to the node group.
bind cluster nodegroup <name> -gslbSite <string>Example:bind cluster nodegroup parentng -gslbSite site1 -
Bind the ADNS (or ADNS-TCP) service or the DNS (or DNS-TCP) load balancing virtual server to the node group.
bind cluster nodegroup <name> -service <string>Example:bind cluster nodegroup parentng – service ADNS -
Bind the GSLB virtual server to the node group.
bind cluster nodegroup <name> -vServer <string>Example:bind cluster nodegroup parentng -vServce gslbvs1
Child site
-
Create a cluster node group.
add cluster nodegroup <name>Example:add cluster nodegroup childng -
Bind a single cluster node to the node group.
bind cluster nodegroup <name> -node <nodeId>Example:bind cluster nodegroup childng -node -n3 -
Bind the local GSLB site to the node group.
bind cluster nodegroup <name> -gslbSite <string>Example:bind cluster nodegroup childng -gslbSite site1
To set up GSLB parent-child topology in a cluster by using the GUI
-
Configure the GSLB entities.Navigate to Traffic Management > GSLB to perform the required configurations.
-
Create a node group.Navigate to System > Cluster > Node Groups to perform the required configurations.
-
In the Node Group page, select the node group to which you want to bind a node, click Edit, and perform the following tasks. You can also perform these tasks when adding a node group.
-
Bind a node to the node group.In Advance Settings, click Cluster Nodes and perform the following tasks:
-
In Cluster Nodes section, click No Cluster Node.
-
In Select Cluster Node, click > and select the node that you want to bind to the node group. You can also add a cluster node.
-
-
Bind the local GSLB site to the node group.In Advance Settings, click GSLB Sites and perform the following tasks:
-
In the GSLB Sites section, click No GSLB Site.
-
In the Select GSLB Site, click > and select the GSLB site that you want to bind to the node group. You can also add a GSLB site.
-
-
Bind the GSLB virtual server to the node group.In Advance Settings, click Virtual Servers and perform the following task:
-
In the Virtual Servers pane, click +.
-
In Choose Virtual Server, select the server that you want to bind to the node group.
-
-
Bind the ADNS (or ADNS-TCP) service or the DNS (or DNS-TCP) load balancing virtual server to the node group.In Advance Settings, click Services and perform the following tasks:
-
In Services section, click No Service.
-
In Select Service, select the service that you want to bind to the node group. You can also add a service.
-
-