Cisco Systems 6000 manual Configuring Redirect Virtual Servers

Page 32

Configuring the Content Switching Module

 

To configure DFP, perform this task:

 

 

 

 

 

Command

Purpose

Step 1

 

 

Router(config)# ip slb dfp [password

Configure DFP manager, supply an optional

 

password]

password, and enter the DFP agent submode1, 2.

Step 2

Router(config-slb-dfp)# agent ip-address port

Configure time intervals between keepalive

 

[activity-timeout retry-count

messages, number of consecutive connection

 

retry-interval]

attempts or invalid DFP reports, and the interval

 

 

 

 

between connection attempts2.

Step 3

Router# show ip slb dfp [weights agent

Display DFP manager and agent information.

 

ip-address port detail]

 

 

 

 

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.

Note A DFP agent may be on any host machine. A DFP agent is independent of the IP addresses and port numbers of the real servers that are managed by the agent.

This example shows how to configure the dynamic feedback protocol without a password or agent:

Router(config)# ip slb dfp password password

Router(config-slb-dfp)#agent 123.234.34.55 5 6 10 20

Router(config-slb-dfp)# exit

Configuring Redirect Virtual Servers

The redirect-vservercommand is a server farm submode command that allows you to configure virtual servers dedicated to real servers. This mapping provides connection persistence for clients to real servers across TCP sessions.

To configure redirect virtual servers, perform this task:

 

 

 

 

Command

Purpose

 

 

 

Step 1

 

 

 

 

 

Router(config-slb-sfarm)#

Configure virtual servers dedicated to real servers

 

 

 

 

redirect-vserver name

and enter the redirect server submode1, 2.

 

 

 

Step 2

 

 

 

 

 

Router(config-slb-redirect-v)# webhost

Configure the relocation string to be sent in response

 

 

 

 

relocation relocation string

to HTTP requests to the host name. Only the

 

 

 

 

 

beginning of the relocation string can be specified.

 

 

 

 

 

The remaining portion is taken from the original

 

 

 

 

 

HTTP request2.

 

 

 

Step 3

 

 

 

 

 

Router(config-redirect-v)# webhost backup

Configure the relocation string sent in response to

 

 

 

 

backup string

HTTP requests in the event that the redirect server is

 

 

 

 

 

out of service. Only the beginning of the relocation

 

 

 

 

 

string can be specified. The remaining portion is

 

 

 

 

 

taken from the original HTTP request2.

 

 

 

Step 4

 

 

 

 

 

Router(config-redirect-v)# virtual

Configure the redirect virtual server IP address and

 

 

 

 

v_ipaddress tcp port

port2.

 

 

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

 

 

 

 

 

 

 

 

 

 

 

32

 

 

 

78-11631-02 Rev. A0

 

 

 

 

 

 

Image 32
Contents Contents Overview These sections describe the CSM FeaturesDescribes the features of the CSM Status LED CSM front panel features are shown in FigureFront Panel Description Off Red Orange Green Green to Orange Operation ModeRJ-45 Connector Content Switching Module and Servers Client-to-Content Switching Module-to-Server Traffic Flow Client-to-CSM-to-Server Traffic FlowSafety Overview Memory Requirements CSM memory is not configurableSystem 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 InstallationUpgrading to a New Software Release Using the Command-Line InterfaceAccessing Online Help 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 cookies Configuring 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 effectCreate the client-side Vlan 2 and enter the SLB Secure Router Mode ConfigurationVlan mode 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 followsAdd ports to the EtherChannel as follows Configuring Probes for Health MonitoringConfigure EtherChannel on both switches 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 DNS Probe Submode TCP ProbeFTP, SMTP, and Telnet Probe RHI Overview Configuring Route Health InjectionUnderstanding RHI 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 InformationRegulatory Standards Compliance Translated Safety WarningsSafety Information Referral Warning Wrist Strap Warning Blank Faceplate Installation Requirement Warning Translated Safety Warnings Release Notes for Catalyst 6000 Family IOS Software Related DocumentationQualified Personnel Warning 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