(Click to open topic with navigation)
This topic provides instructions to upgrade Torque Resource Manager to the latest release version using the RPM upgrade method. It includes instructions for migrating your database schema to a new version if necessary.
Because many system-level files and directories are accessed during the installation, the instructions in this guide should be executed with root privileges.
You will see that the instructions execute commands as the root user. Please note that the same commands will work for a non-root user with the sudo command.
3.26.1 Upgrade Steps
Do the following:
Do the same as needed for each Torque MOM Host (compute node).
See 3.21 Preparing for RPM Upgrades for more information.
Do the following:
[root]# systemctl stop pbs_server.service
Confirm all jobs have completed before stopping pbs_mom. You can do this by typing "momctl -d3". If there are no jobs running, you will see the message "NOTE: no local jobs detected" towards the bottom of the output. If jobs are still running and the MOM is shutdown, you will only be able to track when the job completes and you will not be able to get completion codes or statistics.
[root]# systemctl stop pbs_mom.service
[root]# systemctl stop trqauthd.service
3.26.3 Upgrade Torque Server, MOMs, and Clients
You must complete all the previous upgrade steps in this topic before upgrading Torque Server, MOMs, and Clients. See the list of steps at the beginning of this topic.
Do the following:
On the Torque Server Host, install the upgrade.
[root]# zypper update hwloc* moab-torque*
Repeat these instructions for each Torque MOM Host that does not reside on the Torque Server Host.
Do the following:
On the Torque Server Host, locate the directory where the rpm distro tarball was upacked and copy the hwloc, moab-torque-common and moab-torque-mom RPM files to the Torque MOM Hosts.
[root]# scp <dir>/RPMs/hwloc*.rpm <torque-mom-host>: [root]# scp <dir>/RPMs/moab-torque-common-*.rpm <torque-mom-host>: [root]# scp <dir>/RPMs/moab-torque-mom-*.rpm <torque-mom-host>: [root]# scp <dir>/RPMs/moab-torque-client-*.rpm <torque-mom-host>:
[root]# zypper update hwloc* moab-torque-*
Repeat these instructions for any Torque Client Host that does not reside on the Torque Server Host or the Torque MOM Hosts (such as login nodes or when the Moab Server Host is different from the Torque Server Host).
On the Torque Server Host, locate the directory where the rpm distro tarball was upacked and copy the hwloc, moab-torque-common and moab-torque-mom RPM files to the Torque Client Hosts.
[root]# scp <dir>/RPMs/hwloc*.rpm <torque-client-host>: [root]# scp <dir>/RPMs/moab-torque-common-*.rpm <torque-client-host>: [root]# scp <dir>/RPMs/moab-torque-mom-*.rpm <torque-client-host>: [root]# scp <dir>/RPMs/moab-torque-client-*.rpm <torque-client-host>:
[root]# zypper update hwloc* moab-torque-*
Do the following:
[root]# systemctl daemon-reload [root]# systemctl start pbs_server.service
[root]# systemctl daemon-reload [root]# systemctl start pbs_mom.service
[root]# systemctl daemon-reload [root]# systemctl start trqauthd.service