This is an old revision of the document!
192.168.102.48 n38 n38-eth0 10.10.102.48 n38-eth1
cd /etc/sysconfig/network-scripts/ vi ifcfg-eth0 # 192.168.102.x vi ifcfg-eth1 # 10.10.102.x # 'uuidgen eth1' to get uuid
# root: sync cottontail's master and known_hosts (tails+stores) ssh-keygen -t rsa scp 10.10.102.253:/root/.ssh/authorized_keys /root/.ssh/ /etc/ssh/sshd_config (PermitRootLogin)
# make internet connection for yum
# iptables dnf install -y iptables-services # port 22 wesleyan only -A INPUT -i eth1 -m state –state NEW -m tcp -p tcp -s 129.133.0.0/17 -d 129.133.52.222 –dport 22 -j ACCEPT -A INPUT -i eth1 -m state –state NEW -m tcp -p tcp -s 129.133.128.0/18 -d 129.133.52.222 –dport 22 -j ACCEPT systemctl start iptables
dnf install bind-utils dig google.com iptables -L # check!
# Rocky8 ??? dnf config-manager –set-enabled powertools -y dnf install epel-release -y dnf install netcdf netcdf-devel -y dnf install yum-utils # yumdownloader -y dnf install ddd grace gnuplot alpine -y # pico
yum install munge munge-devel
yum groupinstall “Server” # server for compute nodes “Server with GUI”
# add packages and update yum install epel-release -y yum install flex bison -y yum install tcl tcl-devel dmtcp dmtcp-devel -y yum install net-snmp net-snmp-libs net-tools net-snmp-utils -y yum install freeglut-devel libXi-devel libXmu-devel -y yum install blas blas-devel lapack lapack-devel boost boost-devel -y yum install lm_sensors lm_sensors-libs -y yum install zlib-devel bzip2-devel -y yum install openmpi openmpi-devel perl-ExtUtils-MakeMaker -y yum install cmake -y yum install libjpeg libjpeg-devel libjpeg-turbo-devel -y
#easybuild yum install libibverbs libibverbs-devel
# amber20 cmake readline error fix needs yum install ncurses-c++-libs-6.1-9.20180224.el8.x86_64.rpm \
ncurses-devel-6.1-9.20180224.el8.x86_64.rpm \ readline-devel-7.0-10.el8.x86_64.rpm
# amber20 yum -y install tcsh make \
gcc gcc-gfortran gcc-c++ \ which flex bison patch bc \ libXt-devel libXext-devel \ perl perl-ExtUtils-MakeMaker util-linux wget \ bzip2 bzip2-devel zlib-devel tar
# FINISH native vanilla installs # R version 4.1.2 (2021-11-01) – “Bird Hippie” yum install R R-devel # openjdk version “1.8.0_322” rpm -qa | grep ^java # check yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel \ java-1.8.0-openjdk-headless javapackages-filesystem # python v 3.9 yum install python39 python39-devel ln -s /usr/bin/python3.9 /usr/bin/python # fftw 3.3.5-11.el8 yum install fftw fftw-devel #gnu scientific libraries yum install gsl gsl-devel # ruby 2.5.9-109.module+el8.5.0 yum install ruby ruby-devel # obabel chem file formats yum install openbabel openbabel-devel
# compute nodes old level 3 systemctl set-default multi-user.target
# other configs vi /etc/selinux/config # disabled, do not mistype, kernel will not boot! cd /; mv home /usr/local/ mkdir /home ln -s /home /share vi /etc/passwd (/usr/local/home)
# other configs vi /etc/selinux/config # disabled, do not mistype, kernel will not boot! mv /home /usr/local/ mkdir /home ln -s /home /share vi /etc/passwd (/usr/local/home)
# postfix dnf install postfix dnf install mailx systemctl enable postfix echo “relayhost = 192.168.102.251” » /etc/postfix/main.cf
### DONE undo vlan52, down iptables, reboot, test you can it via privs ### REST AT HOME
# or via rc.local? vi ifcfg-ib0 DEVICE=ib0 ONBOOT=yes MTU=65520 CONNECTED_MODE=yes BOOTPROTO=none IPADDR=10.11.103.48 PREFIX=16
mkdir /sanscratch /localscratch chmod ugo+rwx /sanscratch /home/localscratch chmod o+t /sanscratch /home/localscratch ln -s /localscratch /localscratch5tb
cd /home ln -s /zfshomes/apps ln -s /zfshomes/tmp ln -s /zfshomes/csmith06 ls -l
cat /sanscratch/tmp/fstab.tmp » /etc/fstab; mkdir /astrostore; mount -a; df -h; cd /smithlab/; ln -s /smithlab/home/opt/rhel08 opt; ls -l
# fstab file mounts mkdir -p /zfshomes /home66 /home33 /mindstore /opt/ohpc/pub /opt/intel mkdir -p /smithlab/home;cd /smithlab;ln -s /smithlab/home/opt/rhel07 opt; ls -l
# compute nodes /etc/chronyc.conf #pool 2.pool.ntp.org iburst Server 192.168.102.250 Server 192.168.102.251 # check systemctl restart chronyd chronyc sources
cat /sanscratch/tmp/fstab.tmp » /etc/fstab; mkdir /astrostore; mount -a; df -h; cd /smithlab/; ln -s /smithlab/home/opt/rhel08 opt; ls -l
# fstab file mounts mkdir -p /zfshomes /home66 /home33 /mindstore /opt/ohpc/pub /opt/intel mkdir -p /smithlab/home;cd /smithlab;ln -s /smithlab/home/opt/rhel08 opt; ls -l # cottontail2 = greentail52 # n100-n101 = n79
# compute nodes /etc/chronyc.conf #pool 2.pool.ntp.org iburst Server 192.168.102.250 Server 192.168.102.251 # check systemctl restart chronyd chronyc sources
# edit /etc/snmp/snmpd.conf, enable and start rocommunity public dontLogTCPWrappersConnects yes # enable, start, add to zenoss
# compute nodes only # scp fron n79:/usr/local/ amber16/ amber20/ fsl-5.0.10/ gromacs-2018/ lammps-22Aug18/
# Put the warewulf cluster key in authorized_keys # Put eth0 fingerprints in cottontail/greentail52 known hosts # add to relevant known_hosts_servername file