Upgrading a cluster
Here are the steps for upgrading a cluster, i.e. two XiVO with High Availability (HA):
On the master : deactivate the database replication by commenting the cron in
/etc/cron.d/xivo-ha-master
On the slave, deactivate the xivo-check-master-status script cronjob by commenting the line in
/etc/cron.d/xivo-ha-slave
On the slave, start the upgrade:
xivo-slave:~$ xivo-upgrade
When the slave has finished, start the upgrade on the master:
xivo-master:~$ xivo-upgrade
When done, launch the database replication manually:
xivo-master:~$ xivo-master-slave-db-replication <slave ip>
Reactivate the cronjobs (see steps 1 and 2)