XCAT Setup RAID1 on Compute Nodes

From Define Wiki
Revision as of 12:56, 19 December 2020 by David (talk | contribs)
Jump to navigation Jump to search

Create the Partition Script area

# setup RAID1 for the compute nodes
mkdir -p /install/custom/partition/

# grab the provided rhel raid1 script  
wget https://raw.githubusercontent.com/xcat2/xcat-extensions/master/partition/raid1_rh.sh      -O /install/custom/partition/raid1_rh.sh

# set the partition script for the osimage
chdef -t osimage centos8-x86_64-install-compute partitionfile="s:/install/custom/partition/raid1_rh.sh"

# note: check the end of the file to edit/change the default layout
# for e.g. comment out /var lines as docker will use that area for images

# reprovision the node 
rinstall node0001 osimage=centos8-x86_64-install-compute