I have a MariaDB Galera cluster.
If some nodes fail, I cannot blindly restart them, I have to determine a good wsrep_cluster_address
first.
If I can keep a keepalived virtual IP on one of the healthy nodes, can I use this IP as wsrep_cluster_address
on other nodes? So in case of node failure, the joining node would always have a right wsrep_cluster_address
? Or are there any other solutions enabling automatic rejoin?
I feel it should be somehow possible to keep the cluster up and automatically rejoin nodes as long as there is at least 1 healthy node (or Primary Component
?) up.
(Note: I am aware of the answer in Galera cluster without having to specify all hosts on wsrep_cluster_address, but multicast is unfortunately not an option.)