interval-in-seconds: Specifies the interval at which health checks of instances occur. The
■
default is 30 seconds.
timeout-in-seconds: Specifies the timeout interval within which a response must be
■
obtained for a listener to be considered healthy. The default is 10 seconds.
If the typical response from the server takes n seconds and under peak load takes m seconds,
then set the timeout-in-seconds property to m + n, as follows:
<health-checker
url="http://hostname.domain:port"
interval-in-seconds="n"
timeout-in-seconds="m+n"/>
Chapter 6 • Tuning for High-Availability
Configuring the Load Balancer
121
Need help?
Do you have a question about the Sun GlassFish Enterprise Server 2.1 and is the answer not in the manual?
Questions and answers