Is there a way to fake a dev server environment to be treated/act like a single node data center

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:

  1. Create a directory for the “shared” content, e.g. sharedhome.
  2. Stop the dev instance.
  3. 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
  1. 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
  1. Start the instance (atlas-run)
  2. Change the server license for DC timebomb.

And it worked as expected.

1 Like