You are here: RPM Installation > Upgrading > Preparing for RPM Upgrades > Preparing the Host – Typical Method

3.21 Preparing the Host – Typical Method

This topic contains instructions on how to download the Moab HPC Suite RPM bundle and enable the Adaptive Computing repository for all the hosts in your configuration.

The Moab HPC Suite RPM bundle contains all the RPMs for the Moab HPC Suite components and modules. However, not every component may be upgraded on the same host (for example, it is recommended that you upgrade the Torque Server on a different host from the Moab Server.

Whether you are upgrading RPMs on one host or on several hosts, each host (physical machine) on which a server is installed (Torque Server Host, Moab Server Host, etc) must have the Adaptive Computing Package Repository enabled. If Remote Visualization is part of your configuration, the Adaptive Computing Package Repository must also be enabled on the Torque MOM Hosts (compute nodes); otherwise is not necessary to enable the Adaptive Computing repository on the Torque MOM Hosts or client hosts.

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

  1. 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. Download the latest Moab HPC Suite RPM bundle from the Adaptive Computing Moab HPC Suite Download Center.
  3. Untar the RPM bundle.
    [root]# tar zxf moab-hpc-suite-9.1.0-<OS>.tar.gz

    The variable marked <OS> indicates the OS for which the build was designed.

  4. Change directories into the untarred directory.

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

  5. 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.

    The repository file is created in /etc/yum.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.

  6. Test the repository.
    [root]# yum search moab

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

    ...
    moab-accounting-manager.x86_64 : Moab Accounting Manager for Moab HPC Suite
    moab-hpc-enterprise-suite.noarch : Moab HPC Suite virtual package
    moab-insight.x86_64 : Moab Insight
    moab-perl-RRDs.noarch : Moab RRDs
    moab-tomcat-config.x86_64 : Tomcat Configuration for Web Services
    moab-web-services.x86_64 : Moab Web Services
    moab-workload-manager.x86_64 : Moab Workload Manager
    moab-workload-manager-client.x86_64 : Moab Workload Manager Client
    moab-workload-manager-common.x86_64 : Moab Workload Manager Common Files
    moab-perl-data.noarch : Perl Configuration for perl packages by Adaptive Computing
    moab-torque-client.x86_64 : Torque Client
    moab-torque-common.x86_64 : Torque Common Files
    moab-torque-devel.x86_64 : Torque Development Files
    moab-torque-mom.x86_64 : Torque MOM agent
    moab-torque-server.x86_64 : Torque Server
    ...
  7. Continue with instructions to upgrade the Moab HPC Suite components. See 3.1.3 Installation and Upgrade Process for more information.

© 2016 Adaptive Computing