Alcatel-Lucent 6850-48 Network Guide
Configuring Server Load Balancing
Configuring Server Load Balancing on a Switch
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 44-25
Configuring and Deleting SLB Clusters
The following subsections describe how to configure and delete SLB clusters with the
command.
Note. You can configure up to 16 SLB clusters on a switch.
Configuring an SLB Cluster with a VIP Address
To configure an SLB cluster that uses VIP classification to bridge or route client requests to the cluster
servers, use the
servers, use the
command with the vip parameter. For example, to configure an SLB cluster
called “Web_Server” with a VIP address of 10.123.11.14, you would enter:
-> ip slb cluster Web_Server vip 10.123.11.14
Note the following when configuring a VIP cluster:
• Specify a cluster name that is at least 1 character and less than or equal to 23 characters long.
• To use spaces in an SLB cluster name, enclose the entire name within quotation marks
(e.g., “web server”).
• The VIP address of the SLB cluster must be an address in the same subnet as the servers.
• VIP only supports the Layer-3 SLB mode, which is enabled by default.
Configuring an SLB Cluster with a QoS Policy Condition
To configure an SLB cluster that uses a QoS policy condition to qualify client requests for bridging or
routing to the cluster servers, use the
routing to the cluster servers, use the
command with the condition parameter and either the
l2 or l3 parameter. For example, to configure an SLB cluster called “Web_Server2” with the “cond1”
policy condition and using the L2 mode, you would enter:
policy condition and using the L2 mode, you would enter:
-> ip slb cluster Web_Server2 condition cond1 l2
Note the following when configuring a QoS policy condition cluster:
• Specify a cluster name that is at least 1 character and less than or equal to 23 characters long.
• To use spaces in an SLB cluster name, enclose the entire name within quotation marks
(e.g., “web server2”).
• The QoS policy condition name specified must already exist in the switch configuration.
How to Create a QoS Policy Condition
Use the
command to create a QoS policy condition. For example, the following
command creates a source port condition named “cond1”:
-> policy condition cond1 source port 1/24
The condition created in the above example, “cond1”, uses the source port value to classify traffic. When
this same condition is associated with an SLB cluster, client requests received on the specified source port
are then sent to a server that is a member of the associated cluster.
this same condition is associated with an SLB cluster, client requests received on the specified source port
are then sent to a server that is a member of the associated cluster.