概要
There are two methods of installing Confluence in a cluster, depending on whether you have existing data. This page describes how to upgrade an existing Confluence instance into a cluster.
See also Cluster installation without existing data.
Cluster installation from an existing copy of Confluence
To upgrade an existing copy of Confluence to run in a two-node cluster, you must do the following:
- Ensure you meet the clustering requirements, including obtaining a clustered license key from Atlassian for each node
- Upgrade the existing Confluence instance to a clustered license
- Enable clustering and select a cluster name
- Shut down the first node, copy the Confluence application and Confluence home directory to the second node
- Start the first node, wait until it is running, then bring up the second node and it will automatically join the cluster
- Test the cluster is working correctly
- Configure a load balancer in front of the two clustered nodes.
Each of these steps will be described in detail below.
1. Clustering requirements
Your Confluence cluster installation must meet all the following criteria for clustering:
- you must be running Confluence 2.3 or later
- you must have a clustered license
- you must use an external database
- you must use a load balancer with session affinity in front of the cluster.
Clustered licenses are available through the Confluence website.
A cluster can run using two copies of Confluence Standalone. However, cluster administrators must understand how to configure an application server and web server with load balancing, so we recommend you are comfortable installing Confluence as a EAR/WAR in your application server before proceeding with a clustered installation.
You can follow the instructions to Migrate Confluence to an external database.
2. Upgrade existing instance to clustered license
Once you've obtained your clustered license from Atlassian, you can simply update the license in your running Confluence instance:
- Go to 'Administration'.
- Go to 'License Details', and paste in the new license.
- Click 'Save'.
When you enter a clustered license, you will see a new line appear on this page: Licensed Clustered Nodes. This tells you how many nodes your Confluence license will allow.

License Details page shows the number of cluster nodes permitted
3. Enable clustering and select a cluster name
When you change Confluence to use a cluster license, a new menu option will be revealed on the left: Cluster Configuration. Open this menu item to configure your cluster.
On this page, you need to enter a name for your cluster, and possibly select which network interface on your server will be used for the cluster (only if you have more than one suitable interface).
Clicking 'Start cluster' will migrate your attachments to the database, then prevent any access to Confluence until it is restarted.
4. Copy Confluence to second node
For the remaining steps in setting up a cluster with existing data, please continue from step 4 in the normal Confluence cluster installation guide.
5. ノード 1 で Confluence を開始、待つ、ノード 2 で Confluence を開始
See comment in step 4.
6. クラスタ接続性のテスト
See comment in step 4.
See comment in step 4.
トラブルシューティング
If you have problems with the above procedure, please see our Cluster Troubleshooting guide.
クラスタのアップグレード
It is important that upgrades follow the procedure for Upgrading a Confluence Cluster.
Confluence Cluster Installation
Confluence Installation Guide
Upgrading a Confluence Cluster
Confluence User Guide