Confluence 5.7 has reached end of life
Check out the [latest version] of the documentation
This guide covers installing Confluence Data Center, which is a clustered solution, for the first time (with no existing data).
If you have an existing Confluence instance, see Moving to Confluence Data Center.
To run Confluence in a cluster you must:
If you need a Data Center evaluation license please contact us.
In this guide we'll use the following terminology:
At the end of the installation process you will have an installation and local home directory on each node, and a single shared home directory (5 directories total in a two node cluster).
Most Confluence installations do not need to be clustered. You might want to test your single node installation with the number of users and load you expect before going ahead with the additional complexity of clustering.
To copy Confluence to the second node:
<installation directory>/confluence/WEB-INF/classes/confluence-init.properties file on node 2 to point to the correct location.Copying the local home directory ensures the Confluence search index, the database and cluster configuration, and any other settings are copied to node 2.
It's best to start Confluence one server at a time.
The Cluster monitoring console ( > General Configuration > Clustering) includes information about the active cluster.
When the cluster is running properly, this page displays the details of each node, including system usage and uptime. Use the menu to see more information about each node in the cluster.
Screenshot: Cluster monitoring console
A simple process to ensure your cluster is working correctly is:
If Confluence detects more than one instance accessing the database but not in a working cluster, it will shut itself down in a cluster panic. This can be fixed by troubleshooting the network connectivity of the cluster.
Install and configure your load balancer. You can use the load balancer of your choice, but it needs to support ‘session affinity’.
You can verify that your load balancer is sending requests correctly to your existing Confluence server by simply accessing Confluence through the load balancer and creating a page then checking that this page can be viewed/edited by another machine through the load balancer.
If you have problems with the above procedure, please see our Cluster Troubleshooting guide.
If you are testing Confluence Data Center by running the cluster on a single machine, please refer to our developer instructions on Starting a Confluence cluster on a single machine.
It is important that upgrades follow the procedure for Upgrading Confluence Data Center.