You are here: Installation and Configuration > RPM Installation > Upgrading > Upgrading Nitro

2.17 Upgrading Nitro

You must be a root user when installing or upgrading Nitro.

This topic contains the steps and procedures to follow to upgrade Nitro using the RPM upgrade method.

In this topic:

2.17.1 Upgrade from a Version Prior to 2.0

The following steps are required if you are upgrading a Nitro version prior to 2.0.

  1. Install or obtain access to an RLM server. See 2.13 Installing RLM Server.

    Beginning with Nitro 2.0, the licensing procedure changed to use an RLM server. If your company already uses an RLM Server, you can skip this procedure.

  2. Obtain and install the Nitro license. This requires access to an RLM server. See 2.14.1 Obtain a Nitro License.
  3. Copy the license file to each compute node (coordinator). On each compute node, or on the shared file system, do the following:
    [root]# cp <licenseFileName>.lic /opt/nitro/bin/

2.17.2 Upgrade Nitro

On the host where Nitro resides, do the following:

  1. If you installed Nitro on its own host or if Nitro is the first component being upgraded on a host with other RPM installations, complete the steps to prepare the host. See 2.12 Preparing for RPM Installation or Upgrade.
  2. Back up your existing launch script in /opt/nitro/bin/.
  3. Install the upgrade.
    • Red Hat 6-based or Red Hat 7-based systems
      [root]# yum update nitro
    • SUSE 12-based systems
      [root]# zypper update nitro
  1. Identify the launch_nitro.sh script version for your resource manager.

    Reference scripts are provided in /opt/nitro/scripts.

    [root]# find . -name launch_nitro.sh
    ./scripts/lsf/launch_nitro.sh
    ./scripts/torque/launch_nitro.sh
    ./scripts/slurm/launch_nitro.sh
    ./scripts/alps/torque/launch_nitro.sh
    ./scripts/alps/slurm/launch_nitro.sh
  2. Copy the latest launch script to the bin directory. (This example uses the Torque-based launch script.)
    [root]# cp /opt/nitro/scripts/torque/launch_nitro.sh /opt/nitro/bin/launch_nitro.sh

    This is a "copy" file operation and not a "move" operation. This allows you to customize your version of the script and always have the factory version available for consultation and/or comparison.

  3. Merge any customizations from your existing launch_nitro.sh script into the script you just copied to the bin directory.
  4. If you are not using a shared file system, copy the updated Nitro installation directory to all hosts.

    Only the Nitro bin directory with its proper path is required to run Nitro jobs. This means that you only need to copy the Nitro bin directory to the other hosts.

    [root]# scp -r /opt/nitro/bin root@host002:/opt/nitro
    nitrostat                                       100%   12KB  12.0KB/s   00:00
    launch_nitro.sh                                 100% 6890     6.7KB/s   00:00
    nitro                                           100%   15MB  14.9MB/s   00:00

© 2016 Adaptive Computing