ADC

Configure a basic GSLB site

A GSLB site is a representation of a data center in your network and is a logical grouping of GSLB virtual servers, services, and other network entities. Typically, in a GSLB setup, there are many GSLB sites that are equipped to serve the same content to a client. These are usually geographically separated to ensure that the domain is active even if one site goes down completely. All of the sites in the GSLB configuration must be configured on every NetScaler appliance hosting a GSLB site. In other words, at each site, you configure the local GSLB site and each remote GSLB site.

Once GSLB sites are created for a domain, the NetScaler sends client requests to the appropriate GSLB site as determined by the GSLB algorithms configured.

Starting from NetScaler release 14.1 build 21.x, site password parameter is added that replaces the RPC node password. If GSLB synchronization is enabled, this password is updated on all the GSLB sites.

Create a GSLB site using the CLI

At the command prompt, type the following commands to create a GSLB site and verify the configuration:

add gslb site <siteName> <siteIPAddress>
show gslb site <siteName>
<!--NeedCopy-->

Example:

add gslb site Site-GSLB-East-Coast 10.14.39.21
show glsb site Site-GSLB-East-Coast
<!--NeedCopy-->

Modify or remove a GSLB Site using the CLI

  • To modify a GSLB site, use the set gslb site command, which is just like using the add gslb site command, except that you enter the name of an existing GSLB Site.
  • To unset a site parameter, use the unset gslb site command, followed by the siteName value and the name of the parameter to be reset to its default value.
  • To remove a GSLB site, use the rm gslb site command, which accepts only the <name> argument.

Configure a basic GSLB site using the GUI

  1. Navigate to Traffic Management > GSLB > Sites.
  2. Add a new GSLB site, or select an existing GSLB site and edit its settings.

Change the site IP address using the CLI

At the command prompt, type:

set gslb site <sitename> -siteIPAddress  <ip_addr|ipv6_addr|*>

<!--NeedCopy-->

Example:

set gslb site Site-GSLB-East-Coast -siteIPAddress 10.14.39.45

<!--NeedCopy-->

Change the site IP address using the GUI

  1. Navigate to Traffic Management > GSLB > Sites.
  2. Select an existing GSLB site and edit its settings.

View the statistics of a GSLB site using the CLI

At the command prompt, type:

stat gslb site <siteName>
<!--NeedCopy-->

Example:

stat gslb site Site-GSLB-East-Coast
<!--NeedCopy-->

View the statistics of a GSLB site using the GUI

  1. Navigate to Traffic Management > GSLB > Sites.
  2. Select the GSLB site and click Statistics.

Rename a GSLB site

Instead of deleting the sites and creating a one, you can rename the existing GSLB site and retain all the GSLB configuration entities related to the sites. Changing the name in the primary GSLB site automatically changes the GSLB name in the secondary site if the automaticConfigSync parameter is enabled.

Note: Performing multiple renaming operations for a single site leads to synchronization inconsistencies.

Rename a GSLB site using the CLI

At the command prompt, type:

rename gslb site <oldName> <newName>

Example:

rename gslb site Site-GSLB-East-Coast Site-GSLB-West-Coast

Rename a GSLB site using the GUI

  1. Navigate to Traffic Management > GSLB > Sites.
  2. Select the GSLB site and click Rename.