Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting jira.node.id Automatically

Jeff Shepherd
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2020 edited

Is it possible to set the jira.node.id through a variable?

For example: 

jira.node.id = ${HOSTNAME}

 Sadly, the above example doesn't work. My node id becomes the text "${HOSTNAME}"

2 answers

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Champion
December 3, 2020
Jeff Shepherd
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2020

Ick. A solution, but not very elegant.

0 votes
Tran Dien Hien September 26, 2021

@Jeff Shepherd ,

Have you solved this issue?  If yes please share your experiences because I'm facing the same problem.

I much appreciate your support

Jeff Shepherd
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2021

Referencing the above link, @Lessandro has a script to modify the cluster.properties before Jira is run (e.g. at reboot or via cron)

HOST=$HOSTNAME
JIRANODE="jira.node.id = "$HOST
sed -i "2s/.*/$JIRANODE/" /var/atlassian/application-data/jira/cluster.properties

The cluster.properties file only needs to be modified once, so a process that happens over and over seems a bit much.

However, I have a recipe I follow that includes a step to modify the file whenever I am adding a new Jira node. There are times I have overlooked the step in the past, so there is merit to an automated process.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events