Sun GlassFish Enterprise Server v2.1.1 Administration Reference

server-ref

References a server instance.


Note –

Some topics in the documentation pertain to features that are available only in domains that are configured to support clusters. Examples of domains that support clusters are domains that are created with the cluster profile or the enterprise profile. For information about profiles, see Usage Profiles in Sun GlassFish Enterprise Server v2.1.1 Administration Guide.


Superelements

cluster, lb-config

Subelements

The following table describes subelements for the server-ref element.

Table 1–166 server-ref Subelements

Element 

Required 

Description 

health-checker

zero or one 

Defines a health checker for the referenced server instance. 

Attributes

The following table describes attributes for the server-ref element.

Table 1–167 server-ref Attributes

Attribute 

Default 

Description 

ref

none 

References the name attribute of a server element.

disable-timeout-in-minutes

30

(optional) Specifies the time it takes this server instance to reach a quiescent state after having been disabled. 

lb-enabled

false

(optional) If true, all load-balancers that reference this server instance consider it available to them.

enabled

true

(optional) Determines whether the server instance is enabled.