layout | title |
---|---|
default |
Some extra things that can be done |
- On a Linux laptop (or with a USB SD card reader) take an image of this:
dd if=/dev/mmcblk0 of=node.img
- Copy node.img to the master Raspberry Pi's home directory.
Download the pxe-boot scripts:
git clone https://github.com/carpentriesoffline/pxe-boot.git
cd pxe-boot
./pxe-install
Initalise a PXE node:
./pxe-add <serial number> ../node.img <IP address> <node name> <mac address>
for example:
./pxe-add fa917c3a ../node.img 192.168.5.105 pixie002 dc:a6:32:af:83:d0
This will create an entry with the serial number in /pxe-boot and /pxe-root.
- Copy the Slurm config to the node filesystems
cp /etc/slurm/slurm.conf /pxe-root/*/etc/slurm/
- Boot up a client
- Run sinfo to see if the cluster is working You should see something like
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
pixiecluster* up infinite 5 idle pixie[002-006]