I am confused about the bootstrap process of MariaDB Galera Cluster.
Let's say we have 3 nodes of a MariaDB Galera Cluster, working and functioning normally on CentOS6/7. However, at some point we have (doesn't matter by what reason) to stop all 3 nodes and then start up the cluster. We are stopping the nodes 1 by 1 normally and cleanly. In order to start up the cluster, I go and check out grastate.dat and see which node is with most current data. I bootstrap this node first.
What is unclear to me is how the bootstrap is done exactly for CentOS 6 and 7. The 2nd and 3rd node can be started with
systemctl start mysql. How do we start the first node? Do we use
service mysql start --bootstrap on the first node with most current data? I read that for CentOS 7 it's
systemctl start [email protected]. What is the procedure of boostrapping the first node of the cluster after we stopped all 3 nodes normally?
PS: Related to this, with some more details, is the post by dr01: grastate.dat with seqno -1 on a healthy cluster. Why?