Slave from Galera Cluster
Running a cluster of 3+1 of galera cluster with cluster control.
Looking at adding in a slave. what is the best practice for doing this?
Thanks!
-
Hi Mike,
You can refer to this blog post: http://www.severalnines.com/blog/asynchronous-replication-galera-cluster-mysql-server-gtid
Regards,
Ashraf
-
Hi Mike,
MariaDB 5.5 doesn't support GTID. You need MariaDB 10 which equivalent to MySQL 5.6. You can stick with 5.5 but you will fall under what has been explained in Hybrid Replication in MySQL 5.5 section of the blog post.
If you are OK with that, you can just choose one of the Galera node and set it up as a master (enable binlog, grant replication user etc). Then dump out the data to the slave node and start the replication.
Regards,
Ashraf
Please sign in to leave a comment.
Comments
3 comments