2.26
Upgrading Nitro
This topic contains instructions on how to upgrade Nitro.
In this topic:
2.26.1 Upgrade Nitro
On the Nitro Host, do the following:
- If you have not already done so, complete the steps to prepare the host. See 2.8 Preparing for Nitro Manual Installation.
- Back up your existing launch script in /opt/nitro/bin/.
-
Change the directory to the root of the unpacked Nitro tarball bundle.
[root]# cd nitro-tarball-bundle-<version>-<OS>
- Identify the Nitro product tarball (nitro-<version>-<OS>.tar.gz) and unpack the tarball into the same directory you created when you first installed Nitro (for example, /opt/nitro.
[root]# tar xzvpf nitro-<version>-<OS>.tar.gz -C /opt/nitro --strip-components=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.
- 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/
- Copy the nitrosub command to the bin directory.
[root]# cp /opt/nitro/scripts/nitrosub /opt/nitro/bin/
- 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/
- 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.
- 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.
- 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.
2.26.2 Verify Network Communication
Verify that the nodes that will be running Nitro are able to communicate with the Nitro ports and that the nodes are able to communicate with one another.
Related Topics