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 appliance sends client requests to the appropriate GSLB site as determined by the GSLB algorithms configured.

To create a GSLB site by using the command line interface

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

To modify or remove a GSLB Site by using the command line interface

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

To configure a basic GSLB site by using the configuration utility

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

To view the statistics of a GSLB site by using the CLI

At the command prompt, type:

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

Example:

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

To view the statistics of a GSLB site by using the configuration utility

  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.

You can rename the existing GSLB site instead of deleting the sites and creating a one. This allows you to 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 by using 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 by using GUI

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