Cabletron Systems SmartSwitch Setting Server Status, Adding Servers to the Load Balancing Group

Models: SmartSwitch

1 338
Download 338 pages 45.77 Kb
Page 235
Image 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:.

Specify load balancing policy.

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

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:.

Add load balancing servers to a

load-balance add host-to-group

specific server group.

<ipaddr/range> group-name<group name>

 

port <port number> [weight <weight>]

 

 

Add range of load balancing

load-balance add host-to-vip-range <range>

servers to a range of server

vip-range-name <range name> port <port

groups.

number> [weight <weight>]

 

 

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.

Set status of load balancing server.

load-balance set server-status server-ip <ipaddr/range> server-port <port number> group-name <group name> status updown

SmartSwitch Router User Reference Manual

235

Page 235
Image 235
Cabletron Systems SmartSwitch manual Setting Server Status, Adding Servers to the Load Balancing Group