You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I tried deploying Jira to 2 EC2 instances and both of them shared the same user-data script (they get deployed via an auto-scaling group)- however, this was causing only one instance to path health-checks, essentially whatever instance ran Jira first would pass and the other would fail.
I figured out that the issue was EFS- I was mounting EFS to the home Directory I set for Jira in my user-data script at /var/atlassian/application-data/jira
You've flagged this as "server", but you can't be using server if you're trying to run two instances, you need to be running Data Center.
Two separate instances of Jira must be running separate installs, with separate home directories and separate databases.
There are bits of Jira that will work ok on shared storage like NFS, but most of a Jira home directory should be as local as possible, and the index is still utterly incompatible with NFS.
If you are trying to cluster Jira (with Data Center), then you'll find you do need to share some parts of the directory system, and NFS is fine for it. Specfically, see https://confluence.atlassian.com/jirakb/startup-check-creating-a-shared-home-directory-for-data-center-884705999.html
Thanks for the info! I'm assuming only one license is needed when they're operating as a cluster?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, the document you linked shows an example of mounting NFS to a directory called /data/jira/sharedhome, does it matter where this directory is placed? Does this directory need to be within the Jira home directory or can it live outside it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, a DC licence doesn't actually care how many nodes you've got, they're all one system.
Sharedhome defaults to being inside the home directory (most of the systems I've seen simply mount the physical share at that point in the directory tree or link to it), but you can move it with a bit of extra config.
The only rule for nesting is to not put the install directory inside the home directory and vice-versa. Never do "/opt/jirainstall + /opt/jirainstall/jiradata" or "/opt/jiradata + /opt/jiradata/jirainstall". /opt/jira/data + /opt/jira/install will work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.