Database sharing among multiple clusters
You might want to support multiple identically configured HCL Portal installations in the same cell for ease of maintenance or failover.
If two independently configured clusters exist within the same cell, each cluster must have its own set of database domains. If two clusters that are identically configured exist within the same cell, all database instances must be shared except the release and JCR database domain. All user-specific and community data is shared between clusters, while each cluster’s static configuration can be independently updated.
Database settings
When you configure multiple clusters in the same IBM® WebSphere® Application Server cell, you must carefully set and review the following database settings:
-
Based on your configuration, determine which database domains you want to share with other clusters in the same cell (multiple cluster environment).
Important
JCR domains and release domains cannot be shared among different clusters or servers. Each distinct cluster or server in your environment must use a separate JCR domain and a separate release domain. Refer to the examples in the following table. :
Development server Authoring cluster Staging server Delivery cluster JCR domain 1 JCR domain 2 JCR domain 3 JCR Domain 4 Release domain 1 Release domain 2 Release domain 3 Release domain 4 -
Assign the data source names according to what databases are shared among the clusters and what databases are unique in a cluster. A single data source cannot be used for multiple domains if the domains are a mixture of shared and non-shared data sources.
- Maintain the same number of data sources with identical names when enterprise applications are shared among all clusters in the same cell. The data source bindings in the applications can be resolved on every cluster.
- When you install the primary node of the next cluster (Cluster B), the node can be configured to use the shared database domains. Set the appropriate property values in the
wkplc\_dbdomain.properties
andwkplc\_dbtype.properties
files.