...
- Configure DHCP on zia to boot all nmpost nodes to RHEL-7.8.1.5
- Switch remaining nmpost nodes from Torque/Moab to Slurm on nmpost-serv-1
- Change to the snapshot directory
- cd /opt/services/diskless_boot/RHEL-7.8.1.5/nmpost/snapshot
- Enable slurmd to start on boot
- for x in nmpost{001..090}* ; do echo 'SLURMD_OPTIONS="--conf-server nmpost-serv-1"' > ${x}/etc/sysconfig/slurmd ; done
- for x in nmpost{001..090}* ; do echo '/etc/sysconfig/slurmd' >> ${x}/files ; done
- Disalbe Torque from starting on boot
- rm -f nmpost*/etc/sysconfig/pbs_mom
- for x in nmpost* ; do sed -i '/^\/etc\/ssh\/pbs_mom/d' ${x}/files ; done
- for x in nmpost* ; do sed -i '/^\/etc\/ssh\/shosts.equiv/d' ${x}/files ; done
- for x in nmpost* ; do sed -i '/^\/etc\/ssh\/ssh_known_hosts/d' ${x}/files ; done
- Reboot each node
- Change to the snapshot directory
- Switch Torque nodescheduler, nodeextendjob, nodesfree with Slurm versions on zia
- cd /home/local/Linux/rhel7/x86_64/stow
- stow -D cluster
- (cd cluster/bin ; rm -f nodescheduler ; ln -s nodescheduler-slurm nodescheduler)
- (cd cluster/bin ; rm -f nodescheduler-test ; ln -s nodescheduler-test-slurm nodescheduler-test)
- (cd cluster/bin ; rm -f nodeextendjob ; ln -s nodeextendjob-slurm nodeextendjob)
- (cd cluster/bin ; rm -f nodesfree ; ln -s nodesfree-slurm nodesfree)
- stow cluster
- Uncomment nmpost lines in nmpot-serv-1:/etc/slurm/slurm.conf
- On nmpost-serv-1 restart with systemctl restart slurmctld
- On nmpost-master restart with systemctl restart slurmd
Clean
- Remove nodefindfphantoms
- Remove cancelmanyjobs
- Remove nodereboot and associated cron job on servers
- Remove Torque reaper
- Uninstall Torque from OS image.
- Uninstall Torque from nmpost and testpost servers
- Remove snapshot/*/etc/ssh/shosts.equiv
- Remove snapshot/*/etc/ssh/ssh_known_hosts
...