Installation overview

Installation overview

The installation process of the Moab HPC Suite includes installing the separate components in the suite. This guide contains detailed instructions for installing each component.

Many individual components have dependencies on other components. (These dependencies are listed in the "Requirements" section of each component's installation instructions.) However, if you do not require a certain component (Moab Viewpoint, for example), you do not have to install it.

The install instructions for each component include information about system requirements and dependencies. Some include prerequisite instructions that you will need to complete before you begin the install. Please read this information carefully, and make sure you have installed all the dependencies and packages that are necessary in order to avoid errors during the Moab HPC Suite install process.

To install the Moab HPC Suite, install the packages in the following order:

  1. Install TORQUE (see Installing TORQUE).
  2. Install Moab Workload Manager (see Installing Moab Workload Manager).
  3. Install Moab Accounting Manager (see Installing Moab Accounting Manager).
  4. Install Moab Web Services (see Installing Moab Web Services).
  5. Install Moab Viewpoint (see Installing Moab Viewpoint).

Enable the EPEL repository

You must enable the Extra Packages for Enterprise Linux (EPEL) repository if you use a RHEL or CentOS, or Scientific Linux system.

For RHEL 5 and CentOS 5:

[root]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

For RHEL 6, CentOS 6, and Scientific Linux 6:

[root]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Install TORQUE and Moab Workload Manager dependencies.

You must install the following dependencies in order to use TORQUE and Moab Workload Manager:

Use the following commands to install the required dependencies and packages.

RHEL and CentOS, and Scientific Linux:

[root]# yum update
[root]# yum install make perl-CPAN libxml2-devel openssl-devel gcc gcc-c++

SLES:

Before installing the dependencies, do the following:

  1. Verify that you have a licensed installation of SLES 11 SP2.
  2. Download the SuSE Linux Enterprise 11 Software Development Kit e-Media Kit and add the ISO to the repository.
[root]# zypper update
[root]# zypper install make libxml2-devel libopenssl-devel gcc gcc-c++

Install MongoDB

You must install MongoDB if you are installing Moab Web Services or Moab Viewpoint.

To install and enable MongoDB

  1. Install MongoDB.

    RHEL and CentOS, and Scientific Linux:

    Create a file called /etc/yum.repos.d/10gen.repo and add the following lines.

  2. [10gen]
    name=10gen Repository
    baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
    gpgcheck=0
    enabled=1

    Install mongo20-10gen and mongo20-10gen-server.

    [root]# yum install mongo20-10gen mongo20-10gen-server

    SLES:

    [root]# zypper ar http://download.opensuse.org/repositories/server:/database/SLE_11_SP2 OpenSuseDatabase
    [root]# zypper install mongodb
  3. Start MongoDB.

    RHEL and CentOS, and Scientific Linux:

  4. [root]# chkconfig mongod on
    [root]# service mongod start

    SLES:

    [root]# chkconfig mongodb on
    [root]# service mongodb start

    You may need to wait a minute or two for Mongo to initialize.

  5. Prepare the MongoDB database by doing the following:
    1. Add the required MongoDB users.
    2. [root]# mongo
      > use admin;
      > db.addUser("admin_user", "secret1");
      > db.auth("admin_user", "secret1");
       
      > use moab;
      > db.addUser("moab_user", "secret2");
      > db.addUser("mws_user", "secret3", true);
       
      > use mws;
      > db.addUser("mws_user", "secret3");

      Because the admin_user has read and write rights to the admin database, it also has read and write rights to all other databases. See Control Access to MongoDB Instances with Authentication for more information.

      The passwords used above (secret1, secret2, and secret3) are examples. Choose your own passwords for these users.

    3. Enable authentication in MongoDB.

      RHEL and CentOS, and Scientific Linux:

    4. [root]# nano /etc/mongod.conf
      
      auth = true
      
      [root]# service mongod restart
      SLES:
      MongoDB authentication is enabled by default in SLES. To verify, check the value of auth as shown below.
      [root]# nano /etc/mongodb.conf
      ...
      auth = true
      ...
      [root]# service mongodb restart

Related topics 

© 2014 Adaptive Computing