Difference between revisions of "XCAT Installation on Centos 7"

From Define Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
== Define Compute image for provisioning ==
 
== Define Compute image for provisioning ==
 
  copycds ${iso_path}/CentOS-7-x86_64-DVD-1908.iso (where ${iso_path} is directory of the iso)
 
  copycds ${iso_path}/CentOS-7-x86_64-DVD-1908.iso (where ${iso_path} is directory of the iso)
 +
 +
=== This file name must match the boot image from lsdef -t osimage ===
 +
 
== Enable ssh during the installation on the compute nodes ==
 
== Enable ssh during the installation on the compute nodes ==
 
== Enable the time service (Chronyd) ==
 
== Enable the time service (Chronyd) ==

Revision as of 15:49, 6 January 2021

Base Level Setup

Note: Starting point Centos minimal 7 with networking in place and setup

We start by setting the hostname and disabling SElinux

setenforce 0
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux 
yum -y install vim tmux wget rsyslog
systemctl enable rsyslog
systemctl start rsyslog

Setup naming and hosts file

Disable the firewall

Setup the software repos

Download CentOS

wget http://mirrors.ukfast.co.uk/sites/ftp.centos.org/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso

Define Compute image for provisioning

copycds ${iso_path}/CentOS-7-x86_64-DVD-1908.iso (where ${iso_path} is directory of the iso)

This file name must match the boot image from lsdef -t osimage

Enable ssh during the installation on the compute nodes

Enable the time service (Chronyd)

Add a node to the installation

Check the rcons status

Set the nodes to pxeboot