Home > Configuration > Load Balancing > bindlbvserver_service

bindlbvserver_service

Use this method to bind service to lb vserver.

Syntax



Parameters

name

Name for the virtual server. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. Can be changed after the virtual server is created. CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my vserver" or 'my vserver').
This is mandatory parameter.

servicename

Name of the service.

weight

Integer specifying the weight of the service. A larger number specifies a greater weight. Defines the capacity of the service relative to the other services in the load balancing configuration. Determines the priority given to the service in load balancing decisions.
Default value = 1.
Minimum value = 1.
Maximum value = 100.

Return Value

Returns simpleResult

See Also