Manage a Liberty server cluster configuration
Although each Liberty instance in a server cluster has its own configuration documents with unique information such as host name, other information is typically the same across the Liberty instances that comprise the server cluster - deployed applications for example. There are two strategies for managing the configuration for a Liberty server cluster.
- Shared configuration
The configuration specification common across all cluster members is stored in a common location and included in each cluster member's server.xml file using the <include> element. Changes made to the cluster are made to the shared include.
- Nonshared configuration
Each cluster member has its own complete server.xml file. When using this strategy, take care when making updates to the cluster members to ensure that each cluster member is updated so that the server cluster remains consistent.
See also: Use include elements in configuration files
Parent topic: Set up Liberty server clusters