Cisco Systems 6000 manual Configuring TCP Parameters, Configuring Dynamic Feedback Protocol

Page 31

Configuring the Content Switching Module

This example shows how to configure a virtual server named barnett, associate it with the server farm named bosco, and configure a sticky connection with a duration of 50 seconds to sticky group 12:

Router(config)# ip slb vserver barnett

Router(config-slb-vserver)# virtual 12.3.23.4 tcp 34

Router(config-slb-vserver)# serverfarm bosco

Router(config-slb-vserver)# sticky 50 group 12

Router(config-slb-vserver)# end

Router# show ip slb vservers

Configuring TCP Parameters

Transmission Control Protocol (TCP) is a connection-oriented protocol that uses known protocol messages for activating and deactivating TCP sessions. In server load balancing, when adding or removing a connection from the connection database, the Finite State Machine correlates TCP signals such as SYN, SYN/ACK, FIN, and RST. When adding connections, these signals are used for detecting server failure and recovery and for determining the number of connections per server.

Note

 

The CSM also supports User Datagram Protocol (UDP). Because UDP is not connection-oriented,

 

 

protocol messages cannot be generically sniffed (without knowing details of the upper-layer

 

 

protocol) to detect the beginning or end of a UDP message exchange. Detection of UDP connection

 

 

termination is based on a configurable idle timer. Protocols requiring multiple simultaneous

 

 

connections to the same real server (such as FTP) are supported. Internet Control Management

 

 

Protocol (ICMP) messages (such as ping) destined for the virtual IP address are also handled.

 

 

 

 

 

 

 

To configure TCP parameters, perform this task:

 

 

 

 

 

 

Command

Purpose

Step 1

 

 

Router(config)# ip slb vserver

Identify the virtual server and enter the virtual server

 

virtserver-name

configuration mode1,2.

Step 2

Router(config-slb-vserver)# idle duration

Configure the amount of time (in seconds)

 

 

 

connection information is maintained in the absence

 

 

 

of packet activity for a connection2.

1.Enter the exit command to leave a mode or submode. To return to the Router (config)> top level of the menu, enter the end command.

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

This example shows how to configure TCP parameters for virtual servers:

Router(config)# ip slb vserver barnett

Router(config-slb-vserver)# idle 10

Configuring Dynamic Feedback Protocol

Configuring the Dynamic Feedback Protocol (DFP) allows servers to provide feedback to the CSM to enhance load balancing. The DFP mechanism in server load balancing allows host agents (residing on the physical server) to dynamically report the change in status of the host systems providing a virtual service.

 

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

 

 

 

 

 

 

 

78-11631-02 Rev. A0

 

 

31

 

 

 

 

 

Image 31
Contents Contents Overview Describes the features of the CSM FeaturesThese sections describe the CSM Front Panel Description CSM front panel features are shown in FigureStatus LED RJ-45 Connector Operation ModeOff Red Orange Green Green to Orange Content Switching Module and Servers Client-to-CSM-to-Server Traffic Flow Client-to-Content Switching Module-to-Server Traffic FlowSafety Overview System Requirements CSM memory is not configurableMemory Requirements 72-876-01 Console Cable Not applicable Power RequirementsHardware Supported Environmental RequirementsSoftware Requirements Installing the Content Switching ModulePreparing to Install the CSM Required ToolsInstalling the CSM Power supply Installing Modules in the Catalyst 6000 Family Switch Verifying the Installation Verifying the InstallationAccessing Online Help Using the Command-Line InterfaceUpgrading to a New Software Release Routerconfig# power cycle module slot-number Upgrading from the Supervisor Engine BootflashSet up a session between the supervisor engine and the CSM CSM upgrade 127.0.0.zz c6slb-apc.revision-num.binUpgrading from a Pcmcia Card Routerconfig# tftp-server slotxc6slb-apc.revision-num.binCSM upgrade slot0 c6slb-apc.revision-num.bin Router config# power cycle module slot-numberRouter# vlan database Configuring the Content Switching ModuleSwitchport Switchport access vlanConfiguration Overview Configure the required parameters in the following sections Configuring VLANsSee for the following notes Configuring VLANsConfiguring Server-Side VLANs Configuring Client-Side VLANsConfiguring Server Farms Configuring Real Servers Configuring Policies Configuring Maps Configure multiple cookies Configure multiple cookies into a cookie mapConfiguring Sticky Groups Configuring Virtual Servers Configuring Dynamic Feedback Protocol Configuring TCP ParametersConfiguring Redirect Virtual Servers Configuring Client NAT Pools Configuring Server NAT Writing and Restoring ConfigurationsSingle Subnet Bridge Mode Configuration Configuration ExamplesExit to have the configuration take effect Enter the Vlan modeConfigure a client-side Vlan Configure a server-side VlanVlan mode Secure Router Mode ConfigurationCreate the client-side Vlan 2 and enter the SLB Exit the submode Fault-Tolerant ConfigurationRouterconfig# ip slb vlan 3 server Create the server-side Vlan 3 and enter the SLBRouterconfig-if#service-policy input Venus Router# configure terminalRouterconfig# mac access-list extended Venus Routerconfig# int GigabitEthernet 2/1Configuration Parameter On Both Content Switching Modules Fault-tolerant configuration, the following rules apply192.158.38.10 Create the client-side Vlan 2 and enter the SLB Vlan modeAssign the Content Switching IP address on Router B Hsrp addressConfigure a client-side VLAN2 Assign the default route for VlanDefine Vlan 9 as a fault-tolerant Vlan Create the Content Switching primaryHsrp Configuration Overview Configuring HsrpCSG Vlan Configure Switch 2-FT2 Hsrp secondary as followsConfigure VLANs on Hsrp FT2 as follows Configuring CSM VLANsConfigure EtherChannel on both switches as follows Configuring Probes for Health MonitoringAdd ports to the EtherChannel as follows Telnet creates a Telnet probe with a default configuration Probe-name is the name of the probe being configured it hasHttp creates an Http probe with a default configuration Icmp creates an Icmp probe with a default configurationHttp Probe Commands Available to all Probe ConfigurationsIcmp Probe FTP, SMTP, and Telnet Probe TCP ProbeDNS Probe Submode Understanding RHI Configuring Route Health InjectionRHI Overview Routing to VIP Addresses With RHI Routing to VIP Addresses Without RHIUnderstanding Propagation of VIP Availability Information Configuring RHI for Virtual ServersRouterconfig# ip slb vserver vserver1 Understanding How the CSM Determines VIP AvailabilitySafety Information Referral Warning Translated Safety WarningsRegulatory Standards Compliance Wrist Strap Warning Blank Faceplate Installation Requirement Warning Translated Safety Warnings Qualified Personnel Warning Related DocumentationRelease Notes for Catalyst 6000 Family IOS Software Ordering Documentation Obtaining DocumentationWorld Wide Web Documentation CD-ROMCisco.com Contacting TAC by Using the Cisco TAC WebsiteTo access Cisco.com, go to the following website Obtaining Technical AssistanceContacting TAC by Telephone Obtaining Technical Assistance