Galera Cluster for Rancher
This blog post is the second part of a series of three tutorials dedicated to Rancher High-Availability. We previously installed a replicated Master-Master MySQL database. This time we will install a MariaDB Galera Cluster on three servers.
The trick is that we are going to use a first Rancher to install the database cluster for a second Rancher server (used in production). In the end we will have one Rancher server that manages its own database cluster!
This tutorial explains:
- How to install a standalone Rancher server,
- How to install a MariaDB Galera cluster,
- How to export the Rancher database into Galera,
- How to restart Rancher using the database cluster.