You are here: Installation and Configuration > RPM Installation > Preparing for RPM Installation or Upgrade

2.13 Preparing for RPM Installation or Upgrade

This topic contains instructions on how to download the Nitro RPM Bundle and enable the Adaptive Computing repository for all the hosts in your configuration.

Whether you are installing or upgrading RPMs on one host or on several hosts, each host (physical machine) on which a server is installed (RLM Server, Nitro, Nitro Web Servcies) must have the Adaptive Computing Package Repository enabled.

Nitro Web Services is currently not available for SUSE 11-based systems; it is not in the RPM bundle for that OS.

2.13.1 Set Up Proxies

If your site uses a proxy to connect to the Internet, do the following:

export http_proxy=http://<proxy_server_id>:<port>

export https_proxy=http://<proxy_server_id>:<port>

2.13.2 Enable the Adaptive Computing Package Repository

The Nitro RPM Bundle contains all the RPMs for Nitro. However, not every RPM may be installed on the same host.

On each host (physical machine), do the following:

  1. Download the Nitro 2.1.1 RPM Bundle from the Adaptive Computing website.
  2. Untar the Nitro RPM bundle.
    [root]# tar zxf nitro-rpm-bundle-<version>-<OS>.tar.gz
  3. Change directories into the untarred directory.

    Consider reviewing the README file for additional details on using the RPM distribution tarball.

  4. Install the suite repositories. The -y option installs with the default settings for the RPM suite.

    For a description of the options of the repository installer script, run:

    [root]# ./install-rpm-repos.sh -h

    [root]# ./install-rpm-repos.sh [<repository-directory>] [-y]

    If the installation returns the following warning line:

    Warning: RPMDB altered outside of yum.

    This is normal and can safely be ignored.

    The [<repository-directory>] option is the directory where you want to copy the RPMs. If no argument is given, run "install-rpm-repos.sh -h" to view usage information and identify the default directory location. If the [<repository-directory>] already exists, RPMs will be added to the existing directory. No files are overwritten in [<repository-directory>].

    A repository file is also created and points to the [<repository-directory>] location. For Red Hat 6-based or Red Hat 7-based systems, the repository file is created in /etc/yum.repos.d/. For SUSE 12-based systems, the repository file is created in /etc/zypp/repos.d/.

    For ease in repository maintenance, the install script fails if Adaptive Computing RPMs are copied to different directories. If a non-default [<repository-directory>] is specified, please use the same directory for future updates.

    The script installs the createrepo package and its dependencies. You must answer "y" to all the questions in order for the RPM install of the suite to work.

    Additionally, the script installs:

    • The EPEL and 10gen repositories on Red Hat 6-based and Red Hat 7-based systems.
    • The openSUSE Apache:Modules, devel:languages:python, devel:languages:perl, and server:database repositories on SUSE 12-based systems.

  5. Test the repository.
    • Red-Hat 6-based or Red Hat 7-based systems
      [root]# yum search nitro
    • SUSE 12-based systems
      [root]# zypper search nitro

    If no error is given, the repository is correctly installed. The following is an example of the output after verifying the repository.

    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
     *epel: linux.mirrors.es.net
    ================================================= N/S Matched: nitro ==================================================
    nitro.x86_64 : Adaptive Nitro for High Throughput Computing
    nitro-web-services.x86_64 : Nitro Web Services

© 2017 Adaptive Computing