XCAT Add a new node to an existing cluster

From Define Wiki
Jump to navigation Jump to search

Add the node definition

mkdef -t node node0002 groups=compute,all \
                       ip=192.168.102.10 \ 
                       mac=00:15:B2:AA:E2:60 \ 
                       netboot=xnba \ 
                       arch=x86_64 \ 
                       bmc=192.168.101.10 \ 
                       bmcusername=admin \
                       bmcpassword=admin \
                       mgt=ipmi \  
                       serialport=1 \ 
                       serialspeed=115200 \ 
                       provmethod=centos8-x86_64-install-compute

Update the services

makehosts
makenetworks
makedhcp -n
makedns -n
makegocons
# this makes sure the pxe tftpboot files are in place
nodeset node0002  osimage=centos8-x86_64-install-compute

Check all the pxefiles are in place

[root@deploy ~]# find /tftpboot/ | grep node0002
/tftpboot/xcat/xnba/nodes/node0002
/tftpboot/xcat/xnba/nodes/node0002.uefi

Force the install

rpower node0002 cycle