Introduction
The Galera Cluster Juju Charm was recently released, and it is now possible to start scalable Galera Clusters using the Juju deployment framework on the public or private cloud (OpenStack, Amazon, Azure and bare metal are all supported). All the logic required to fire up Galera is encapsulated in the Charm, which is a small package of scripts and configuration files that is automatically downloaded and added to your environment.
Installing and Configuring Juju
The Juju client is available for Ubuntu, OSX and Windows. Installing it is a matter of adding its dedicated package repository:
$ sudo add-apt-repository ppa:juju/stable
$ sudo apt-get update && sudo apt-get install juju-core
Then run
$ juju generate-config
in order to create the Juju configuration file, ~/.juju/environments.yaml, which you can then edit for your particular cloud …
[Read more]