Configuring the Content Switching Module

This example shows how to configure the CSM for server-side VLANs:

Router(config)# ip slb vlan 150 server

Router(config-slb-vlan-server)#ip addr 123.46.50.6 255.255.255.0

Router(config-slb-vlan-server)#route 123.50.0.0 255.255.0.0 gateway 123.44.50.1

Router(config-slb-vlan-server)# alias 123.60.7.6 255.255.255.0

Router(config-slb-vlan-server)# exit

Configuring Server Farms

A server farm or server pool is a collection of servers that contain the same content. You specify the server farm name when you configure the server farm and add servers to it, and when you bind the server farm to a virtual server. Configuring server farms requires naming the server farm, configuring a load-balancing algorithm (predictor) and other attributes of the farm, setting or specifying a set of real servers (see the “Configuring Real Servers” section on page 25), and setting or specifying the attributes of the real servers.

When you configure server farms, you must perform the following:

Create the server farm

Configure the server farm

Create real servers

Configure the real servers

To configure server farms, perform this task:

 

Command

Purpose

Step 1

 

 

Router(config)# ip slb serverfarm

Create and name a server farm and enter the

 

serverfarm-name

server farm configuration mode1 2.

Step 2

 

 

Router(config-slb-sfarm)# predictor

Configure the load-balancing prediction

 

[roundrobin leastconns ip-hash netmask]

algorithm2. If not specified, the default is

 

 

roundrobin.

 

 

 

Step 3

Router(config-slb-sfarm)# nat client

Enable the NAT mode, client2. Refer to the

 

client-pool-name

“Configuring Client NAT Pools” section on

 

 

page 333.

Step 4

 

 

Router(config-slb-sfarm)# probe probe-name

Associate the server farm to a probe that can be

 

 

defined by the probe command2, 3.

Step 5

 

 

Router(config-slb-sfarm)# bindid bind-id

Bind a single physical server to multiple server

 

 

farms and report a different weight for each

 

 

one2. The bindid is used by DFP3.

Step 6

 

 

Router# show ip slb serverfarm

Display information about one or all server

 

serverfarm-name [detail]

farms.

 

 

 

1.Enter the exit command to leave a mode or submode. Enter the end command to return to the menu’s top level.

2.The no form of this command restores the defaults.

3.This step is optional.

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

24

78-11631-02 Rev. A0

Page 24
Image 24
Cisco Systems 6000 manual Configuring Server Farms