Difference between revisions of "XCAT Setup RAID1 on Compute Nodes"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Create the Partition Script area == <pre> # setup RAID1 for the compute nodes mkdir -p /install/custom/partition/ # grab the provided rhel raid1 script wget https://raw....")
 
Line 6: Line 6:
 
# grab the provided rhel raid1 script   
 
# 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
 
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
 
# note: check the end of the file to edit/change the default layout

Revision as of 12:56, 19 December 2020

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