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.
1.1 KiB
1.1 KiB
Installlation instructions
Run as root user the following commands to automatically install the virtual lab and provision all the necessary elements for the containerized swarm setup of galera cluster with LXC containers functioning as worker nodes.
git clone https://git.swarmlab.io:3000/cs171027/galera-swarm-lxc-ansible/
cd galera-swarm-lxc-ansible/
chmod +x *.sh Makefile
make
In case of installation errors, which are in most cases related to network packet loss due to the configuration of Linux bridged networking which is used by LXC, please repeat the same steps as before.
After the installation is completed, the emergent result should be:
- A host machine running as a swarm manager node, with ansible, lxc and docker configured and installed.
- Two LXC containers up and running as swarm worker nodes, accessible via ssh & python from the root user of the host machine, which can be scaled optionally by adding extra entries inside the ansible inventory & task files.
- One container service for the Galera cluster server running in each of the LXC containers with one node as primary.