Chapter 16. Additional Installation Options
186
16.3.1. Failover
This will provide for a replicated database that can be used to implement manual failover for the
Management Servers. CloudPlatform failover from one MySQL instance to another is performed by
the administrator. In the event of a database failure you should:
1. Stop the Management Servers (via service cloudstack-management stop).
2. Change the replica's configuration to be a master and restart it.
3. Ensure that the replica's port 3306 is open to the Management Servers.
4. Make a change so that the Management Server uses the new database. The simplest process
here is to put the IP address of the new database server into each Management Server's /etc/
cloudstack/management/db.properties.
5. Restart the Management Servers:
# service cloudstack-management start