Step 4 of Building NUC Cluster

Provisioning NUC node with OS, PXE booting

By Alexey Siretskiy

Five Main Steps

Building a NUC cluster has the following five steps:

In order to be able to install OS via network, the node’s network interface card (NIC) must support PXE booting. This is so for the most modern NICs.

The only setting might be necessary to enable – is the network booting in the BIOS settings.

Lets attach empty NUC to port 2, which belongs to vlan2 and press the start button.

Most likely one will face a screen similar to:

 no dhcp offers were received

Check systmemctl status dnsmasq. If the status is alive – check the firewall:

[root@c2gw xadmin]# firewall-cmd --list-all

Observe the services line. If that does not contain dhcp, it means that firewall in blocking port 67/53.

[root@c2gw xadmin]# firewall-cmd --add-service dhcp

Reboot the worker NUC. Now one should see that DHCP works, and the worker was assigned the local IP e.g. 10.200.1.103. The trouble, however, is with the TFTP:

 no dhcp offers were received

That is correct, the TFTP service on port 69 is not enabled on the firewall.

[root@c2gw xadmin]# firewall-cmd --add-service tftp dns http

Let’s add dns and http as well. Reboot the worker NUC. The screen should display Cobbler greeting menu with a set of offers. Choose one to fire-up the PXE-install!

 no dhcp offers were received

##Result

The setup up to the this moment allows usto establish a cluster by attaching new nodes to the switch and automatically provision them with the OS. Our final mark could be to hide switch behind the NUC GW firewall.

Updated: