Use Symbolic link for relocate JIRA index directory

Guys,

Do you guys use Symbolic links to change the location (out of jira_home directory) of JIRA directories such as caches/index?

Hesh

2 answers

1 accepted

2 votes

Yes, a simple soft link works perfectly.

It's a bit of a pain not being able to relocate these directories in the UI. A common setup is to want the attachments on a disk that's mirrored and backed up, (SAN, shared file system or something) but the index on the fastest nastiest non-shared disk you can find.

Hi Nic,

Is it OK, If I use RAM disk as index directory?

Hesh

Yes, but there are issues with a simple RAM disk.

First, you might be better off using the RAM allocated to it to run the JVM, and, more importantly, you'll lose your index and need to re-index every time you restart the machine.

Hi Nic,

I have 64GB of RAM in my server and I have alocated 32GB for JVM. SO I guess it will not be a problem if I use RAM disk. Is there any other issues rather than data loose in server restart?

Not that I have run into.

You aren't really risking data loss in a restart, but that you'll need to re-index on every reboot. This might be acceptable if your re-index is a matter of a couple of minutes, but if it's starting to run over 2-3 minutes (it's proportional to the number of issues and complexity of customfields), that might not be acceptable to your users.

And you can always save the contents of RAM disk if the restart is a planned one.

We actually us a soft link for our complete home directory and installation directory. So it works perfectly.

In this way we can use jira-home and atlassian-jira as directories in all our configurations, but in the end they are just soft links to the actual directories. (It's part of our backup and falll back mechanism should an update go awry).

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot