It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to configure cluster of Jira Nodes

Hi All,

We are currently looking for JIRA Active-Active configuration for which we have done with below steps.I need some details on proceeding further with clustering this Jira nodes.

1.) Installed JIRA on both nodes

Jira home: /localapp/atlassian/jira

Jira Local Home: /localapp/atlassian/application-data/jira

Shared Home : /home/infra/devops/atlassian/application-data/jira/shared

I have created on both nodes. (Node1)

================== = node1
# The location of the shared home directory for all JIRA nodes
jira.shared.home = /home/devops/atlassian/application-data/jira/shared (Node2)

================== = node2
# The location of the shared home directory for all JIRA nodes
jira.shared.home = /home/devops/atlassian/application-data/jira/shared


My question is how do I configure a common database for both these Jira instances ?

Once after login to http://node1host:8080 for node1 and configure the database, Do we still need to configure database for node2 with url http://node2host:8080  as well ?



2 answers

0 votes
Andy Heinzer Atlassian Team Dec 05, 2018

It sounds like you might have skipped a few steps here for setting up Jira Data center.  I would recommend reviewing the guide in Installing JIRA Data Center.

Even for a new installation of data center, you are not expected to setup both nodes simultaneously.  Instead there is an expectation that you would set the first node up and get it working with Jira first before setting the file.  It's this initial setup on the first node that will force you to connect that node to the Jira database and in turn that first start up of Jira connected to that node will create all the database tables needed.

Once that is done, you can then continue with the other steps to set the file, and setup the shared home directory on the first node.  You do need to do that first. Once you do that, you can then add additional nodes, which typically are just using the same settings in the local $JIRAHOME/dbconfig.xml in order to connect to a SQL server that has to be reachable from all the nodes in question.

So you don't have to create a second database here, instead section 5 of that guide explains how you add additional nodes to the cluster:

5. Add a new JIRA node to the cluster

  1. Copy the JIRA installation directory to a new host. Atlassian recommends that your configuration deviates from the first installation as little as possible to ease the burden of documentation and deployment (e.g. Installation paths, users, file permissions, etc).
  2. Ensure that the new host can access the shared home directory (e.g. ensure that you can read the contents of the shared JIRA directory and have write access to it)
  3. Copy the local home directory from the first node to this new node.
  4. Alter the file to reference the new node id. All node ids must be unique among nodes.
  5. Start the new node and monitor for startup problems.
  6. Ensure that issue creation, search, attachments, and customizations work as expected.


I hope this helps.


From your configuration and description, it doesn't look like you have a shared storage volume for Jira's home directory. In @Andy Heinzer's link, look at the picture under the "Installing Jira Data Center" section.  See how they show a shared database and shared storage? You need to set your environment up this way per the instructions.  When you do this, the first node will set up the shared home directory, complete with database config file. When you start up the additional nodes, they will see the existing configuration files and join the cluster.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

24 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you