Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
Configuring Server Load Balancing
Quick Steps for Configuring Server Load Balancing (SLB)
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 44-5
-> 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
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:
Create the QoS policy condition that will classify 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
Configure the SLB cluster using the 
 command with the condition parameter.
For example:
-> ip slb cluster Intranet condition c1
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 status disable weight 2
Note. As an option, you can configure an SLB server as a backup server. See 
 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
Condition                      : c1,
 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,
Weight = 4, Availability (%) =  99
Server 103.10.50.3
Admin status = Disabled, Operational status = Disabled,
Weight = 2, Availability (%) = 0