How To Configure a Galera Cluster with MariaDB on Ubuntu 12.04 Servers
Replication allows your databases to distribute load among more than one computer. While MariaDB natively supports master-slave replication, which allows you to offload read operations to a a number of slave servers, this master-master replication, which allows you to write data to any node, is not implemented. With a Galera cluster, MariaDB incorporates some patches that allow for master-master replication. We will be setting this up using Ubuntu 12.04 servers.