Configuring health checks, Types of health checks, Timers and counters – Extreme Networks Px Series User Manual

Page 102

Advertising
background image

9-4

Px Series Application Switch Installation and Configuration Guide

Configuring Health Checks

Before health checks can be configured, make sure that the server group that they will
apply to has been created. See Chapter 5 for information on configuring server groups.

Types of Health Checks

Only the highest protocol health check is done for a server group. For example, if TCP
open is configured, the ping health check is not done. Similarly, if an HTTP check is
being done, no TCP open or ping check is done.

To configure ping checks, use the following command:

config server-group name sg1 health-check ping

For TCP open checks, use the following command:

config server-group name sg1 health-check tcp-open

To check for a return code, add the following command:

config server-group name sg1 health-check tcp-open return “HELLO”

HTTP health checks are configured in a similar manner. To do a “head /” on the server,
simply configure the following:

configure server-group name extr health-check http

To request a certain object, use the following command:

config server-group name sg1 health-check http object index.html

To ensure that object contains the specified string, use the following command:

config server-group name sg1 health-check object index.html return

“Welcome”

Timers and Counters

To configure the global timers for health check, use the following commands:

config health-check interval <number of seconds>

config health-check retry-interval <number of seconds>

Advertising