DIGITAL GIGAswitch/Router User Reference Manual
213
Load Balancing
Specifying Load Balancing Policy (Optional)
The default policy for distributing workload among the load balancing servers is “round-
robin,” where the GSR 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:.
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 GSR 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.”
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>
]
Содержание GIGAswitch GSR-16
Страница 8: ......
Страница 82: ......
Страница 126: ......
Страница 200: ......
Страница 210: ......
Страница 224: ......
Страница 234: ......
Страница 248: ......
Страница 258: ......
Страница 286: ......
Страница 298: ......
Страница 302: ......
Страница 344: ......
Страница 345: ......
Страница 346: ...9032684 03 Printed in U S A...