Modifying Optional Parameters
Modifying Optional Parameters
As shown in the table on
for the SLB cluster's "sticky" time, ping timeout, ping period, ping retries, and relative weight (prefer-
ence). The following subsections describe how to modify these parameters.
•
Modifying the Ping Period. You can modify the ping period with the
command, which is described in
•
Modifying the Ping Timeout. You can modify the ping timeout with the
command, which is described in
•
Modifying the Number of Ping Retries. You can modify the number of ping retries with the
cluster ping retries
•
Modifying the Relative Weight of an SLB Cluster Server. You can configure server preferences
within a cluster by modifying the relative weight of each server with the
command, which is described in
Modifying the Ping Period
The default ping period (i.e., the time interval at which the health of servers is checked) is 60 seconds. You
can modify this value from 0 (this will disable the ping) to 3600 seconds with the
period
command by entering ip slb cluster, the name of the SLB cluster, ping period, and the user-speci-
fied number of seconds.
For example, to set the ping period on an SLB cluster called "Web_Server" to 1200 seconds enter:
-> ip slb cluster Web_Server ping period 120
Note. If you set the ping period to any value other than 0, then the ping period must be greater than or
equal to the ping timeout value divided by 1000. For example, if the ping timeout is 5000 milliseconds, the
ping period must be at least 5 seconds. The ping timeout value can be modified with the
ping timeout
command, which is described in
Modifying the Ping Timeout
The default ping timeout is 3000 milliseconds. You can modify this value from 0 to 1000 times the value
of the ping period with the
the SLB cluster, ping timeout, and the user-specified number of milliseconds.
For example to set the ping timeout on an SLB cluster called "Web_Server" to 1000 milliseconds enter:
-> ip slb cluster Web_Server ping timeout 1000
Note. You can modify the ping period with the
"Modifying the Ping Period" on page
page 44-28
page
44-3, Alcatel-Lucent's SLB software is preconfigured with default values
"Modifying the Ping Period" on page
"Modifying the Ping Timeout" on page
command, which is described in
"Modifying the Relative Weight of a Physical Server" on page
"Modifying the Ping Timeout" on page
ip slb cluster ping timeout
ip slb cluster ping period
44-28.
OmniSwitch AOS Release 6 Network Configuration Guide
Configuring Server Load Balancing
ip slb cluster ping period
44-28.
ip slb cluster ping timeout
44-28.
"Modifying the Ping Retries" on page
ip slb server ip cluster
command by entering ip slb cluster, the name of
command, which is described in
ip slb
44-29.
44-29.
ip slb cluster ping
ip slb cluster
44-28.
September 2009