Chapter 17: Web Hosting Configuration Guide

Optional Group or Server Operating Parameters

There are several commands you can specify that affect the operating parameters of individual servers or the entire group of load balancing servers. In many cases, there are default parameter values and you only need to specify a command if you wish to change the default operation. For example, you can specify the policy to be used for distributing the workload for a group of load balancing servers. By default, the SSR assigns sessions to servers in a round-robin (sequential) manner.

Specifying Load Balancing Policy

The default policy for distributing workload among the load balancing servers is “round- robin,” where the SSR selects the server on a rotating basis without regard to the load on individual servers. Other policies can be chosen for the group, including least loaded, where the server with the fewest number of sessions bound to it is selected to service a new session. The weighted round robin policy is a variation of the round-robin policy, where each server takes on new sessions according to its assigned weight. If you choose the weighted round robin policy, you must assign a weight to each server that you add to the load balancing group.

To specify the load balancing policy, enter the following command in Configure mode:

Specify load balancing policy.

load-balance set policy-for-group <group name> policy <policy>

Note: These policies only affect groups created with the parameter protocol tcp; groups created with the parameter protocol udp are load-balanced using a fixed IP-hash policy.

Specifying a Connection Threshold

By default, there is no limit on the number of sessions that a load balancing server can service. You can configure a maximum number of connections that each server in a group can service.

To specify the connection threshold for servers in the group, enter the following command in Configure mode:

Specify maximum number of connections for all servers in the group.

load-balance set group-conn-threshold

<group name> limit <maximum connections>

Note: This limits the number of connections for each server in the group, not the total number of connections for the group.

SmartSwitch Router User Reference Manual

235

Page 261
Image 261
Cabletron Systems 9032578-05 manual Optional Group or Server Operating Parameters, Specifying Load Balancing Policy