You are here: RPM Installation > Upgrading > Upgrading Nitro (RPM)

3.32 Upgrading Nitro (RPM)

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

3.32.1 Upgrade Nitro

On the Nitro Host, 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 3.19 Preparing for RPM Upgrades for more information.
  2. Back up your existing launch script in /opt/nitro/bin/.
  3. Install the RPM.
    [root]# yum update nitro
  1. Copy the provided scripts and the nitrosub command from the /opt/nitro/scripts directory.

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

    1. Copy the launch_nitro.sh and launch_worker.sh scripts for your resource manager to the bin directory. Each resource manager has a subdirectory with the scripts directory that contains the scripts. This example uses Torque as the resource manager.
      [root]# cp /opt/nitro/scripts/torque/launch_nitro.sh /opt/nitro/bin/
      [root]# cp /opt/nitro/scripts/torque/launch_worker.sh /opt/nitro/bin/
    2. Copy the nitrosub command to the bin directory.
      [root]# cp /opt/nitro/scripts/nitrosub /opt/nitro/bin/
    3. Copy the nitro_job.sh and the worker_job.sh scripts to the etc directory.
      [root]# cp /opt/nitro/scripts/nitro_job.sh /opt/nitro/etc/
      [root]# cp /opt/nitro/scripts/worker_job.sh /opt/nitro/etc/
  2. Merge any customizations from your existing launch scripts, job scripts, and the nitrosub command (if applicable) into the new launch scripts, job scripts, and the nitrosub command that you copied from the scripts directory.
  3. If your system configuration allows multiple coordinators on the same node, additional configuration may be needed. See 2.17 Running Multiple Coordinators on the Same Node for more information.
  4. If you are not using a shared file system, copy the updated Nitro installation directory to all hosts.
    [root]# scp -r /opt/nitro root@host002:/opt

    If you are not using a shared file system, you may not be able to use the nitrosub client command.

Related Topics 

© 2016 Adaptive Computing