Configuring a Liberty server cluster

To set up a Liberty profile to be part of a server cluster, define the clusterMember-1.0 feature in the server.xml file.

Before you begin

To be a member of a server cluster, a Liberty profile must also be a member of a Liberty collective.

See Configuring a Liberty collective for more information.

About this task

A server cluster has a unique name within a Liberty collective. All Liberty profiles that specify the same cluster name within the same collective are members of the same server cluster.

Procedure

To set up a Liberty profile to be part of a server cluster, define the clusterMember-1.0 feature in the server.xml file.

A collective server can be configured to be a cluster member while it is running. The new configuration is updated dynamically and published to the collective controller. If a collective server is configured to be a cluster member while the server is stopped, the server will not be a member of a cluster until the server is started.

<featureManager>
  <feature>clusterMember-1.0</feature>
</featureManager>
<clusterMember name="<cluster_name>"/>
The default cluster name is defaultCluster. If no <clusterMember> configuration is specified, the default cluster name is assumed.

Icon that indicates the type of topic Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=twlp_config_cluster
File name: twlp_config_cluster.html