I have a MySQL database with some data in it. Now I want to create cluster from this this database.
I've already configured Galera, and I have just this single node. Now, how to replicate the data to ather nodes?
Will it happen auto-maicaly by Galera, or should I dump current data first, then clean the DB on the first node, start all other nodes and load the data to one of them and wait for them to replicate.
Following question is: how to add/remove nodes in runtime?
Just if somebody is still interested in an answer to this.
The procedure is:
Any new nodes will first receive the current state of the DB before becoming available.
https://mariadb.com/kb/en/mariadb/getting-started-with-mariadb-galera-cluster/#getting-started
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.