How to setup three nodes MariaDB Galera Cluster on Single server with MySQL sandbox

For the production environment, it’s recommended that we should use separate server for each Galera Cluster node but sometimes, for the testing purpose we have to setup it on one server with different ports. Here are the steps for how to do that with CentOS 6.8, MariaDB Galera Cluster 10.1.21 and MySQL Sandbox Download MariaDB 10.1.21 from this location…