
Configuring Server Load Balancing
Quick Steps for Configuring Server Load Balancing
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 23-5
An example of what these configuration commands look like entered sequentially on the command line:
-> ip slb admin-state enable
-> ip slb cluster WorldWideWeb vip 128.241.130.204
-> ip slb server ip 128.241.130.127 cluster WorldWideWeb
-> ip slb server ip 128.241.130.109 cluster WorldWideWeb weight 4
-> ip slb server ip 128.241.130.115 cluster WorldWideWeb weight 6
-> ip slb server ip 128.241.130.135 cluster WorldWideWeb admin-state disable
weight 8
Quick Steps for Configuring a QoS Policy Condition Cluster
Follow the steps below for a quick tutorial on how to configure a QoS policy condition cluster:
1
Create the QoS policy condition that classifies traffic for the SLB cluster. For example:
-> policy network group SOURCE 100.0.0.1 100.0.0.2 100.0.0.3 100.0.0.4
-> policy condition c1 source network group SOURCE destination tcp-port 80
-> qos apply
2
Configure the SLB cluster using the
condition
parameter.
For example:
-> ip slb cluster Intranet condition c1
3
Assign physical servers to the SLB condition cluster and specify a relative weight for each server
(default value for weight is 1) with the
command. For example:
-> ip slb server ip 103.10.50.1 cluster Intranet
-> ip slb server ip 103.10.50.2 cluster Intranet weight 4
-> ip slb server ip 103.10.50.3 cluster Intranet admin-state disable weight 2
Note
. As an option, you can configure an SLB server as a backup server. See
SLB Cluster as a Backup Server” on page 23-16
for more information.
As an option, you can verify your SLB settings by entering
followed by the name of
the SLB cluster. For example:
-> show ip slb cluster Intranet
Cluster Intranet
VIP : 123.12.1.2,
Type : L3
Admin status : Enabled,
Operational status : In Service,
Ping period (seconds) = 60,
Ping timeout (milliseconds) = 3000,
Ping retries = 3,
Probe = None,
Number of packets = 10000,
Number of servers = 2
Server 103.10.50.1
Admin status = Enabled, Operational status = In Service,
Weight = 1, Availability (%) = 100
Server 103.10.50.2
Admin status = Enabled, Operational status = In Service,