Cabletron Systems SmartSwitch Network Router User Manual


 
SmartSwitch Router User Reference Manual 235
Chapter 15: Web Hosting Configuration Guide
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:.
Adding Servers to the Load Balancing Group
Once a logical server group is created, you specify the servers that can handle client
requests. When the SSR receives a client request directed to the virtual server address, it
redirects the request to the actual server address and port. Server selection is done
according to the specified policy.
To add servers to the server group, enter the following command in Configure mode:.
Setting Server Status
It may become necessary at times to prevent new sessions from being directed to one or
more load balancing servers. For example, if you need to perform maintenance tasks on a
server system, you might want new sessions to temporarily not be directed to that server.
Setting the status of a server to “down” prevents new sessions from being directed to that
server. The “down” status does not affect any current sessions on the server. When the
server is again ready to accept new sessions, you can set the server status to “up.”
To set the status of a load balancing server, enter the following command in Enable mode.
Specify load balancing policy.
load-balance set policy-for-group <group
name>
policy <policy>
Add load balancing servers to a
specific server group.
load-balance add host-to-group
<ipaddr/range> group-name <group name>
port <port number>
[
weight <weight>]
Add range of load balancing
servers to a range of server
groups.
load-balance add host-to-vip-range <range>
vip-range-name <range name> port <port
number>
[
weight <weight>]
Set status of load balancing
server.
load-balance set server-status server-ip
<ipaddr/range> server-port <port number>
group-name <group name> status up|down