While working on some MySQL stuff today I came across some interesting projects. About 2 years ago I attended the Boston MySQL Meetup group which had a guest speaker (Patrick Galbraith) and he spoke about setting up MySQL in a Multi-Master setup. This is where you have two MySQL database servers and each one is a slave of the other. Today I came across two projects that look promising, the first is Multi-Master Replication Manager for MySQL (or MMM) and the second is Flipper.
MMM is a set of scripts that perform monitoring/failover and management of MySQL master-master replication. Flipper is also a set of tools that manage which server in a Multi-Master setup is writable and which is readable by moving IP addresses based on the server’s role. Both look very promising and hopefully soon I’ll have some free time to play around with them.
