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

6.51.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 6.31 Preparing the Host – Typical Method or 6.30 Preparing the Host – Offline Method.

  2. Stop all Torque Server, Torque MOM, and Torque Client Services. See 6.51.2 Stop Torque Services.
  3. Upgrade Torque Server, Torque MOMs, and Torque Clients. See 6.51.3 Upgrade Torque Server, MOMs, and Clients.
  4. Start all Torque Server, Torque MOM, and Torque Client Services. See 6.51.4 Start Torque Services.

6.51.2 Stop Torque Services

Do the following:

  1. On the Torque Server Host, shut down the Torque server.
    [root]# service pbs_server stop
    [root]# systemctl stop pbs_server.service
    [root]# systemctl stop pbs_server.service
  2. On each Torque MOM 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]# service pbs_mom stop
    [root]# systemctl stop pbs_mom.service
    [root]# systemctl stop pbs_mom.service
  3. On each Torque Client Host (including the Moab Server Host, the Torque Server Host, and the Torque MOM Hosts, if applicable), shut down the trqauthd service.
    [root]# service trqauthd stop
    [root]# systemctl stop trqauthd.service
    [root]# systemctl stop trqauthd.service

6.51.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]# yum update moab-torque*
    [root]# zypper update moab-torque*
  2. Upgrade Torque MOMs.

    Do the following:

    1. On the Torque Server Host, locate the directory where the rpm distro tarball was upacked and copy the moab-torque-common and moab-torque-mom RPM files to each Torque MOM Host (excluding a Torque MOM Host that also resides on the Torque Server Host). It is also recommended that you install the moab-torque-common RPM so you can use client commands and submit jobs from the Torque MOM Hosts (compute nodes).
      [root]# scp RPMs/moab-torque-common-*.rpm <torque-mom-host>:
      [root]# scp RPMs/moab-torque-mom-*.rpm <torque-mom-host>:
      [root]# scp RPMs/moab-torque-client-*.rpm <torque-mom-host>:
    2. On each Torque MOM Host (excluding a Torque MOM Host that also resides on the Torque Server Host), use the uploaded RPMs to update the host.
      [root]# ssh root@<torque-mom-host>
      [root]# yum update moab-torque-*
      [root]# ssh root@<torque-mom-host>
      [root]# zypper update moab-torque-*
  3. Upgrade Torque Clients.

    If you have any Torque Client Hosts that are different from 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), update those Torque Client Hosts.

    [root]# yum update moab-torque*
    [root]# zypper update moab-torque*

6.51.4 Start Torque Services

Do the following:

  1. On the Torque Server Host, start up the Torque server.
    [root]# service pbs_server start
    [root]# systemctl daemon-reload
    [root]# systemctl start pbs_server.service
    [root]# systemctl daemon-reload
    [root]# systemctl start pbs_server.service
  2. On each Torque MOM Host, start up the Torque MOM service.
    [root]# service pbs_mom start
    [root]# systemctl daemon-reload
    [root]# systemctl start pbs_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]# service trqauthd start
    [root]# systemctl daemon-reload
    [root]# systemctl start trqauthd.service
    [root]# systemctl daemon-reload
    [root]# systemctl start trqauthd.service

© 2017 Adaptive Computing