Forums

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

Changing DB for jira DC on Azure

Ramakrishna Grandhi
Contributor
December 8, 2021

Hi atlassian team, I've a setup jira dc environment on azure with sql server as DB, from template given by atlassian. Everything works fine so far. Now i want to change DB to oracle.

Can you help me understand where can i find dbconfig.xml for this environment? i.e. which azure resource will have this file or on which machine i can run Jira configuration tool?

Below are the resources i could see in the azure resource group and i'm following instructions given in this page: https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-oracle-938846856.html

 

temp.PNGtemp1.PNG

1 comment

Comment

Log in or Sign up to comment
Robert Wen_Cprime_
Community Champion
December 8, 2021

Hello @Ramakrishna Grandhi !

There will be a copy of dbconfig.xml in the Jira home directory of each node in your jiracluster VM set.

Like Fazila Ashraf likes this
Ramakrishna Grandhi
Contributor
December 9, 2021

Thank you @Robert Wen_Cprime_,

Ramakrishna Grandhi
Contributor
December 9, 2021

@Robert Wen_Cprime_ 

I dont find config.sh in the install directory of the node. Will it work if i edit below shown dbconfig.xml manually? i mean both.

 

temp.PNG

Robert Wen_Cprime_
Community Champion
December 9, 2021

So, normally on Jira installations there are two directories: a Jira home directory (typically underneath /var) and the Jira install directory (typically under /opt/atlassian).

config.sh would be in a /bin directory under the Jira install directory.

dbconfig.xml would be in the Jira home directory.

You could directly edit the dbconfig.xml file.  Just to be safe, you should edit both instances.

Like Ramakrishna Grandhi likes this
Ramakrishna Grandhi
Contributor
December 9, 2021

Thank you @Robert Wen_Cprime_ 

I've run config.sh , test connection was successful. And then i restarted node from azure portal, so that jira could pick these changes. After restart, these are the contents

temp.PNG

 

But jira goes down completely, like below.
temp.PNG

 

can you please tell me how can i fix this?

Ramakrishna Grandhi
Contributor
December 9, 2021

Interestingly it is showing database-type as oracle10g, though i've installed 19c

Robert Wen_Cprime_
Community Champion
December 9, 2021

If you're sure you've followed all the steps (including putting the new jdbc jar file on all the nodes), maybe you should contact Atlassian Support.

https://support.atlassian.com/contact/#/

Like Ramakrishna Grandhi likes this
Ramakrishna Grandhi
Contributor
December 10, 2021

Thank you, i've filed this ticket, https://getsupport.atlassian.com/servicedesk/customer/portal/35/CA-1615128
Hope someone will address it.

TAGS
AUG Leaders

Atlassian Community Events