Appendices > Appendix E: Considerations before upgrading

Appendix E: Considerations before upgrading

TORQUE is flexible in regards to how it can be upgraded. In most cases, a TORQUE "shutdown" followed by a configure, make, make install procedure as documented in this guide is all that is required (see Installing TORQUE). This process will preserve existing configuration and in most cases, existing workload.

A few considerations are included below:

To upgrade

  1. Build new release (do not install).
  2. Stop all TORQUE daemons (see qterm and momctl -s).
  3. Install new TORQUE (use make install).
  4. Start all TORQUE daemons.

Rolling upgrade

The enablemomrestart option causes a MOM to check if its binary has been updated and will restart itself at a safe point when no jobs are running, making upgrades easier. This can be enabled in the MOM config file, but it is recommended to enable it with momctl.

  1. Prepare the new version MOM package.
  2. Install the MOM package on the compute nodes.
  3. Run momctl -q enablemomrestart=1 -h :ALL.