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}"
Jeff,
Here is what someone else did to solve the issue. https://community.atlassian.com/t5/Jira-Core-questions/cluster-properties-file-get-jira-node-id-ID-automatically-like/qaq-p/753801
Ick. A solution, but not very elegant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you solved this issue? If yes please share your experiences because I'm facing the same problem.
I much appreciate your support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.