Defines a cluster.
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 2.1 Administration Guide.
The following table describes subelements for the cluster element.
Table 1–23 cluster Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
References a server instance that belongs to the cluster. |
|
zero or more |
References a resource deployed to the cluster. |
|
zero or more |
References an application or module deployed to the cluster. |
|
zero or more |
Specifies a system property. |
|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the cluster element.
Table 1–24 cluster Attributes
Attribute |
Default |
Description |
---|---|---|
none |
Specifies the name of the cluster. |
|
default config element’s name attribute value, server-config |
References the configuration used by the cluster. |
|
none; value automatically generated |
Specifies the communication port the Group Management Service uses to listen for group events. Must be a valid port number. |
|
none; value automatically generated |
Specifies the address the Group Management Service uses to listen for group events. Must be a multicast address. |
|
false (developer profile) true (cluster and enterprise profiles) |
(optional) If true, the Group Management Service is started as a lifecycle module in each server instance in the cluster and in the Domain Administration Server. The Domain Administration Server participates in each cluster that has this attribute set to true. |