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'll have an installation and local home directory on each node, and a single shared home directory (a total of 5 directories in a two node cluster).
Most Confluence installations don't 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.
4. Copy Confluence to second nodeTo copy Confluence to the second node:
Copying the local home directory ensures the Confluence search index, the database and cluster configuration, and any other settings are copied to node 2. 5. Start Confluence on the first node, wait, then start Confluence on second nodeIt's best to start Confluence one server at a time.
6. Test cluster connectivityThe Cluster monitoring console ( When the cluster is running properly, this page displays the details of each node, including system usage and uptime. Use the Screenshot: Cluster monitoring console
A simple process to ensure your cluster is working correctly is:
7. Configure load balancerInstall 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 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. SecurityEnsure that only permitted cluster nodes are allowed to connect to a Confluence Data Center instance's Hazelcast port, which by default is port 5801, through the use of a firewall and/or network segregation. TroubleshootingIf you have problems with the above procedure, please see our Cluster Troubleshooting guide. If you're 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's important that upgrades follow the procedure for Upgrading Confluence Data Center.