Some extra things that can be done
Last updated on 2026-06-17 | Edit this page
Overview
Questions
- How can you provision additional compute nodes without repeating the full setup?
- What is PXE booting and how does it help scale a cluster?
Objectives
- Create a disk image of a configured compute node using
dd - Set up PXE booting to allow nodes to boot from the network
Making an image of the compute node OS
- On a Linux laptop (or with a USB SD card reader) take an image of this:
- Copy node.img to the master Raspberry Pi’s home directory.
Setup PXE booting
Download the pxe-boot scripts:
Initalise a PXE node:
for example:
This will create an entry with the serial number in /pxe-boot and /pxe-root.
- Copy the Slurm config to the node filesystems
Test PXE booting
- Boot up a client
- Run sinfo to see if the cluster is working
You should see something like:
Links
- https://www.clearlinux.org/clear-linux-documentation/tutorials/hpc.html
- https://www.quantstart.com/articles/building-a-raspberry-pi-cluster-for-qstrader-using-slurm-part-3/
-
ddcan create an exact disk image of a configured compute node SD card, which can then be written to new cards - PXE booting allows compute nodes to load their OS from the network, removing the need for individual SD cards