Alcatel-Lucent 6850-48 网络指南
Quick Steps for Configuring Server Load Balancing (SLB)
Configuring Server Load Balancing
page 44-4
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
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
how to configure each command is given in the subsections that follow. Note that this example configures
a VIP cluster. See the tutorial on
for quick steps on configuring a QoS policy condition cluster.
1 Enable SLB globally with the
-> ip slb admin enable
2 Configure the SLB VIP cluster using the
command with the vip parameter. For example:
-> ip slb cluster WorldWideWeb vip 128.241.130.204
3 Assign physical servers to the SLB cluster and specify a relative weight for each server (default value
for weight is 1) with the
for weight is 1) with the
command. For example:
-> 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 status disable
weight 8
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,
Weight = 4, Availability (%) = 100
Server 128.241.130.115
Admin status = Enabled, Operational Status = In Service,
Weight = 6, Availability (%) = 98
Server 128.241.130.127
Admin status = Enabled, Operational Status = Discovery,
Weight = 1, Availability (%) = 0
Server 128.241.130.135
Admin status = Disabled, Operational Status = Disabled,
Weight = 8, 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 weight 4