How do I install MOAB on top of Bright Cluster Manager?
To install MOAB on top of BCM, the following are needed:-
- A working license file for MOAB.
- The source code tarball provided by Adaptive Computing.
The following steps are then carried out as root. These steps were done for Bright Cluster Manager versions 6.1 and 7.0 for both RHEL6 and SLES11:
- Extract the sources tarball and move to the created directory (The tarball name may differ depending on MOAB version and the Linux distribution used).
# tar xzf moab-7.2.7-e7c070d1-b3-EL6-linux-x86_64-torque.tar.gz
# cd moab-7.2.7-e7c070d1-b3-EL6
- Configure MOAB installation.
# ./configure --prefix=/cm/shared/apps/moab --with-init --with-modulefiles=/cm/local/modulefiles
- Compile the code and install MOAB.
# make install
- Edit MOAB configuration file using the preferable text editor.
Replace this line:
with this line:
- Configure LD by creating /etc/ld.so.conf/moab.cfg.
# cat /etc/ld.so.conf.d/moab.conf
- Install the license by copying the license file to the configuration directory.
# cp <license_file> /opt/moab/etc/
- Disable the currently installed workload manager.
# wlm-setup -w <currently_used_wlm> -d
- Enable torquemoabworkload manager.
# wlm-setup -w torquemoab -s
Disabling torque services ..... [ OK ]
Creating default torque config ..... [ OK ]
Initializing torque setup ..... [ OK ]
Setting permissions ..... [ OK ]
Enabling torque services ..... [ OK ]
Finalizing ..... [ OK ]
- Share the created MOAB module file.
# cp -r /cm/local/modulefiles/moab/ /cm/shared/modulefiles/
- Start the MOAB service on the head node.
# service moab start
Starting moab: [ OK ]
- Make sure that MOAB is working by loading the module and checking the available resources.
# module load moab/7.2.7-e7c070d1-b3-EL6
# mdiag -n
compute node summary
Name State Procs Memory Opsys
node001 Idle 1:1 2004:2004 linux
node002 Down 0:1 1:1 DEFAULT
tnode001 Down 0:1 1:1 DEFAULT
centos6-ext2 Down 0:1 1:1 DEFAULT
----- --- 1:4 2007:2007 -----
Total Nodes: 4 (Active: 0 Idle: 1 Down: 3)