Netbooting RPi – booting worker nodes from master node

Preamble

After reading Building Linux Clusters by David H.M. Spector, I am looking for a method to bootstrap slave/compute/worker nodes, across a network, in a Pi/Linux cluster. This process uses old-skool boot floppies on the slave/compute/worker nodes to contact the master node and then bootstrap from images held on the same master node, across the network – thereby centralising the boot images/process.

After searching I haven’t found one that jumps out from a Google search [Ed. – maybe you should have searched more carefully?]. The only thing that I can think of, that is remotely similar, is a video of Jeff Geerling’s that showed a new Pi using a beta functionality called “Network Install”, with the Pi downloading an image from a remote Raspberry OS image server – effectively booting across a network.

Can this functionality be adapted to boot (i.e. download a boot image) from a local repository/server on the master node of a cluster?

Answer: Yes, of course you can… it is blindingly obvious (if you’ve had enough sleep)…

Continue reading Netbooting RPi – booting worker nodes from master node

Using pi-bootstrap

Preamble

Instead of using Ansible to modify a running Pi OS base image, how about creating, and preconfiguring, an image that is ready to go?

Uses PIMOD, and pi-bootstrap.

I came across the pi-bootstrap repository/template whilst looking for a method to bootstrap slave nodes in a Pi/Linux cluster, after having read about a network bootstrap process which is documented in Building Linux Clusters by David H.M. Spector. This process uses old-skool boot floppies on the slave nodes to contact the master node and then bootstrap from images held on the same master node, across the network – thereby centralising the boot images/process.

However, pi-bootstrap is a bit of misnomer as it won’t actually bootstrap a RPi,  but rather, just create a preconfigured SD card to boot from, using Github actions. Nevertheless, that is still pretty useful…

Continue reading Using pi-bootstrap

Ryze Tello

Preamble

Since following Murtaza course, Course notes: Drone/Python, I’ve wanted one of these Tellos – principally for the DJITelloPy functionality ( / DJITelloPy). However, they do seem to be plagued with a few issues, and each time I think about getting one and do some research, I seem to find a new issue. To start with, just read these reviews

Continue reading Ryze Tello