| addgslbservicegroup |
Use this method to creates a GSLB service group. You can group similar services into a GSLB service group and use them as a single entity. |
Syntax |
Parameters |
servicegroupname |
Name of the GSLB service group. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Can be changed after the name is created. This is mandatory parameter. |
servicetype |
Protocol used to exchange data with the GSLB service. This is mandatory parameter. |
maxclient |
Maximum number of simultaneous open connections for the GSLB service group. Maximum value = NS_MAX_MAXCLIENT. |
cip |
Insert the Client IP header in requests forwarded to the GSLB service. |
cipheader |
Name of the HTTP header whose value must be set to the IP address of the client. Used with the Client IP parameter. If client IP insertion is enabled, and the client IP header is not specified, the value of Client IP Header parameter or the value set by the set ns config method is used as client's IP header name. |
healthmonitor |
Monitor the health of this GSLB service.Available settings function are as follows:
YES - Send probes to check the health of the GSLB service.
NO - Do not send probes to check the health of the GSLB service. With the NO option, the appliance shows the service as UP at all times. Default value = YES. |
clttimeout |
Time, in seconds, after which to terminate an idle client connection. Maximum value = 31536000. |
svrtimeout |
Time, in seconds, after which to terminate an idle server connection. Maximum value = 31536000. |
maxbandwidth |
Maximum bandwidth, in Kbps, allocated for all the services in the GSLB service group. Maximum value = NS_MAX_BW. |
monthreshold |
Minimum sum of weights of the monitors that are bound to this GSLB service. Used to determine whether to mark a GSLB service as UP or DOWN. Maximum value = 65535. |
state |
Initial state of the GSLB service group. Default value = ENABLED. |
downstateflush |
Flush all active transactions associated with all the services in the GSLB service group whose state transitions from UP to DOWN. Do not enable this option for applications that must complete their transactions. Default value = ENABLED. |
comment |
Any information about the GSLB service group. |
appflowlog |
Enable logging of AppFlow information for the specified GSLB service group. Default value = ENABLED. |
autoscale |
Auto scale option for a GSLB servicegroup Default value = NSA_AS_DISABLED. |
autodelayedtrofs |
Indicates graceful movement of the service to TROFS. System will wait for monitor response time out before moving to TROFS Default value = NS_NO2. |
sitename |
Name of the GSLB site to which the service group belongs. This is mandatory parameter. |
sitepersistence |
Use cookie-based site persistence. Applicable only to HTTP and SSL non-autoscale enabled GSLB servicegroups. |
Return Value |
Returns simpleResult |
See Also |