Customize your GSLB configuration
Modify maximum connections or maximum bandwidth for a GSLB service
To modify the maximum clients or bandwidth of a GSLB service by using the command line interface
set gslb service <serviceName> [-maxClients <positive_integer>] [-maxBandwidth <positive_integer>]
show gslb service <serviceName>
set glsb service Service-GSLB-1 –maxBandwidth 100 –maxClients 100
show gslb service Service-GSLB-1
To modify the maximum clients or bandwidth of a GSLB service by using the configuration utility
-
Navigate to Traffic Management > GSLB > Services, and double-click a service.
-
Click in the Other Settings section and set the following parameters:
-
Max Clients—maxClients
-
Max Bandwidth—maxBandwidth
-
Create CNAME-based GSLB services
-
GSLB-policy based site affinity is supported, with the CNAME as the preferred location.
-
Source IP persistence is supported. The persistency entry contains the CNAME information instead of the IP address and port of the selected service.
-
Site persistence is not supported, because the service referenced by a CNAME can be present at any third-party location.
-
Multiple-IP-address response is not supported because one domain cannot have multiple CNAME entries.
-
Source IP Hash and Round Robin are the only load balancing methods supported. The Static Proximity method is not supported because a CNAME is not associated with an IP address and static proximity can be maintained only according to the IP addresses.
To create a CNAME-based GSLB service by using the command line interface
add gslb service <serviceName> -cnameEntry <string> -siteName <string>
add gslb service Service-GSLB-1 -cnameEntry transport.mycompany.com -siteName Site-GSLB-East-Coast
add gslb service Service-GSLB-2 -cnameEntry finance.mycompany.com -siteName Site-GSLB-West-Coast
To create a CNAME-based GSLB service by using the configuration utility
-
Navigate to Traffic Management > GSLB > Services.
-
Create a service, and set the Type to Canonical Name Based.
Configure transition Out-Of-Service State (TROFS) in GSLB
Configure dynamic weights for services
-
Disabled:The cumulative weight of the GSLB virtual server is the product of the dynamic weight (disabled = 1) and the weight of the GSLB service (3), so the cumulative weight is 3.
-
SERVICECOUNT: The count is the sum of the number of services bound to the load balancing virtual servers corresponding to the GSLB service (2), and the cumulative weight is the product of the dynamic weight (2) and the weight of the GSLB service (3), which is 6.
-
SERVICEWEIGHT: The dynamic weight is the sum of the weights of services bound to the load balancing virtual servers corresponding to the GSLB service (3), and the cumulative weight is the product of the dynamic weight (3) and the weight of the GSLB service (3), which is 9.
To configure a GSLB virtual server to use dynamic weights by using the command line interface
set gslb vserver <name> -dynamicWeight SERVICECOUNT | SERVICEWEIGHT
set gslb vserver vserver-GSLB-1 -dynamicWeight SERVICECOUNT
To set GSLB virtual server to use dynamic weights by using the configuration utility
-
Navigate to Traffic Management > GSLB > Virtual Servers, double-click the GSLB virtual server whose method you want to change (for example, vserver-GSLB-1).
-
Click the Method section and, from the Dynamic Weight drop-down list, select SERVICECOUNT or SERVICEWEIGHT.