Galera cluster deployment based on docker swarm using Linux Containers (LXC) with automatic deployment via Ansible.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
root e2d286a596 Extra commits 4 years ago
inventory Updates 4 years ago
roles/lxc_swarm Updates 4 years ago
DOC.md Update 'DOC.md' 4 years ago
INSTALL.md Update 'INSTALL.md' 4 years ago
Makefile Initial commit 4 years ago
README.md Update 'README.md' 4 years ago
ansible_install.sh Extra commits 4 years ago
ansible_provisioning.sh Extra commits 4 years ago
ansible_swarm_config.sh Initial commit 4 years ago
galera.yml Second commit 4 years ago
swarm-galera.yml Initial commit 4 years ago

README.md

In this virtual lab we used mainly the following tools:

  • Docker swarm for service creation and container orchestration
  • Linux Containers (LXC) for swarm worker nodes
  • Ansible for automatic deployment
  • Galera-inside-docker for MariaDB clustering

In more detail, the manager node is running on the host machine itself, while the provisioning of LXC containers permits the creation of multiple worker nodes on which the galera cluster runs, running on the same host without the need for separate worker machines.

Ansible is used for the total automation of the deployment process, which is constituted after by the usage of Makefile, in the specific case of the combination of LXC with Docker swarm and Galera cluster, provided that all the necessary modules are available with the latest version of ansible which is installed automatically by make.