(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.25.1 Upgrade Steps
Do the following:
Do the same as needed for each Torque MOM Host (compute node).
See 3.20 Preparing for RPM Upgrades for more information.
Do the following:
[root]# service pbs_server stop
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]# service pbs_mom stop
[root]# service trqauthd stop
3.25.2.A 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]# yum 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]# yum update hwloc* moab-torque-*
If the command is not found, or you do not see something similar to the following, then cgroups are not mounted, continue with these instructions.
ns perf_event net_prio cpuset /cgroup/cpuset cpu /cgroup/cpu cpuacct /cgroup/cpuacct memory /cgroup/memory devices /cgroup/devices freezer /cgroup/freezer net_cls /cgroup/net_cls blkio /cgroup/blkio
[root]# yum install libcgroup [root]# service cgconfig start
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 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]# yum update hwloc* moab-torque-*
Do the following:
[root]# service pbs_server start
[root]# service pbs_mom start
[root]# service trqauthd start