How to change the Cluster Name in a Data Center deploy

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This guide will help you with the proper steps to update the cluster name of your cluster party.

Solution

  • First, we will need to update the confluence.cluster.name property of each Node to the name you want to use. This property is located in the <confluence-home>/confluence.cfg.xml file:

    1 <property name="confluence.cluster.name">atlassian_cluster</property>
  • After updating the configuration file of each node to change the cluster name, please make sure to shut down the entire cluster (node by node)

  • Start each node at a time again, making sure not to start all nodes at the same time.

    (Refer : How to : Stop/Start Confluence Application)

⚠️ Note that if you restart a single node only or try to do a rolling restart after changing the cluster name, a cluster panic will be triggered and you will see the following log entries:

  1. This log is from the node that got the cluster name updated and was restarted:

    1 2 3 2019-02-13 14:20:56,505 INFO [localhost-startStop-1] [confluence.cluster.hazelcast.HazelcastClusterManager] configure Configuring Hazelcast with instanceName [confluence], join configuration TCP/IP member addresses: 192.168.56.100|192.168.56.101, network interfaces [fe80:0:0:0:65dc:2496:ae5d:8be%enp0s8, 192.168.56.100] and local port 5801 2019-02-13 14:20:56,505 INFO [localhost-startStop-1] [confluence.cluster.hazelcast.HazelcastClusterManager] startCluster Starting the cluster. 2019-02-13 14:20:59,115 WARN [hz.confluence.priority-generic-operation.thread-0] [com.hazelcast.cluster] log [192.168.56.100]:5801 [ciastes] [3.8.6] Node could not join cluster at node: [192.168.56.101]:5801 Cause: the target cluster has a different group-name
  2. Meanwhile, this is the log you will see in the node that did not get renamed nor restarted, which is followed by the cluster panic error after a minute or so:

    1 2 3 4 2019-02-13 14:20:59,037 WARN [hz.confluence.generic-operation.thread-0] [internal.cluster.impl.ClusterJoinManager] log [192.168.56.101]:5801 [ubuntu-cluster] [3.8.6] Received an invalid join request from [192.168.56.100]:5801, cause: clusters part of different cluster-groups 2019-02-13 14:20:59,038 WARN [hz.confluence.generic-operation.thread-1] [internal.cluster.impl.ClusterJoinManager] log [192.168.56.101]:5801 [ubuntu-cluster] [3.8.6] Received an invalid join request from [192.168.56.100]:5801, cause: clusters part of different cluster-groups 2019-02-13 14:20:59,044 WARN [hz.confluence.IO.thread-in-1] [hazelcast.nio.tcp.TcpIpConnection] log [192.168.56.101]:5801 [ubuntu-cluster] [3.8.6] Connection[id=2, /192.168.56.101:5801->/192.168.56.100:36469, endpoint=[192.168.56.100]:5801, alive=false, type=MEMBER] closed. Reason: Exception in NonBlockingSocketReader java.io.IOException: Connection reset by peer
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.