Product Documentation

Configure a GSLB service

A GSLB service is a representation of a load balancing or content switching virtual server. A local GSLB service represents a local load balancing or content switching virtual server. A remote GSLB service represents a load balancing or content switching virtual server configured at one of the other sites in the GSLB setup. At each site in the GSLB setup, you can create one local GSLB service and any number of remote GSLB services.

Important

If the load balancing virtual server is either in a GSLB node itself or is in a child node (in parent-child deployment) and no monitors are bound to the GSLB service, then make sure the following:

The GLSB service IP address, port number, and protocol match the virtual server that the service is representing. Else, the service state is marked as DOWN.

To create a GSLB service by using the command line interface

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

add gslb service <serviceName> <serverName | IP> <serviceType> <port>-siteName <string>
show gslb service <serviceName>

Example:

add gslb service Service-GSLB-1 10.14.39.14 HTTP 80 –siteName Site-GSLB-East-Coast
show gslb service Service-GSLB-1

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

  • To modify a GSLB service, use the set gslb service <serviceName> command. For this command, specify the name of the GSLB service whose configuration you want to modify. You can change the existing values of the parameters either specified by you or set by default. You can change the value of more than one parameter in the same command. Refer to the add gslb service command for details about the parameters. Example

     > set gslb service SKP_GSLB_NOTCNAME_SVC2 -maxBandWidth 25 -maxClient 8
     Done
     > sh gslb service SKP_GSLB_NOTCNAME_SVC2
     SKP_GSLB_NOTCNAME_SVC2 (21.211.21.21: 80)- HTTP
     ...
     Max Conn: 8  Max Bandwidth: 25 kbits
    
  • To reset a parameter to its default value, you can use the unset gslb service <serviceName> command and the parameters to be unset. Example

     > unset gslb service SKP_GSLB_NOTCNAME_SVC2 maxBandWidth
     Done
     > sh gslb service SKP_GSLB_NOTCNAME_SVC2
     SKP_GSLB_NOTCNAME_SVC2 (21.211.21.21: 80)- HTTP
     ...
     Max Conn: 8  Max Bandwidth: 0 kbits
    
  • To remove a GSLB service, use the rm gslb service <serviceName> command.

To create a GSLB service by using the configuration utility

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

To view the statistics of a GSLB service by using the command line interface

At the command prompt, type:

stat gslb service <serviceName>

Example:

stat gslb service Service-GSLB-1

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

  1. Navigate to Traffic Management > GSLB > Services.
  2. Select the GSLB Service and click Statistics.

Configure a GSLB service