Moab 7.2 – Supplementary Installation Guide (MongoDB)

7.2 Release Build Advisory

Between the release of 7.2.0 and 7.2.1, a repository Adaptive Computing uses to install the Mongo DB dependency changed the version that is provided of Mongo DB from 2.0 to 2.2. Currently, Moab is not compatible with Mongo DB 2.2 as this version breaks an important link that we use for the boost library. This incompatibility will cause Moab 7.2.x to crash immediately upon startup.

We currently are working on a more permanent solution with the repository that we use — the Extra Packages for Enterprise Linux (EPEL) project. In the meantime, the following workaround will allow you to use the 7.2 releases. Please note, this workaround is for versions of 7.2 installed on and after February 5th. The workaround steps should be executed after the install guide steps.

Compile Mongo DB 2.0.8 C++ drivers from source

  1. (Prerequisite) Ensure scons is installed. Run yum install scons
  2. (Prerequisite) Ensure a c++ compiler is installed. Run yum install gcc-c++
  3. (Prerequisite) Follow the 7.2 install guide instructions to completion.
  4. Download the Mongo DB 2.0.8 source code. The source code provides the correct drivers for Moab Workload Manager.
  5. Unpack the tar ball.
  6. Navigate to the source code parent directory.
  7. Run scons –sharedclient mongoclient to generate the libmongoclient.so file. This may take several minutes.
  8. Copy the libmongoclient.so file to /usr/lib64.
  9. If asked to overwrite the existing libmongoclient.so, type “y”.
  10. Run moab.