6.54 Upgrading Nitro (RPM)

This topic contains instructions on how to upgrade Nitro using the RPM upgrade method.

6.54.1 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 6.31 Preparing the Host – Typical Method or 6.30 Preparing the Host – Offline Method.
  2. Back up your existing launch script in /opt/nitro/bin/.
  3. Install the upgrade.
    [root]# yum update nitro
    [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

Related Topics 

© 2017 Adaptive Computing