Home > Configuration > Global Server Load Balancing > setgslbvserver_lbmethod

setgslbvserver_lbmethod

Use this method to set load balancing method for the GSLB virtual server.

Syntax



Parameters

name

Name of the GSLB virtual server.
This is mandatory parameter.

lbmethod

Load balancing method for the GSLB virtual server.
Default value = PEMGMT_LB_LEASTCONNS.
Possible Values : ROUNDROBIN, LEASTCONNECTION, LEASTRESPONSETIME, SOURCEIPHASH, LEASTBANDWIDTH, LEASTPACKETS, STATICPROXIMITY, RTT, CUSTOMLOAD, API.

backuplbmethod

Backup load balancing method. Becomes operational if the primary load balancing method fails or cannot be used. Valid only if the primary method is based on either round-trip time (RTT) or static proximity.
Possible Values : ROUNDROBIN, LEASTCONNECTION, LEASTRESPONSETIME, SOURCEIPHASH, LEASTBANDWIDTH, LEASTPACKETS, STATICPROXIMITY, RTT, CUSTOMLOAD, API.

Return Value

Returns simpleResult

See Also