You are here: RPM Installation > Upgrading > Upgrading Torque Resource Manager (RPM)

3.26 Upgrading Torque Resource Manager (RPM)

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:

  1. If you installed Torque Server on its own host or if Torque Server is the first component being upgraded on a host with other RPM installations, complete the steps to prepare the host.

    Do the same as needed for each Torque MOM Host (compute node).

    See 3.21 Preparing for RPM Upgrades for more information.

  2. Stop all Torque Server, Torque MOM, and Torque Client Services. See 3.26.2 Stop Torque Services.
  3. Upgrade Torque Server, Torque MOMs, and Torque Clients. See 3.26.3 Upgrade Torque Server, MOMs, and Clients.
  4. Start all Torque Server, Torque MOM, and Torque Client Services. See 3.26.4 Start Torque Services.

3.26.2 Stop Torque Services

Do the following:

  1. On the Torque Server Host, shut down the Torque server.
    [root]# systemctl stop pbs_server.service
  2. On each host where the Torque MOM Host resides (regardless of whether it resides on the Torque Server Host), shut down the Torque MOM 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
  3. On each host where the Torque Client Host resides (regardless of whether it resides on the Moab Server Host, the Torque Server Host, the Torque MOM Hosts), shut down the trqauthd 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:

  1. Upgrade Torque Server.

    On the Torque Server Host, install the upgrade.

    [root]# zypper update hwloc* moab-torque*
  2. Upgrade Torque MOMs.

    Repeat these instructions for each Torque MOM Host that does not reside on the Torque Server Host.

    Do the following:

    1. 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>:
    2. On each Torque MOM Host, use the uploaded RPMs to update the host.
      [root]# zypper update hwloc* moab-torque-*
  3. Upgrade Torque Clients.

    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).

    1. 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>:
    2. On the Torque MOM Host, use the uploaded RPMs to update the host.
      [root]# zypper update hwloc* moab-torque-*

3.26.4 Start Torque Services

Do the following:

  1. On the Torque Server Host, start up the Torque server.
    [root]# systemctl daemon-reload
    [root]# systemctl start pbs_server.service
  2. On each Torque MOM Host, start up the Torque MOM service.
    [root]# systemctl daemon-reload
    [root]# systemctl start pbs_mom.service
  3. On each Torque Client Host (including the Moab Server Host, Torque Server Host and Torque MOM Hosts, if applicable), start up the trqauthd service.
    [root]# systemctl daemon-reload
    [root]# systemctl start trqauthd.service

© 2017 Adaptive Computing