Here’s the situation: You want to include a Raspberry Pi as a slave node into the cluster.
Before continuing, you have to answer every statement with yes:
Good, you made it to this point, you’re ready to start. Here’s an ovierview of tasks you’ll need to accomplish:
Our DHCP server is configured that “guests” in the networ will get IP addresses in the range of 192.168.17.50 - 99. Our designed slave is a guest when connecting for the first time. We have to find our guest, and make it a node with a static IP address.
Precondition: nmap is installed
sudo nmap -sP 192.168.17.50-99 | grep Raspberry
MAC Address: A1:11:BB:22:33:CC (Raspberry Pi Foundation)
This is the MAC address of the Raspberry Pi, now we have to find the corresponding IP address like so:
arp -a | grep -i "A1:11:BB:22:33:CC"
? (192.168.17.55) at a1:11:bb:22:33:cc [ether] on eth0
That tells us we can connect to 192.168.17.55 using “pi”, since we expect the Pi to be a freshly installed operating system.
Now it’s time to asssign an IP address to the new node. Be aware, that an IP address may not be assigned twice. Follow the instructions on how to set a static ip address for slave.
Now continue with the tasks for the slave node setup.