beautypg.com

Changing the health-check interval and retries – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 219

background image

Brocade Virtual ADX Server Load Balancing Guide

203

53-1003247-01

Element health checks

4

Virtual ADX(config-hc-check4)#protocol ssl content-match m1

Virtual ADX(config-hc-check4)#l7-check

Virtual ADX(config-hc-check4)#enable

Virtual ADX(config-hc-check4)#exit

Syntax: [no] protocol ssl use-complete

Changing the health-check interval and retries

By default, the Brocade Virtual ADX performs a health check every 5 seconds. If a reply is not
received, the Brocade Virtual ADX will attempt the health check two more times before concluding
that the application has failed the health check. You can change the number of seconds the
Brocade Virtual ADX will wait for a reply to a health check and the number of retries.

NOTE

The number of retries is the total number of attempts the Brocade Virtual ADX will make. If you use
the default interval and retries values, the Brocade Virtual ADX will send up to three health-check
packets, at 5-second intervals. If a server does not respond within 15 seconds of the time the
Brocade Virtual ADX sent the first health-check packet, the server fails the health check and the
Brocade Virtual ADX concludes that the server is not available.

To change the interval for a health check, enter a command such as the following at the
configuration level for the element-action expression that contains the health check.

Virtual ADX(config-hc-check1)#interval 30

Syntax: [no] interval secs

You can specify from 2 through 120 seconds. The default is 5 seconds.

To change the number of retries for a health check, enter a command such as the following at the
configuration level for the element-action expression that contains the health check.

Virtual ADX(config-hc-check1)#retries 4

Syntax: [no] retries num

You can specify from 1 through 5 retries. The default is 3 retries.

NOTE

You also can globally change the interval and retries for an application port by editing its port profile.
Refer to

“Configuring a port profile”

on page 188.