Since MariaDB 10 it is very easy to build a database cluster, 10.0 is easy, 10.1 is easier.
I share my notes:
http://inside-out.xyz/technology/how-to-configure-mariadb-synchronous-replication.html
After that, when you do a little change in one DB, the other gets it in the next second. Servers can be in a different data center, you just need to take care of communication and that's it.
I share my notes:
http://inside-out.xyz/technology/how-to-configure-mariadb-synchronous-replication.html
After that, when you do a little change in one DB, the other gets it in the next second. Servers can be in a different data center, you just need to take care of communication and that's it.