Renaming a server running Jira/Confluence/Fisheye

We are planning on doing a P2V migration of our old Atlassian server to a new VM box. After that we're seriously considering rename the new server to have it more in line with our naming convention; it's currently running on a DB server that's going to be retired.

I'm guessing that my questions are pretty obvious. Are there any gotchas to doing a server rename in this case? We know that we'll have to stop all the processes first and change any references to the old server name in any config files. Beyond that, any other things we need to worry about or have to address? The DNS entries for each application is by IP address and matches the old server; the new server name will be tied to that same IP address so we're talking about tombstoning the old server in DNS (if it's not done automatically by the rename).

1 answer

1 accepted

Accepted Answer
1 vote

Hi Steve,

In the JIRA case, you'll need to edit the $JIRA_HOME/dbconfig.xml and fix the DBCP connection string with the new IP/DNS on it. In Confluence it will be on $CONF_HOME/confluence.cfg.xml. I'm not sure where to fix it on FishEye.

After that, you'll also need to fix the Base URL for all applications on Administration -> General Configuration.

Best regards,
Lucas Timm

Lucas,

Great response. After we do the P2V migration I'll initiate the server rename effort and post our results here. I appreciate the quick reply.

Steve

Lucas,

Just to clarify, the changes in $JIRA_HOME/dbconfig.xml and $CONF_HOME/confluence.cfg.xml are for the database connection string. In our case our database is MS SQL and we had already migrated that to another DB server so these files don't need any further changes.

I did find a reference to the server name in $JIRA_HOME\logs\support\application.xml. It was four parameters:

  1. <system information><User Name> = VALANT-DB02$
  2. <environment-variables><COMPUTERNAME> = VALANT-DB02
  3. <environment-variables><USERNAME> = VALANT-DB02$
  4. <java-runtime-environment><user.name> = VALANT-DB02$

I'm not sure about the User Name parameters and how they're used, but it appears that the COMPUTERNAME parameter would have to change.

As for FishEye, there is a config.xml file that contains both a DB reference (since changed) and three others:

  1. <crowd-properties><application.name> which contains reference to DB02
  2. <crowd-properties><crowd.server.url>=http\://valant-db02.qpsseattle.local\:8080
  3. <properties><property name="applinks.admin.'long guid value'.rpc.url" value="http://valant-db02.qpsseattle.local:8080"

Of the three above, the application.name may not be important but we'll change it. Can I assume that the two URLs definitely need to be changed?

Also, any feedback on Jira->Plugins->FishEye Configuration->Application Link Configuration? That definitely looks like a player but since you can't change the application URL - just the Display URL - then will the application URL show the change when the XML files are changed?

Steve

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,959 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you