Hi community. I’m a plug-in developer and I was wondering if there’s a way to make my dev environment act as if it were a single-node cluster environment for testing purposes?
Yes, just use the DC timebomb or dev license and the server will be DC then.
If your are using atlas-run… I don’t know.
Switch to Docker or something else.
At least with Docker it is quite easy to setup a DC dev cluster.
Thanks for the response.
Yes, I’m using atlas-run.
Well, what I did was follow some of the steps in https://confluence.atlassian.com/adminjiraserver/set-up-a-jira-data-center-cluster-993929600.html:
- Create a directory for the “shared” content, e.g.
sharedhome
. - Stop the dev instance.
- Copy the following directories from the Jira local home directory to the new
sharedhome
directory (some of them may be empty).
data
plugins
logos
import
export
caches
keys
- In the Jira local home directory, create a
cluster.properties
file, with contents as follows:
# This ID must be unique across the cluster
jira.node.id = node1
# The location of the shared home directory for all Jira nodes
jira.shared.home = /data/jira/sharedhome
- Start the instance (atlas-run)
- Change the server license for DC timebomb.
And it worked as expected.
1 Like