Configuring Server Load Balancing on a Switch Configuring Server Load Balancing
page 44-24 OmniSwitch AOS Release 6 Network Configuration Guide September 2009
Configuring Server Load Balancing on a Switch
This section describes how to use Alcatel-Lucent’s Command Line Interface (CLI) commands to config-
ure Server Load Balancing (SLB) on a switch.
Note. See “Quick Steps for Configuring Server Load Balancing (SLB)” on page 44-4 for a brief tutorial on
configuring these mandatory parameters.
When configuring SLB parameters for an SLB cluster, you must perform the following steps:
1 Enable Server Load Balancing on Your Switch. To enable Server Load Balancing (SLB) on a
switch, use the ip slb admin command, which is described in “Enabling and Disabling Server Load
Balancing” on page 44-24.
2 Configure the Logical Server Load Balancing Cluster. To configure a logical SLB cluster, use the
ip slb cluster command, which is described in “Configuring and Deleting SLB Clusters” on page 44-25.
3 Assign Physical Servers to the Logical Server Load Balancing Cluster. To add physical servers to a
logical SLB cluster, use the ip slb server ip cluster command, which is described in “Assigning Servers
to and Removing Servers from a Cluster” on page 44-27.
Note. Routing (which is enabled by default) must be enabled on a switch or Server Load Balancing will
not operate.
Alcatel-Lucent’s SLB software is preconfigured with the default values shown in the table in “Server Load
Balancing Default Values” on page 44-3. Depending on the requirements of your network and server farm,
you may need to configure more parameters than the mandatory ones described in this section. See “Modi-
fying Optional Parameters” on page 44-28 for information on configuring additional
SLB parameters.
Enabling and Disabling Server Load Balancing
By default, Server Load Balancing (SLB) is disabled on a switch. The following subsections describe how
to enable and disable SLB on a switch with the ip slb admin command.
Note. You must enable or disable Server Load Balancing on an entire switch. You cannot enable SLB on a
per port or per slot basis.
Enabling SLB
To enable SLB switch wide, use the ip slb admin command by entering:
-> ip slb admin enable
Disabling SLB
To disable SLB switch wide, use the ip slb admin command by entering:
-> ip slb admin disable