Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference

lb-config

Defines a load balancer configuration.

Superelements

lb-configs

Subelements

The following table describes subelements for the lb-config element.

Table 1–87 lb-config Subelements

Element 

Required 

Description 

cluster-ref

zero or more; zero if a server-ref is defined

References a cluster. 

server-ref

zero or more; zero if a cluster-ref is defined

References a server instance that does not belong to a cluster. 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the lb-config element.

Table 1–88 lb-config Attributes

Attribute 

Default 

Description 

name

none 

Specifies the name of the load balancer configuration. 

response-timeout-in-seconds

60

(optional) Specifies the time within which a server must return a response or it is considered unhealthy. 

https-routing

false

(optional) If true, HTTPS requests to the load balancer result in HTTPS requests to the server. If false, HTTPS requests to the load balancer result in HTTP requests to the server.

reload-poll-interval-in-seconds

60

(optional) Specifies the interval between checks for changes to the load balancer configuration file (loadbalancer.xml). When changes are detected, the file is reloaded. A value of zero disables reloading.

monitoring-enabled

false

(optional) If true, enables monitoring of load balancing.