Symptom:
(public)
Problem:
(public)
If you have an Aventurin{e} cluster and want to move it from one datacenter to another - AND have to change the network settings while doing so - use this guide:
Solution:
(public)

0.) Optional: On the master run /usr/sausalito/sbin/vz_vserver_backup.pl to create an up to date backup of the VPS's where backup is configured. Use this if you have remote backup enabled and configured, so that you have a full offserver backup somewhere. That's always good to have.

1.) Shutdown the secondary.

2.) Shutdown the primary.

3.) Move the servers to the new location. Reconnect all network cables prior to powering on the servers.

4.) Power up the servers.

5.) On both servers run /root/network_settings.sh from the command line as root. That will guide you through a setup that changes the network settings and which also publishes these new network settings to the DRBD and HA config files.

6.) Done. The cluster should be up and configured again.

7.) Use the Aventurin{e} GUI on the master to switch all VPS's to new IPs. Also make sure to update the "VPS IP address allocation" for each VPS that uses more than one IP.