Setting up GSLB in a cluster

Note

Supported from NetScaler 10.5 Build 52.11 onwards.

To set up GSLB in a cluster you must bind the different GSLB entities to a node group. The node group must have a single member node.

Note

  • The parent-child topology of GSLB is not supported 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. This 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 synch the file to all the cluster nodes.

To set up GSLB in a cluster by using the command line interface:

Log on to the cluster IP address and perform the following operations at the command prompt:

  1. Configure the different GSLB entities. For information, see GSLB Configuration Entities.

    Note

    When creating the GSLB site, make sure that you specify the cluster IP address and public cluster IP address (needed only when the cluster is deployed behind a NAT device). 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>

  2. Create a cluster node group.

    add cluster nodegroup <name> [-sticky ( YES | NO )]

    Note

    Enable the sticky option if you want to set up GSLB based on VPN users.

  3. Bind a single cluster node to the node group.

    bind cluster nodegroup <name> -node <nodeId>

  4. Bind the local GSLB site to the nodegroup.

    bind cluster nodegroup <name> -gslbSite <string>

    Note

    Make sure that the IP address of the local GSLB site IP address is striped (available across all cluster nodes).

  5. 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>

  6. Bind the GSLB virtual server to the node group.

    bind cluster nodegroup <name> -vServer <string>

  7. [Optional] To setup GSLB based on VPN users, bind the VPN virtual server to the GSLB node group.

    bind cluster nodegroup <name> -vServer <string>

  8. Verify the configurations.

    show gslb runningConfig

To set up GSLB in a cluster by using the graphical user interface:

Log on to the cluster IP address and perform the following operations in the Configuration tab:

  1. Configure the GSLB entities.

    Navigate to Traffic Management > GSLB to perform the required configurations.

  2. Create a node group and perform other node group related configurations.

    Navigate to System > Cluster > Node Groups to perform the required configurations.

For the detailed configurations to be performed, see the description provided in the CLI procedure mentioned above.

Setting up GSLB in a cluster

In this article