Just a dumb question I guess but ;
After the shared locations are configured for all JIRA nodes - will the following directories under local home directories of each node get updated as we work or they stop getting updated ?
Or am I understanding the concept of shared server wrong ? Will new data, plugins, logos start getting updated directly in the remote shared server or does the local directories still get updated and gets synced with the remote shared server ?
Jira needs those directories for the local node data.
Shared storage is too slow and complex-to-negotiate for a lot of the data each node needs to hold, so you can't just slap everything into shared storage. A lot of data needs to remain local to each node.
I need a little advice of your on my NFS configuration.
1) NFS Server
2) Node 1
3) Node 2
So the above three are my three locations
I created a folder /jirashared in NFS Server - verified it at two nfs clients ( node 1 and node2) using show mount and and it displays the two nodes under export list
I copied the directories /data, /export /import and so on to the nfs server under /jirashared.
But what I don't seem to understand is how to map my local directories ( data import export and so on ) in these individual nodes ? Does mentioning the shared home location alone connect nodes and its local data with shared home in nfs server ?
Or do I also need to mount folders under /mnt with nfs server shared directory ?
The usual way to do this is to set the Jira data directory (I usually call this <jira home>) to something in the same way we do for Jira Server. You do this on every node.
In my example, I'll go with /data/jira, under which you create /data/jira/jirashared - that jirashared is the default. On the first node, you then mount (say) nfs://myNFSserver/jirashared at /data/jira/jirashared. This causes the NFS mount to take the place of the directory.
Then you copy the directories you mention (although you have already done this). Once you've got the directories in NFS, you mount nfs://myNFSserver/jirashared over /data/jira/jirashared on all the other nodes.
You could do this with links as well - tell each node their /data/jira/jirashared is a link to /jirashared mounted elsewhere in the file system.
I don't work with NFS a lot, so this is completely from memory, but as a superuser, you need something like
mount NFSServer:/exported_jirashared /data/jira/jirashared
although you will need to do all that stuff about permissions and installing nfs clients on the nodes too.
Thanks Nic - I have achieved my goals for now.
I have tested - attachments show up at both ends ( node 1 and 2 ) - deleting from either of the nodes deletes from both ends.
Nic - is there a way to skip directories that are a part of shared directory or add more if we wish to ?
My shared folders seem to have been picked up automatically.
Yes, once mounted in the right place, the shared directory will do all the work for you.
You must NOT move any other folders into there (although you could put other stuff in there, for other applications, that would make your Jira install look very odd and will cause problems if there are any name clashes such as another application having an /export directory in its share).
Each node continues needs its local storage as well.
You must NOT skip directories either - Jira DC needs the directories named in the docs, you must share all of them.
Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...
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