.~~. .~~.
'. \ ' ' / .'
.~ .~~~..~. _ _
: .~.'~'.~. : ___ ___ ___ ___| |_ ___ ___ ___ _ _ ___|_|
~ ( ) ( ) ~ | _| .'|_ -| . | . | -_| _| _| | | | . | |
( : '~'.~.'~' : ) |_| |__,|___| _|___|___|_| |_| |_ | | _|_|
~ .~ ( ) ~. ~ |_| |___| |_|
( : '~' : ) ___ _ _ _ ___ _____ ___ ___
'~ .~~~. ~' | __| |_| | |_ -|_ _| -_| -_|
'~' |___|___|___|___| |_| |___|_|_|
This initial setup is for an 8 node cluster, 1 login node with 7 compute nodes. The master is setup to nat traffic to the compute nodes as well as provide DHCP. The master node is the only one that requires connecting to the internet over the wifi.
Setting up the raspberry pi cluster
- Flash raspbarian to the SD card on each of the pies.
- Login with "pi" "raspberry", change the default password.
- Enable SSH "systemctl enable ssh" "systemctl start ssh"
- Set hostname "hostnamectl set-hostname pi_nodeXX"
- Login in to the head node and add the hosts information to the ansible hosts file
- Modify the pi_compute_node_setup.yml to include the hosts in the required spots
- Modify the pi_login_node_setup.yml to include all of the correct hosts in the required spots including the required DHCP info.
- Run "ssh-copy-id pi@pi_nodeXX" from the login node to setup passwordless ssh
- Run the ansible pi_login_node_setup.yml playbook
- Run the ansible pi_compute_node_setup.yml playbook
To add additional nodes, add addtional nodes to the configuration and re-run.