Specifications

load-balance set policy-for-group
440 SSR Command Line Interface Reference Manual
load-balance set policy-for-group
Purpose
Specifies the policy for distributing workload on load-balancing servers.
Format
load-balance set policy-for-group <group name> policy <policy>
Mode
Configure
Description
The load-balance set policy-for-group command allows you to specify how the SSR
selects the server that will service a new session. The default policy for distributing
workload among the load balancing servers is “round-robin,” where the SSR selects the
server on a rotating basis.
Parameters
<group name>
The name of this group of load balancing servers.
<policy>
One of the following keywords:
round-robin
The servers are selected sequentially (round-robin), without regard to the load on
individual servers. This is the default policy.
weighted-round-robin
This policy is a variation of the round-robin policy. The SSR still selects servers in
turn, but during its turn, each server takes on a number of session connections
according to its assigned weight. For example, if ‘server1’ is assigned a weight of
1000 and ‘server2’ is assigned a weight of 10, then server1 will be assigned 1000
sessions during its turn and server2 will be assigned 10 sessions during its turn. If
you specify this policy, then you should assign different weights to each server in
the group with the load-balance add host-to-group or the load-balance add host-
to-vip-range command.