This post is the third of a series that started here.
From the previous of this series, we now have two working EC2 instances that are EBS based. The first instance is the monitor, usually an m1.small type instance and the second instance is hamysql, a large instance type. So far, we have configured Heartbeat for communication between the nodes. Now, it is time to configure the HA resources in Pacemaker. Here are the requirements for the HA resources:
On Monitor
- Kill the other instance
- Free the share resources
- Start a new hamysql instance
- Reconfigure the clients
- Give away the resources
On hamysql
- Run MySQL
- Monitor MySQL
- Get out …