Forums

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

How do we move the confluence application to a new server

Harini Gangaraj March 25, 2019

Hi all,

 

   We have confluence application and the database installed on the same server for testing purpose. But would like to move the application to a newer server on prem - OS is windows and the database is sql server 2016.  anyone done this before ? Any pointers to do this smoothly is very much appreciated.

 

Thank you in advance

1 answer

0 votes
JP _AC Bielefeld Leader_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2019

Hi,

I would try the following procedure on a test/staging server first:

1. Shutdown Confluence on old server

2. Backup everything (Confluence & database)

3. Make sure Confluence doesn't startup again on the old server (Disable/Delete Service)

4. Copy Confluence directories to the new server (Inst & data). Copy them to the EXACT same drive & directory structure.

5. Check the server.xml file for static IP-Addresses / DNS entries of old server & change them to the new server

5.a Are you using a proxy server in front of Confluence? Is it running on the same machine? Move it, too & check the configuration (IP-Addresses,etc).

6. Check your database connection. This depends if you use a direct database connection from Confluence or a database connection handled by the Tomcat server of Confluence (JNDI).

https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html

7. Change your DNS to point to the new server

8. Create a new Confluence server on the new server (service.bat install) (Check documentation)

9. Configure the java.properties to the same values as on the old server (Start tomcat8w.exe or tomcat9w.exe on the old server to check set settings & copy them to the new server)

10. Check local firewall settings. Make sure the database server can be reached & that the new server is reachable by http/https (80/443) & (if needed) can open connection to 443 by itself (Checking Atlassian Marketplace for app upgrades).

11. You might want to clear the application.log before starting up on the new server.

12. Start up the service on the new server (net start ConfluenceXXXXXXXXX) or use the service UI.

13. Check the logs for a smooth startup

I just did this procedure last weekend & it was very smooth.

Best

JP

Harini Gangaraj March 25, 2019

JP ,

 

   Thank you so much for the detailed procedure.  I do have one question though --  you had mentioned that 

 

4. Copy Confluence directories to the new server (Inst & data). Copy them to the EXACT same drive & directory structure.

 

Right now  everything is on the C:\. i would like to move the install to its own drive.   is this not feasible ?

 

Regards

Harini

JP _AC Bielefeld Leader_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2019

Well,

you really have to test this on a staging/test server.

Check this:

https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events