Cisco Systems 6000 manual Configuring Server Farms

Page 24

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

Image 24
Contents Contents Overview Features Describes the features of the CSMThese sections describe the CSM CSM front panel features are shown in Figure Front Panel DescriptionStatus LED Operation Mode RJ-45 ConnectorOff Red Orange Green Green to Orange Content Switching Module and Servers Client-to-Content Switching Module-to-Server Traffic Flow Client-to-CSM-to-Server Traffic FlowSafety Overview CSM memory is not configurable System RequirementsMemory Requirements Power Requirements Hardware SupportedEnvironmental Requirements 72-876-01 Console Cable Not applicableInstalling the Content Switching Module Preparing to Install the CSMRequired Tools Software RequirementsInstalling the CSM Power supply Installing Modules in the Catalyst 6000 Family Switch Verifying the Installation Verifying the InstallationUsing the Command-Line Interface Accessing Online HelpUpgrading to a New Software Release Upgrading from the Supervisor Engine Bootflash Set up a session between the supervisor engine and the CSMCSM upgrade 127.0.0.zz c6slb-apc.revision-num.bin Routerconfig# power cycle module slot-numberRouterconfig# tftp-server slotxc6slb-apc.revision-num.bin CSM upgrade slot0 c6slb-apc.revision-num.binRouter config# power cycle module slot-number Upgrading from a Pcmcia CardConfiguring the Content Switching Module SwitchportSwitchport access vlan Router# vlan databaseConfiguration Overview Configuring VLANs Configure the required parameters in the following sectionsConfiguring VLANs See for the following notesConfiguring Client-Side VLANs Configuring Server-Side VLANsConfiguring Server Farms Configuring Real Servers Configuring Policies Configuring Maps Configure multiple cookies into a cookie map Configure multiple cookiesConfiguring Sticky Groups Configuring Virtual Servers Configuring TCP Parameters Configuring Dynamic Feedback ProtocolConfiguring Redirect Virtual Servers Configuring Client NAT Pools Writing and Restoring Configurations Configuring Server NATConfiguration Examples Single Subnet Bridge Mode ConfigurationEnter the Vlan mode Configure a client-side VlanConfigure a server-side Vlan Exit to have the configuration take effectSecure Router Mode Configuration Vlan modeCreate the client-side Vlan 2 and enter the SLB Fault-Tolerant Configuration Routerconfig# ip slb vlan 3 serverCreate the server-side Vlan 3 and enter the SLB Exit the submodeRouter# configure terminal Routerconfig# mac access-list extended VenusRouterconfig# int GigabitEthernet 2/1 Routerconfig-if#service-policy input VenusFault-tolerant configuration, the following rules apply Configuration Parameter On Both Content Switching ModulesCreate the client-side Vlan 2 and enter the SLB Vlan mode Assign the Content Switching IP address onRouter B Hsrp address 192.158.38.10Assign the default route for Vlan Define Vlan 9 as a fault-tolerant VlanCreate the Content Switching primary Configure a client-side VLAN2Configuring Hsrp Hsrp Configuration OverviewConfigure Switch 2-FT2 Hsrp secondary as follows CSG VlanConfiguring CSM VLANs Configure VLANs on Hsrp FT2 as followsConfiguring Probes for Health Monitoring Configure EtherChannel on both switches as followsAdd ports to the EtherChannel as follows Probe-name is the name of the probe being configured it has Http creates an Http probe with a default configurationIcmp creates an Icmp probe with a default configuration Telnet creates a Telnet probe with a default configurationCommands Available to all Probe Configurations Http ProbeIcmp Probe TCP Probe FTP, SMTP, and Telnet ProbeDNS Probe Submode Configuring Route Health Injection Understanding RHIRHI Overview Routing to VIP Addresses Without RHI Routing to VIP Addresses With RHIConfiguring RHI for Virtual Servers Routerconfig# ip slb vserver vserver1Understanding How the CSM Determines VIP Availability Understanding Propagation of VIP Availability InformationTranslated Safety Warnings Safety Information Referral WarningRegulatory Standards Compliance Wrist Strap Warning Blank Faceplate Installation Requirement Warning Translated Safety Warnings Related Documentation Qualified Personnel WarningRelease Notes for Catalyst 6000 Family IOS Software Obtaining Documentation World Wide WebDocumentation CD-ROM Ordering DocumentationContacting TAC by Using the Cisco TAC Website To access Cisco.com, go to the following websiteObtaining Technical Assistance Cisco.comContacting TAC by Telephone Obtaining Technical Assistance