Home > Configuration > Global Server Load Balancing > setgslbservicegroup_server

setgslbservicegroup_server

Use this method to set name of the server to which to bind the service group.

Syntax



Parameters

servicegroupname

Name of the GSLB service group.
This is mandatory parameter.

servername

Name of the server to which to bind the service group.

port

Server port number.
Range 1 - 65535.

weight

Weight to assign to the servers in the service group. Specifies the capacity of the servers relative to the other servers in the load balancing configuration. The higher the weight, the higher the percentage of requests sent to the service.
Minimum value = 1.
Maximum value = 100.

hashid

The hash identifier for the service. This must be unique for each service. This parameter is used by hash based load balancing methods.
Minimum value = 1.

publicip

The public IP address that a NAT device translates to the GSLB service's private IP address. Optional.

publicport

The public port associated with the GSLB service's public IP address. The port is mapped to the service's private port number. Applicable to the local GSLB service. Optional.

siteprefix

The site's prefix string. When the GSLB service group is bound to a GSLB virtual server, a GSLB site domain is generated internally for each bound serviceitem-domain pair by concatenating the site prefix of the service item and the name of the domain. If the special string NONE is specified, the site-prefix string is unset. When implementing HTTP redirect site persistence, the Citrix ADC redirects GSLB requests to GSLB services by using their site domains.

order

Order number to be assigned to the gslb servicegroup member
Minimum value = 1.
Maximum value = 8192.

Return Value

Returns simpleResult

See Also