Confluence 5.6 has reached end of life
Check out the [latest version] of the documentation
Request for interest
Hi there,
Great to see your interest in Confluence clustered! Confluence 5.4 was the last version to support our current clustering solution.
We are working on a completely new version of our clustered offering, called Confluence Data Center, that will provide greater scalability as well as high availability.
We're making Confluence Data Center available as part of our Early Access Program. Contact us if you're interested in trying it out.
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 Migrating 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 Administration page ( > General Configuration > Cluster Configuration) includes information about the active cluster. When the cluster is running properly, this page displays:
Screenshot: Cluster Administration page
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 ‘cookie based 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.