
Modifying Optional Parameters
Configuring Server Load Balancing
page 23-16
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
Modifying the Ping Retries
You can modify the ping retry value with the
command by entering
ip slb
cluster
, the name of the SLB cluster,
ping retries
, and the user-specified number of ping retries. For
example:
-> ip slb cluster Web_Server ping retries 5
Modifying the Relative Weight of a Physical Server
To modify the relative weight of a server, use the
command by entering
ip slb
server
, the IP address of the physical server you want to modify,
cluster
, the name of the SLB cluster to
which this server belongs,
weight
, and the value for the relative weight, (the switch prevents the physical
server from being assigned any new connections), with 32 having the greatest relative weight.
For example, to set the relative weight of a server with an IP address of 10.105.16.121 that belongs to an
SLB cluster called “Web_Server” to 5 enter:
-> ip slb server ip 10.105.16.121 cluster Web_Server weight 5
Server weights are relative. For example, if Servers A and B have respective weights of 5 and 10 within a
cluster, Server A would get half the traffic of server B. Since weights are relative, assigning Servers A and
B respective weights of 1 and 2, or 5 and 10, etc., would produce identical results.
Note.
The
ip slb server ip cluster
command is also used to add or remove servers from an SLB cluster
“Assigning Servers to and Removing Servers from a Cluster” on page 23-14
administratively enabling and disabling a server in an SLB cluster (see
“Taking a Server On/Off Line” on
).
Configuring a Server in an SLB Cluster as a Backup Server
You can configure a server in a cluster as a backup server with the
weight
command by entering
ip slb server ip
, the IP address of the server,
cluster
, the name of the SLB cluster,
weight
and weight value as zero.
For example, to configure a server with an IP address of 10.105.16.118 in an SLB cluster called
“Web_Server” as a backup server, enter:
-> ip slb server ip 10.105.16.118 cluster Web_Server weight 0
Assigning a weight of 0 (zero) to a server prevents this server from being assigned any new
connections.This server becomes a backup server.
Содержание os6900
Страница 28: ...Contents xxviii OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 374: ...VRF Route Leak Configuring IP page 15 40 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 692: ...Policy Applications Configuring QoS page 25 84 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...