The recommended way of changing database connections is to shut down the whole cluster, install Confluence into new and empty directories and use the Setup Wizard to configure all new database connection settings.

However, if you wish to manually change your settings, you may proceed as described below.

(warning) It is strongly recommended that you test all of the following in a staging or test instance of Confluence before performing these steps in your production environment.

Step 1: Prepare

  • Locate the confluence-cfg.xml file in the Confluence home directory.
  • Make a backup copy of that file.
  • Prepare the necessary changes to that file.

Step 2: Shut Down Confluence

You need to shut down all the nodes in the cluster, not just one.

Step 3: Apply your Changes

Apply your configuration changes to the required node.

Step 4: Restart the Changed Node

It is crucial that you bring up the node on which you applied the changes first. Otherwise you will get an error message, and have to shut down all instances again.

Step 5: Restart all Other Nodes

(info) これで完了です。

RELATED PAGES

Overview of Confluence Clusters