# Moab Cluster Suite Integration Guide

## Overview

Moab Cluster Suite configuration is quite complicated and is beyond the scope of any documents we could supply with SLURM. The best resource for Moab configuration information is the online documents at Cluster Resources Inc.: http://www.clusterresources.com/pages/resources/documentation/grid/admin.php.

## Configuration

First, download the Moab scheduler kit from their web site http://www.clusterresources.com/pages/products/moab-cluster-suite.php. Note: Moab version 4.5.0 or higher and SLURM version 0.6.10 or higher.

### SLURM configuration

Set the slurm.conf scheduler parameters as follows:

    SchedulerType=sched/wiki
    SchedulerPort=7321

Running multiple jobs per mode can be accomplished using the SelectType=select/cons_res and/or specifying Shared=yes on selected partitions.

SLURM can either place all newly arriving jobs in a HELD state (priority = 0) and let Moab decide when and where to run the jobs or SLURM can control when and where to run jobs. In the later case, Moab can modify the priorities of pending jobs to re-order the job queue. The mode of operation is controlled by a wiki-plugin specific configuration file. The name of this file is wiki.conf and it will be in the same directory as the slurm.conf file. The (one) currently supported keyword is JobPriority which can be given a value of "run" or "hold". The default value is "hold". Here is a sample wiki.conf file

    # wiki.conf
    # SLURM's wiki plugin configuration file
    # Have SLURM control job scheduling, Moab just monitoring
    JobPriority=run

### Moab Configuration

Moab has support for SLURM's WIKI interface by default. Specify this interface in the moab.cfg file as follows:

    RMCFG[slurm]         TYPE=wiki:slurm AUTHTYPE=NONE

Last modified 24 August 2006