MMM (Multi-Master Replication Manager for MySQL) is a set of flexible scripts to perform monitoring/failover and management of MySQL master-master replication configurations (with only one node writable at any time).
The toolset also has the ability to read balance standard master/slave configurations with any number of slaves, so you can use it to move virtual IP addresses around a group of servers depending on whether they are behind in replication.
http://mysql-mmm.org/PS. кстати, там есть ссылка на перкону
"No! Try not! Do. Or do not. There is no try." -- Yoda