...
- Switch remaining nmpost nodes from Torque/Moab to Slurm on nmpost-serv-1
- cd /opt/services/diskless_boot/RHEL-7.8.1.5/nmpost/snapshot
- echo 'SLURMD_OPTIONS="--conf-server nmpost-serv-1"' > TEMPLATE/etc/sysconfig/slurmd
- echo '/etc/sysconfig/slurmd' >> TEMPLATE/files
- rm -f nmpost*/etc/sysconfig/pbs_mom
- for x in nmpost* ; do \cp -f TEMPLATE/etc/sysconfig/slurmd ${x}/etc/sysconfig ; done
- for x in nmpost* ; do \cp -f TEMPLATE/files ${x} ; done
- reboot each node
- Switch Torque nodescheduler, nodeextendjob, nodesfree with Slurm versions on zia
- cd ~krowe/nodescheduler/slurmcp nodescheduler /home/opt/local/Linux/rhel7/x86_64/stow/cluster-nmpost/bin
- cp nodescheduler-test /home/local/Linux/rhel7/x86_64/stow/cluster-nmpost/bin
- edit nodescheduler and nodescheduler-test. Update CLUSTERDIR.
- cp cluster_job* /home/local/Linux/rhel7/x86_64/stow/cluster-nmpost/share/cluster-nmpost
- cp nodeextendjob /home/local/Linux/rhel7/x86_64/stow/cluster-nmpost/bin/nodeextendjob
- cp nodesfree /home/local/Linux/rhel7/x86_64/stow/cluster-nmpost/bin
- cp herasclean /home/local/Linux/rhel7/x86_64/stow/cluster-nmpost/bin
- Edit /etc/sudoers.d/nrao-hera on nmpost-master and herapost-master
- 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 clusterstow cluster-nmpost
Clean
- Remove nodefindfphantoms
- Remove nodereboot and associated cron job on servers
...