...
Later Clean
Much later, when we are sure we don't want certain nodes to ever run Torque/Moab again, we can do the following. This is a rough idea of what needs to be done. I would suggesting making this part of a new OS image like RHEL-7.8.1.6 or later.
- 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
- Change to the snapshot directory
- cd /opt/services/diskless_boot/RHEL-7.8.1.5/nmpost/snapshot
- Disable Torque from starting on boot
- for x in nmpost{001..002}* ; do rm -f ${x}/etc/sysconfig/pbs_mom ; done
- for x in nmpost{001..002}* ; do sed -i '/^\/etc\/ssh\/pbs_mom/d' ${x}/files ; done
- for x in nmpost{001..002}* ; do sed -i '/^\/etc\/ssh\/shosts.equiv/d' ${x}/files ; done
- for x in nmpost{001..002}* ; do sed -i '/^\/etc\/ssh\/ssh_known_hosts/d' ${x}/files ; done
- Remove /opt/services/torque*
- Remove /etc/profiles.d/torque*
- Remove /var/spool/torque*
- Remove pam_pbssimpleauth.so from files in /etc/pam.d in the OS image
- Remove /usr/lib64/security/pam_pbssimpleauth.* from the OS imagehttps://staff.nrao.edu/wiki/bin/view/NM/TorqueDecomission2022#Later_Clean
Enumerate all needs that SSA still has for Torque and help them transition to HTCondor.
...