If you have recently attended some Percona Live events or if you have checked some slides from Yves Trudeau, you may have heard about Percona Replication Manager (PRM), a new high availability tool for MySQL.
PRM is an OCF Resource Agent for Corosync / Pacemaker that take cares of MySQL and manages the replication.
Corosync allows any number of servers to be part of the cluster using any number of fault-tolerant configurations (active/passive, active/active, N+1, etc.) It also provides messaging between servers within the same cluster.
Pacemaker manages the resources and applications on a node within the cluster.
I have created a Vagrant environment to speed up installation and testing this new solution for HA.
The url of the git repository including the Vagrant file and the puppet recipes is https://github.com/lefred/percona-prm.
You can use the CentOS 6 base box I used in the previous post (Testing Percona XtraDB Cluster with Vagrant).
In the follow “terminalcast” you can see how to deploy the setup and some basic commands to check and manage your cluster:
PlanetMySQL Voting: Vote UP / Vote DOWN