Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
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 
 for quick steps on configuring a QoS policy condition cluster.
Enable SLB globally with th
 command as shown below:
-> ip slb admin enable
Configure the SLB VIP cluster using the 
 command with the vip parameter. For example:
-> ip slb cluster WorldWideWeb vip 128.241.130.204
Assign physical servers to the SLB cluster and specify a relative weight for each server (default value 
for weight is 1) with th
 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
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 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