I want to use only local storage and don't want to use shared storage

muhammad_atib.junaid February 13, 2024

Hi,

Using the chart https://atlassian.github.io/data-center-helm-charts/userguide/PREREQUISITES/

I would like to use only local storage and not the shared storage.
If this is possible can you please tell me how can i restore data from old instance to new instance (copy jira home files)

 

Thanks,
Regards
Atib

1 answer

0 votes
Ravina
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2024

Hi @muhammad_atib.junaid If your requirement is to run your Jira instance with 2 or more nodes (In cluster environment) then you will required a shared home directory that can be used by other nodes of the Jira that are namely as follows

  • data
  • plugins
  • logos
  • import
  • export
  • keys

These folder hold data like Jira attachments, installed plugins jar files, log files, XML import/exported files, that are used by all the other nodes so that data between the nodes will be synced and provides the similar data on on both the nodes.

There is no alternative for shared directory in Jira Datacenter if you requirement is to run the Jira with 2 or more nodes.

If you want to run the Jira with single (standalone) node then you can use your local home directory as a shared directory like a Jira server instance with Jira Data center licenses.

Please check and let me know in case of any issues or questions.

Thanks

Ravina

 

muhammad_atib.junaid February 19, 2024

Hello @Ravina 

 

Thank You so much for your response.

I am using this helm chart to deploy jira in k8s https://atlassian.github.io/data-center-helm-charts/

I want to use standalone for my use case but the helm chart says you need a local volume which is empheral storage for the local data https://atlassian.github.io/data-center-helm-charts/examples/storage/aws/LOCAL_STORAGE/, and i assume having production data in empheral storage will not make sense, as there will be data lose if the pod gets terminated.

 can you help me with an example yaml file for this kind of deployment, it would be great help if i can get an working example of shared home as local home.

 

Thanks in Advance.

Regards,
Atib

Ravina
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2024

@muhammad_atib.junaid  Can you let me know what environment you are using for your deployment as you can use the Kubernetes Statefulset to your deployment for persistent storage so that Jira home directory data will not get deleted when pods are restarted and when new pod launched it will use the same storage where all your Jira home directory data like indexes folder, plugins folder, attachments etc will not get deleted.

Please check the below document for more details

https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/

If you are using any cloud hosting then you can use the local storage like EBS volume in case of AWS as a local storage to host the Jira home data.

You can get a example yaml file from the above link for reference.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.14
TAGS
AUG Leaders

Atlassian Community Events