So far I have managed to get all the nodes online using a program called Stacki-docker. This allows you to deploy a Centos7 machine with docker-swarm preinstalled and setup.
This results in a setup as follows (Frontend Server):
stack list host
HOST RACK RANK CPUS APPLIANCE BOX ENVIRONMENT RUNACTION INSTALLACTION
stacki 0 0 8 frontend default ----------- os install
backend-0-0 0 0 8 backend default ----------- os install
backend-0-1 0 1 8 backend default ----------- os install
backend-0-2 0 2 8 backend default ----------- os install
backend-0-3 0 3 8 backend default ----------- os install
backend-0-4 0 4 8 backend default ----------- os install
backend-0-5 0 5 8 backend default ----------- os install
backend-0-6 0 6 8 backend default ----------- os install
backend-0-7 0 7 8 backend default ----------- os install
backend-0-8 0 8 8 backend default ----------- os install
backend-0-9 0 9 8 backend default ----------- os install
Docker-swarm Master:
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
bijpg90pm28272glomjlk34uv backend-0-8.brvserv.com Ready Active
ibjijhlcazymcsy4x6isx87d7 * backend-0-0.brvserv.com Ready Active Leader
isrzubv9drdeu5we2qnqj3hp5 backend-0-1.brvserv.com Ready Active Reachable
j9gi79gjln75tnw3iz0nlt7o8 backend-0-4.brvserv.com Ready Active Reachable
m0u5crq7hwswvhbrzxg6taxlc backend-0-3.brvserv.com Ready Active Reachable
mmqvqirxkhy2jh9cfvsniwk6a backend-0-9.brvserv.com Ready Active
sq7o2m7mk6ojo0732p58umeuf backend-0-5.brvserv.com Ready Active
utu98hqpg1bmeoqeme1z860kx backend-0-6.brvserv.com Ready Active
xpj3qth50u2iz6htdcgrvkjld backend-0-2.brvserv.com Ready Active Reachable
yl6v6aq7k0r7ldmso5c132i6e backend-0-7.brvserv.com Ready Active
The hosts are on a private network 10.0.13.0/24 with a pfsense box on .1 and frontend at .2 for management, the host nodes are numbered descending from 254.
The plan is to setup a docker image running gentoo debian or alpine to host the distccd and the required compiler tools (gcc armv7 etc).
Some examples I've found:
https://hub.docker.com/r/jprjr/distcc-rpi/
https://hub.docker.com/r/tim03/distcc/
https://hub.docker.com/r/choldrim/distcc/
My question is that I see all of them are setup as indivdual containers on the single node, I want to install them as a service on all the nodes with the LAN port being the only external connection to the LAN from the VM.
What do y'all think the best route is forward from here?