Configuring Server Load Balancing Modifying Optional Parameters
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 24-14
Modifying Optional Parameters
As shown in the table on page 24-2, The OmniSwitch implementation of SLB software is preconfigured
with default values for the SLB cluster’s “sticky” time, ping timeout, ping period, ping retries, and relative
weight (preference). The following subsections describe how to modify these parameters.
• Modifying the Ping Period. You can modify the ping period with the ip slb cluster ping period
command, which is described in “Modifying the Ping Period” on page 24-14.
• Modifying the Ping Timeout. You can modify the ping timeout with the ip slb cluster ping timeout
command, which is described in “Modifying the Ping Timeout” on page 24-14.
• Modifying the Number of Ping Retries. You can modify the number of ping retries with the ip slb
cluster ping retries command, which is described in “Modifying the Ping Retries” on page 24-15.
• 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 ip slb server ip cluster
command, which is described in “Modifying the Relative Weight of a Physical Server” on page 24-15.
Modifying the Ping Period
You can modify this value with the ip slb cluster ping period command by entering ip slb cluster, the
name of the SLB cluster, ping period, and the user-specified number of seconds. For default and range of
values for the parameters, check the “Server Load Balancing Default Values” on page 24-2 and the
“Server Load Balancing Commands” chapter in the OmniSwitch AOS Release 8 CLI Reference Guide.
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
Modifying the Ping Timeout
You can modify the value of the ping period with the ip slb cluster ping timeout command by entering ip
slb cluster, the name of 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. 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 ip slb cluster ping
timeout command, which is described in “Modifying the Ping Timeout” on page 24-14.
Note. You can modify the ping period with the ip slb cluster ping period command, which is described in
“Modifying the Ping Period” on page 24-14.