Configuring Probes - Cisco catalyst 6500 series Configuration Note

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Appendix A
Configuration Examples

Configuring Probes

This example provides configuration parameters for configuring probes:
module ContentSwitchingModule 5
vlan 220 server
ip address 10.20.220.2 255.255.255.0
alias 10.20.220.1 255.255.255.0
!
vlan 221 client
ip address 10.20.221.5 255.255.255.0
gateway 10.20.221.1
!
probe PING icmp
interval 5
failed 10
receive 4
# Interval between the probes is 5 seconds for healthy servers
# while it is 10 seconds for failed servers.
# The servers need to reply within 4 seconds.
!
probe TCP tcp
interval 5
failed 10
open 4
# The servers need to open the TCP connection within 4 seconds.
!
probe HTTP http
request method head url /probe/http_probe.html
expect status 200 299
interval 20
port 80
# The port for the probe is inherited from the vservers.
# The port is necessary in this case, since the same farm
# is serving a vserver on port 80 and one on port 23.
# If the "port 80" parameter is removed, the HTTP probe
# will be sent out on both ports 80 and 23, thus failing
# on port 23 which does not serve HTTP requests.
probe PING-SERVER-30 icmp
interval 5
failed 10
!
serverfarm WEBFARM
nat server
no nat client
real 10.20.220.10
inservice
real 10.20.220.20
inservice
real 10.20.220.30
health probe PING-SERVER-30
inservice
probe PING
probe TCP
probe HTTP
!
vserver TELNET
OL-4612-01
Catalyst 6500 Series Content Switching Module Configuration Note
Configuring Probes
A-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents