Cisco Systems 6000 manual Icmp Probe

Page 49

Configuring Probes for Health Monitoring

 

Command

Purpose

Step 3

 

 

Router(config-slb-probe-http)# expect

Configure a status code to expect from the HTTP probe.

 

status min-number [max-number]

You can configure multiple status ranges by entering one

 

 

expect command at a time1.

 

 

min-number—If you do not specify a max-number, this

 

 

number is taken as a single status code. If you specify a

 

 

max-number, this number is taken as the minimum status

 

 

code of a range.

 

 

max-number—The maximum status code in a range. The

 

 

default range is 0–999. (Any response from the server is

 

 

considered valid.)

 

 

Note If no maximum is specified, this command takes

 

 

a single number (min-number). If you specify

 

 

both a min-number and a max-number, it takes

 

 

the range of numbers.

Step 4

 

 

Router(config-slb-probe-http)# header

Configure a header field for the HTTP probe. Multiple

 

field-name [field-value]

header fields may be specified1.

Step 5

Router(config-slb-probe-http)# request

Configure the request method used by an HTTP probe1:

 

[method [get head]] [url path]

get—Directs the HTTP get request method directs

 

 

 

 

the server to get this page

 

 

head—Directs the HTTP head request method

 

 

directs the server to get only the header for this page

 

 

url—A character string of up to 1275 characters

 

 

specifies the URL path; the default path is “/”

 

 

Note The CSM supports only the get and head request

 

 

methods; it does not support the post and other

 

 

methods. The default method is head.

 

 

 

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

ICMP Probe

An ICMP probe sends an ICMP echo (for example, ping) to the real server. The ip slb probe icmp command enters the ICMP probe configuration mode. All the common ip slb probe commands are supported except open, which is ignored.

 

Command

Purpose

Step 1

 

 

Router(config)# ip slb probe probe-nameicmp

Configure an ICMP probe and enter the ICMP

 

 

probe submode1.

Step 2

 

 

Router(config-slb-probe-icmp)# [failed

Configure the intervals to wait between probes

 

interval retries receive]

of a failed server and between probes. Also,

 

 

specify the time to make a TCP connection, to

 

 

receive a reply from the server, and to limit the

 

 

number of retries before considering the real

 

 

server as failed.

 

 

 

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

 

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

 

 

 

 

 

 

 

78-11631-02 Rev. A0

 

 

49

 

 

 

 

 

Image 49
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 Hardware Supported Power RequirementsEnvironmental Requirements 72-876-01 Console Cable Not applicablePreparing to Install the CSM Installing the Content Switching ModuleRequired Tools Software RequirementsInstalling 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 Set up a session between the supervisor engine and the CSM Upgrading from the Supervisor Engine BootflashCSM upgrade 127.0.0.zz c6slb-apc.revision-num.bin Routerconfig# power cycle module slot-numberCSM upgrade slot0 c6slb-apc.revision-num.bin Routerconfig# tftp-server slotxc6slb-apc.revision-num.binRouter config# power cycle module slot-number Upgrading from a Pcmcia CardSwitchport Configuring the Content Switching ModuleSwitchport access vlan Router# vlan databaseConfiguration 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 ExamplesConfigure a client-side Vlan Enter the Vlan modeConfigure a server-side Vlan Exit to have the configuration take effectVlan mode Secure Router Mode ConfigurationCreate the client-side Vlan 2 and enter the SLB Routerconfig# ip slb vlan 3 server Fault-Tolerant ConfigurationCreate the server-side Vlan 3 and enter the SLB Exit the submodeRouterconfig# mac access-list extended Venus Router# configure terminalRouterconfig# int GigabitEthernet 2/1 Routerconfig-if#service-policy input VenusConfiguration Parameter On Both Content Switching Modules Fault-tolerant configuration, the following rules applyAssign the Content Switching IP address on Create the client-side Vlan 2 and enter the SLB Vlan modeRouter B Hsrp address 192.158.38.10Define Vlan 9 as a fault-tolerant Vlan Assign the default route for VlanCreate the Content Switching primary Configure a client-side VLAN2Hsrp 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 Http creates an Http probe with a default configuration Probe-name is the name of the probe being configured it hasIcmp creates an Icmp probe with a default configuration Telnet creates a Telnet 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 RHIRouterconfig# ip slb vserver vserver1 Configuring RHI for Virtual ServersUnderstanding How the CSM Determines VIP Availability Understanding Propagation of VIP Availability InformationSafety 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 World Wide Web Obtaining DocumentationDocumentation CD-ROM Ordering DocumentationTo access Cisco.com, go to the following website Contacting TAC by Using the Cisco TAC WebsiteObtaining Technical Assistance Cisco.comContacting TAC by Telephone Obtaining Technical Assistance