I want to create a MariaDB 10.4 multi-master cluster on four Ubuntu 20.04 nodes. As you know Galera manager provides a web GUI interface for the cluster and it's handy for monitoring and add or remove nodes.
But because I am not using Galera Manager on the Amazon ec2 platform, I encountered some errors, and here is what I've done:
I have ubuntu 20.04 with MariaDB 10.4 as node1.
On the node1 server, I have enabled root to log in over ssh.
On Galera manager which is on another Ubuntu server, I have imported root ssh keys to node1, so Galera Manager can access node1 server over ssh with root users.
On the Galera manager console I have created a cluster as you can see here:
- Then I added node1 server to the cluster as you can see here:
- You can see the complete deployment log as you can see here:
- After node installation finishes node status will become unknown as you can see here:
At this point, you cannot start or stop the node, and as you can see log files are empty! and the whole cluster becomes useless, no matter how many nodes you add they all become unknown.
I know that I can create a multi-master Galera cluster without the Galera manager, but as I mentioned before, I need it for monitoring and scaling