Cisco Systems 6000 manual Configuring Virtual Servers

Page 30

Configuring the Content Switching Module

Configuring Virtual Servers

Virtual servers represent groups of real servers and are associated with real server farms through policies. Configuring virtual servers requires setting the attributes of the virtual server specifying the default server farm (default policy) and eventually associating other server farms through a list of policies.

Note A single virtual server can be configured to operate at either Level 4 or Level 7. For a virtual server to operate at Level 4, specify the server farm (default policy) as part of the virtual server configuration (see Step 3 in the following task table). For a virtual server to operate at Level 7, add slb policies in the configuration of the virtual server (see Step 7 in the following task table).

Configure the virtual server in the virtual server configuration submode.

To configure virtual servers, 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)# virtual

Set the IP address for the virtual server optional port

 

ip-address tcp port

number or name and the connection coupling and

 

 

type2.

 

Step 3

 

 

 

Router(config-slb-vserver)# serverfarm

Note

Before you can associate a server farm with the

 

serverfarm-name

 

virtual server, you must configure the server

 

 

 

farm. See the “Configuring Server Farms”

 

 

 

section on page 24.

 

 

Associate the default server farm with the virtual

 

 

server2. The default server farm (default policy) is used

 

 

if a request does not match any slb policy or if there are

 

 

no policies associated with the virtual server.

Step 4

 

 

Router(config-slb-vserver)# sticky

(Optional) Configure connections from the client to

 

duration

use the same real server2. The default is sticky on.

Step 5

Router(config-slb-vserver)# client

(Optional) Restrict which clients are allowed to use the

 

ip-address network-mask [exclude]

virtual server2.

Step 6

Router(config-slb-vserver)# slb-policy

(Optional) Associate content switching policies with a

 

policy-name

virtual server2. Policies are processed in the order in

 

 

which they are entered in the virtual server

 

 

configuration. See the “Configuring Policies” section

 

 

on page 26.

 

 

 

Step 7

Router(config-slb-vserver)# inservice

Enable the virtual server for use by the CSM2.

Step 8

Router# show ip slb vserver [details]

Display information for virtual servers defined for

 

 

Content Switching.

 

 

 

 

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.

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

30

78-11631-02 Rev. A0

Image 30
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 Environmental Requirements Power RequirementsHardware Supported 72-876-01 Console Cable Not applicableRequired Tools Installing the Content Switching ModulePreparing to Install the CSM 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 CSM upgrade 127.0.0.zz c6slb-apc.revision-num.bin Upgrading from the Supervisor Engine BootflashSet up a session between the supervisor engine and the CSM Routerconfig# power cycle module slot-numberRouter config# power cycle module slot-number Routerconfig# tftp-server slotxc6slb-apc.revision-num.binCSM upgrade slot0 c6slb-apc.revision-num.bin Upgrading from a Pcmcia CardSwitchport access vlan Configuring the Content Switching ModuleSwitchport 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 ConfigurationConfigure a server-side Vlan Enter the Vlan modeConfigure a client-side Vlan Exit to have the configuration take effectSecure Router Mode Configuration Vlan modeCreate the client-side Vlan 2 and enter the SLB Create the server-side Vlan 3 and enter the SLB Fault-Tolerant ConfigurationRouterconfig# ip slb vlan 3 server Exit the submodeRouterconfig# int GigabitEthernet 2/1 Router# configure terminalRouterconfig# mac access-list extended Venus Routerconfig-if#service-policy input VenusFault-tolerant configuration, the following rules apply Configuration Parameter On Both Content Switching ModulesRouter B Hsrp address Create the client-side Vlan 2 and enter the SLB Vlan modeAssign the Content Switching IP address on 192.158.38.10Create the Content Switching primary Assign the default route for VlanDefine Vlan 9 as a fault-tolerant Vlan 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 Icmp creates an Icmp 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 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 RHIUnderstanding How the CSM Determines VIP Availability Configuring RHI for Virtual ServersRouterconfig# ip slb vserver vserver1 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 Documentation CD-ROM Obtaining DocumentationWorld Wide Web Ordering DocumentationObtaining Technical Assistance Contacting TAC by Using the Cisco TAC WebsiteTo access Cisco.com, go to the following website Cisco.comContacting TAC by Telephone Obtaining Technical Assistance