-
Bug
-
Resolution: Fixed
-
Low
-
3.5.13, 5.1.2
-
None
Upgrading existing Confluence data to a clustered environment as per this documentation no longer works, as the following Cluster properties are not added to confluence.cfg.xml after the cluster installation:
<property name="confluence.cluster">true</property> <property name="confluence.cluster.address">233.143.107.205</property> <property name="confluence.cluster.interface">eth4</property> <property name="confluence.cluster.name">test</property> <property name="confluence.cluster.ttl">1</property>
Workaround
- Use the list-interfaces.jar found in CONFSERVER-10979 to identify the network interface for the cluster. Use the identified network interface in confluence.cfg.xml. e.g.:
<property name="confluence.cluster.interface">eth4</property>
- Navigate to http://path-to-confluence/admin/cluster/hashclustername.jsp , enter the desired cluster name, and hit Generate. Use the resulting cluster address with your cluster name in the following properties in confluence.cfg.xml :
<property name="confluence.cluster.name">test</property> <property name="confluence.cluster.address">233.143.107.205</property>
- Add the following properties along with the properties added earlier to confluence.cfg.xml:
<property name="confluence.cluster">true</property> <property name="confluence.cluster.ttl">1</property>
In the end, you should get something like this:
<property name="confluence.cluster">true</property> <property name="confluence.cluster.address">233.143.107.205</property> <property name="confluence.cluster.interface">eth4</property> <property name="confluence.cluster.name">test</property> <property name="confluence.cluster.ttl">1</property>
drizzuto this is ready to merge.