installing CentOS 6 on computing nodes (cluster 10/11)
Warning: CentOS 6 has reached end-of-life (EOL). This guide is preserved for legacy cluster maintenance only.
This document records the procedure for installing CentOS 6 on a computing node in cluster 10/11, including network configuration, InfiniBand firmware, and queue system setup.
Follow the official CentOS guide for creating a bootable USB drive.
diskutil list
diskutil unmountDisk /dev/diskN # replace N with disk number
sudo dd if=/path/to/image.iso of=/dev/rdiskN bs=1m
# Press Ctrl + t to check progress
diskutil eject /dev/diskN
Note: /dev/rdiskN is faster than /dev/diskN.
Choose Software Development or Server installation.
Recommended disk partitioning (300 GB in total):
/boot: 500 MB (ext3)swap: 64 GB/: remaining spaceIn file /etc/selinux/config, change SELINUX=enforcing to SELINUX=disabled.
Edit the following files and compare with other nodes:
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-em1
/etc/sysconfig/network-scripts/ifcfg-ib0
/etc/hosts
/etc/hosts.equiv
Additional steps to clear SSH cache:
/root/.ssh/known_hosts on the management node./root/.ssh from the management node to the compute node.service network restart or /etc/init.d/network restart.Mount the ISO:
mount -o loop,ro centos6.iso /mnt/centos6-iso
Create /etc/yum.repos.d/os.repo:
[os]
name=CentOS6-OS
baseurl=file:///mnt/centos6-iso
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Test:
yum list
Please check the following blogs first:
yum install tcl-devel tk-devel libmnl-devel
Install Mellanox Firmware Tools (MFT) from the official website.
Here we follow the Nvidia support page.
> [root@node3_ib ~]# lspci | grep Mell
> 03:00.0 Network controller [0207]: Mellanox Technologies MT27500 Family [ConnectX-3]
> [root@node3_ib ~]# flint -d 03:00.0 q
> Image type: FS2
> FW Version: 2.40.5048
> FW Release Date: 5.3.2017
> Product Version: 02.40.50.48
> Rom Info: type=PXE version=3.4.746 devid=4099
> Device ID: 4099
> …
> PSID: DEL0A20000018
Record the PSID value, that is, DEL0A20000018.
Since the PSID is from Dell, we need to download the firmware from https://www.mellanox.com/support/firmware/dell?mtag=oem_firmware_download. A complete list can be found in the Mellanox website.
mst start
mst status
flint -d /dev/mst/mt4099_pciconf0 -i fw-ConnectX3-xxxxx.bin burn
Reboot afterward.
The driver can be downloaded from the Mellanox website.
MLNX_OFED_LINUX-4.1-1.0.2.0-rhel6.5-x86_64/mlnxofedinstall
Restart OpenIB:
/etc/init.d/openibd restart
Verify:
ofed_info | head
ibstat
All binaries are available on the IO node. Only /home and /backup need to be mounted.
/backup /etc/fstab mount -a
export SGE_ROOT=/home/jointforce
cd /home/jointforce
./install_execd
cp /home/jointforce/default/common/settings* /etc/profile.d/
service iptables save
service iptables stop
chkconfig iptables off
Edit:
/etc/sysconfig/network
/etc/yp.conf
/etc/nsswitch.conf
Follow internal documentation or existing cluster configuration.
/opt/easycluster from an existing node./opt/easycluster/background/easy_c in /etc/rc.local.Copy necessary configuration files to /etc/profile.d/.
This setup reflects legacy cluster configuration practices. For new deployments, consider using a modern distribution (e.g., Rocky Linux) and contemporary workload managers such as SLURM.
Cluster configuration should be documented carefully and updated whenever changes are made.
Here are some more articles you might like to read next: