Name: poa-cluster-ansible
Owner: Parity Technologies
Description: Ansible scripts for setting up clusters of parity nodes
Created: 2016-11-03 15:26:12.0
Updated: 2017-12-28 04:35:53.0
Pushed: 2016-11-29 18:19:18.0
Homepage: null
Size: 11
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A collection of Ansible scripts used in setting up a cluster of Parity nodes.
Currently allows to set up a Docker Swarm Mode cluster on a number of target hosts.
Provision a few hosts in a cloud of your choice or locally, using VirtualBox or similar software. Take note of their ip addresses, usernames and make sure you have ssh access to these machines.
Populate group_vars/inventory/cluster
with the IP addresses, appointing one to be the manager (multiple managers currently not supported) and the others as workers, e.g.
ager]
3.4
ker]
7.8
.11.12
4.15.16
If the ssh username is not “root”, then you can specify it like this, also in the inventory file:
3.4 user=my_username
To configure Docker Swarm, run
pts/init_cluster.sh
This should initialise a new Docker Swarm and connect all listed hosts into a single cluster.