Configuring Probes for Health Monitoring
| Command | Purpose |
Step 3 |
|
|
Configure a status code to expect from the HTTP probe. | ||
| status | You can configure multiple status ranges by entering one |
|
| expect command at a time1. |
|
| |
|
| number is taken as a single status code. If you specify a |
|
| |
|
| code of a range. |
|
| |
|
| default range is |
|
| considered valid.) |
|
| Note If no maximum is specified, this command takes |
|
| a single number |
|
| both a |
|
| the range of numbers. |
Step 4 |
|
|
Configure a header field for the HTTP probe. Multiple | ||
| header fields may be specified1. | |
Step 5 | Configure the request method used by an HTTP probe1: | |
| [method [get head]] [url path] | • |
|
| |
|
| the server to get this page |
|
| • |
|
| directs the server to get only the header for this page |
|
| • |
|
| 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 | Configure an ICMP probe and enter the ICMP | |
|
| probe submode1. |
Step 2 |
|
|
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 |
|
|
|
|
|
| |||
|
|
| 49 |
| |
|
|
|
|