0% found this document useful (0 votes)
97 views2 pages

Xcat

This document provides instructions for installing and configuring the xCAT management software on a Red Hat Enterprise Linux system. It describes steps to disable firewall and SELinux settings, configure static IP addresses, install xCAT packages from repositories, verify the installation, configure DHCP and DNS services for PXE booting compute nodes, and generate diskless installation images. Once configured, xCAT allows for remote provisioning and management of compute nodes in the cluster.

Uploaded by

Victor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views2 pages

Xcat

This document provides instructions for installing and configuring the xCAT management software on a Red Hat Enterprise Linux system. It describes steps to disable firewall and SELinux settings, configure static IP addresses, install xCAT packages from repositories, verify the installation, configure DHCP and DNS services for PXE booting compute nodes, and generate diskless installation images. Once configured, xCAT allows for remote provisioning and management of compute nodes in the cluster.

Uploaded by

Victor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab 2:

systemctl disable firewalld

systemctl stop firewalld

vi /etc/selinux/config AND disable selinux (SELINUX=disabled)

You can use nmtui command to change the IP address and hostname.

Reduce the risk of the Management Node IP address being lost by setting the IP to STATIC in the
/etc/sysconfig/network-scripts/ifcfg-ens34 configuration files. Change the file name according to
your settings.

echo 10.0.0.21 masternode masternode.hpc.na >> /etc/hosts Change the name according to your
settings.

chdef -t site domain="hpc.local"

4. Install xCAT

Add the xCAT package repositories and install xCAT

yum install wget -y

cd /etc/yum.repos.d

wget https://xcat.org/files/xcat/repos/yum/latest/xcat-core/xcat-core.repo --no-check-certificate

wget https://xcat.org/files/xcat/repos/yum/xcat-dep/rh7/x86_64/xcat-dep.repo --no-check-


certificate

yum clean metadata

yum install xCAT -y

#Verify the install

tabdump site

#If the tabdump command works, xCAT is installed. If it doesn’t work, check to ensure all previous
steps completed sucessfully

. /etc/profile.d/xcat.sh

chdef -t site dhcpinterfaces="xcatmn|ens34"


chdef -t site domain="hpc.local"

lsblk

dd if=/dev/sr0 of=/root/centos.iso

#copycds - Copies Linux distributions and service levels from DVDs/ISOs to the xCAT /install
directory.

copycds /root/centos.iso

lsdef -t osimage

*centos7.7-x86_64-install-compute (osimage) -> Diskfull

*centos7.7-x86_64-netboot-compute (osimage) -> Diskless

*centos7.7-x86_64-statelite-compute (osimage)

lsdef -t osimage centos7.7-x86_64-netboot-compute

genimage centos7.7-x86_64-netboot-compute

packimage centos7.7-x86_64-netboot-compute

mkdef -t node cn01 groups=compute,all ip=172.16.2.11 mac= 00:50:56:27:4D:54 netboot=xnba

chdef -t group compute provmethod=centos7.6-x86_64-netboot-compute

makehosts

makenetworks

makedhcp -n

makedns -n

nodeset compute osimage=centos7.6-x86_64-netboot-compute

systemctl restart dhcpd

****Restart the compute node

You might also like