Quick Steps for Configuring Server Load Balancing (SLB) Configuring Server Load Balancing
page 34-4 OmniSwitch 6800/6850/9000 Network Configuration Guide March 2008
Quick Steps for Configuring Server
Load Balancing (SLB)
Follow the steps below for a quick tutorial on configuring parameters for SLB. Additional information on
how to configure each command is given in the subsections that follow. Note that this example configures
a VIP cluster. See the tutorial on page 34-5 for quick steps on configuring a QoS policy condition cluster.
1 Enable SLB globally with the ip slb admin command as shown below:
-> ip slb admin enable
2 Configure the SLB VIP cluster using the ip slb cluster command with the vip parameter. For example:
-> ip slb cluster WorldWideWeb vip 128.241.130.204
3 Assign physical servers to the SLB cluster with the ip slb server ip cluster command. For example:
-> ip slb server ip 128.241.130.127 cluster WorldWideWeb
-> ip slb server ip 128.241.130.109 cluster WorldWideWeb
-> ip slb server ip 128.241.130.115 cluster WorldWideWeb
-> ip slb server ip 128.241.130.135 cluster WorldWideWeb admin status disable
As an option, you can verify your SLB settings by entering show ip slb cluster followed by the name of
the SLB cluster. For example:
-> show ip slb cluster WorldWideWeb
Cluster WorldWideWeb
VIP : 128.241.130.204,
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 = 3800,
Number of servers = 4
Server 128.241.130.109
Admin status = Enabled, Operational Status = In Service,
Availability (%) = 100
Server 128.241.130.115
Admin status = Enabled, Operational Status = In Service,
Availability (%) = 98
Server 128.241.130.127
Admin status = Enabled, Operational Status = Discovery,
Availability (%) = 0
Server 128.241.130.135
Admin status = Disabled, Operational Status = Disabled,
Availability (%) = 0
An example of what these configuration commands look like entered sequentially on the command line:
-> ip slb admin 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
-> ip slb server ip 128.241.130.115 cluster WorldWideWeb
-> ip slb server ip 128.241.130.135 cluster WorldWideWeb admin status disable