Set up a new Raspberry Pi 3 to join the cluster

Submitted by code_admin on Wed, 07/25/2018 - 15:23

The standard ClusterHat configuration has a RaspberryPi 3 controller and 4 Pi Zeros plugged into the top. I wanted to run a DB server and I thought it would be good to seperate it from the controller so I purchased another RaspberryPi 3, SDCard and Standoffs. I could then attach it physically below the controller and I then used this process to set it up.

Downloaded latest Raspbian Jessie Lite image

Put the image on the SD card

Cluster Hat - Other Processes

Submitted by code_admin on Wed, 07/25/2018 - 15:23

Tutorial Link

I have some misc processes I use with the Cluster Hat cluster I created and I wanted to document them here so I don't have to go through my entire tutorial series to find the relevant commands:

Rebuild a dead Pi Zero

TODO

Redistribute a docker image

Most of the command examples here are for my apache image.
Delete all the old versions of the image from controller using docker rmi xxx

Once this is done build a new image: