Here we will be using insert-ethers tool within Rocks cluster to discover new compute nodes and add them to Rocks cluster database. The node to be discovered is PXE booted and the insert-ethers tool intercepts the dhcp request, registers the node according to user-specified parameters and kickstarts the node.
Step 1: Login to frontend node as a root user
Step 2: Start the insert-ethers tool, specifying hostname, IP configuration and appliance type:
# insert-ethers –hostname compute-01 –ipaddress 10.11.12.112 –netmask 255.255.255.0 \
–rack 1 –appliance compute –max_new 1
The above command will wait for a machine to broadcast a dhcp request, identify that machine and register it in the ROCKS database as an comp appliance named compute-01 with IP address 10.11.12.112 located in Rack 1. The max_new parameter tells insert-ethers to exit once it has discovered a single node.
Once insert-ethers is running, network boot the node by either:
– Forcing a network boot at the BIOS screen by pressing [F8]
– Use the supplied node script to set boot device to PXE then power on:
# cd /root/media/contrib
# ./node 1 1 bootdev pxe
Node 1: Set Boot Device to pxe
# ./node 1 1 power on
Node 1: Chassis Power Control: Up/On
After several minutes the node will reach the network boot screen and send out a dhcp request. The insert-ethers screen will update with the MAC address of the node and wait until the node starts the Kickstart process. Once the Kickstart process is underway the insert-ethers tool will display an * after the hostname entry and exit back to the command prompt.
If you find this post is useful/helpful, please follow, like and share. Thank you for visiting my blog!!!