(Click to open topic with navigation)
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.
Because many system-level files and directories are accessed during the installation, the instructions in this guide should be executed with root privileges.
You will see that the instructions execute commands as the root user. Please note that the same commands will work for a non-root user with the sudo command.
To install the Moab HPC Suite, install the packages in the following order:
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.
[root]# yum update [root]# yum install make libxml2-devel openssl-devel boost-devel gcc gcc-c++
[root]# yum update [root]# yum install make perl-CPAN libxml2-devel openssl-devel boost-devel gcc gcc-c++
Before installing the dependencies, do the following:
[root]# zypper update [root]# zypper install make libxml2-devel libopenssl-devel boost-devel gcc gcc-c++
Install Java
Install the 64-bit RPM version of Oracle® Java® 7 Runtime Environment.
Oracle Java 7 Runtime Environment is the recommended Java environment, but Oracle Java 6 is also supported. All other versions of Java, including OpenJDK/IcedTea, GNU Compiler for Java, and so on cannot run Moab Web Services.
Do the following:
Download the Linux x64 RPM version of Oracle Java SE 7 JRE. (Go to the Oracle Java 7 download page, copy the URL to the Linux x64 RPM version, then run the following command.)
[root]# wget <URL> -O jre-7-linux-x64.rpm
To verify that the download was successful, run the following on the RPM before installation:
[root]# rpm -qip jre-7-linux-x64.rpm
[root]# rpm -Uh jre-7-linux-x64.rpm
Install Tomcat
[root]# rpm -Uvh 'http://plone.lucidsolutions.co.nz/linux/centos/images/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm' [root]# cd /etc/yum.repos.d [root]# wget 'http://www.jpackage.org/jpackage50.repo' [root]# yum update [root]# yum install tomcat6
[root]# yum update [root]# yum install tomcat6
[root]# zypper ar --refresh -r http://download.opensuse.org/evergreen/11.4/openSUSE:Evergreen:11.4.repo [root]# zypper in tomcat6 [root]# zypper mr -d openSUSE_Evergreen_11.4
You must install MongoDB if you are installing Moab Web Services or Moab Viewpoint.
To install and enable MongoDB
MongoDB 2.0.8 is still supported in Moab HPC Suite 7.5.0; however, MongoDB 2.4.8 is recommended.
Create a file called /etc/yum.repos.d/10gen.repo and add the following lines.
[10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 enabled=1
Install mongo-10gen and mongo-10gen-server.
[root]# yum install mongo-10gen mongo-10gen-server
[root]# zypper ar http://download.opensuse.org/repositories/server:/database/SLE_11_SP2 OpenSuseDatabase [root]# zypper install mongodb
[root]# chkconfig mongod on [root]# service mongod start
[root]# chkconfig mongodb on [root]# service mongodb start
If you see errors while running the chkconfig command, make sure that /sbin is in your PATH environment variable, then run chkconfig again.
export PATH=/sbin:$PATH
You may need to wait a minute or two for Mongo to initialize.
[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"); > exit
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.
[root]# nano /etc/mongod.conf auth = true
[root]# service mongod restart
[root]# nano /etc/mongodb.conf
auth = true
[root]# service mongodb restart
Related topics