is it possible to have MySQL Active-Active Clustering with DRBD?

Chetan Sharma picture Chetan Sharma · Aug 28, 2013 · Viewed 10.4k times · Source

we use MySQL 5.6 InnoDB engine for our database purpose. currently we have a single instance of it , but as our application is growing , we want to have our database in cluster mode. now what we have done till now :

We tried MySQL NDB cluster 7.3.1 (Lab version ): but we still face problems with foreign keys and it doesn't seems to be reliable.so we tried next option.

we tried mysql active/passive clustering with DRBD, pacemaker and corosync : everything works fine on two nodes.

now we want to do Mysql active-active clustering , even after a lot of google i am unble to find any information on it , can we do it with DRBD or there is some other way to do it.

please help !!!!!

Answer

ralph picture ralph · Sep 26, 2013

Take a look at Galera Cluster for MySQL or (based on that) the Percona XtraDB Cluster.

http://codership.com/content/using-galera-cluster

http://www.percona.com/software/percona-xtradb-cluster

Both provide multi node active mysql server (only for innodb) with easy setup.