HP XC System Software Installation Guide Version 2.1

The following sum mar izes the steps to install and configure the Maui Sch eduler to work with
SLURMonanHPXCcluster:
1. Download the Maui Scheduler kit (Section L.4.1).
2. Compile the Maui Scheduler from its source distribution (Section L.4.2).
3. Edit t he Maui configurat ion file (Section L.4.3).
4. Edit the SLURM configuration file (Section L.4.4).
5. Configure the Maui Scheduler (Section L.4.5).
L.4.1 Step 1: D ownload the Maui Scheduler Kit
Follow this procedure to download the Maui Scheduler kit:
1. Log in to the HP XC system as the root user on the head node.
2. Download the M aui Scheduler kit to a convenient directory on the system. The Maui
Scheduler kit is called maui-3.2.6p9, which is available at the following URL:
http://www.clusterresources.com/products/maui/
L.4.2 Step 2: Compile the Maui Scheduler From Its Source Distribution
To compile Maui from its source distribution, go to the directory where you downloaded the
Maui Schedu ler kit and enter the following commands:
# ./configure --with-key=42 --with-wiki \
--prefix=/opt/hptc/maui --exec—prefix=/opt/hptc/maui \
--with-spooler=/hptc_cluster/maui
# gmake
# gmake install
To access Maui com mands, you must either create links from /opt/hptc/bin to
/opt/hptc/maui/bin,oradd/opt/hptc/maui/bin to the default path. The Maui
Scheduler executable is l ocated in the /opt/hptc/maui/sbin directory.
L.4.3 Step 3: Update the Maui Scheduler Configuration File
Perform the following tasks to up date the M aui Scheduler configuration file:
1. Use the text editor of your choice to add the following configuration parameters to the
/hptc_cluster/maui/maui.cfg file:
RMCFG[N16] TYPE=WIKI
RMPORT 7321
RMHOST N16
RMAUTHTYPE[N16] NONE
Note that N16 is the ho st name wh e re th e SL U RM controller is running. This name must
match ControlMachine in the /hptc_cluster/slurm/etc/slurm.conf file.
2. Adjust the polling interval by adding the following param e ter to the maui.cfg file:
RMPOLLINTERVAL 00:00:20
The SLURM Integration Guide suggests having Maui poll SLURM often. In this case, y ou
are setting the i nterval to every 20 seconds. A job submitted to an idle cluster will not be
initiated until t he Maui daemon p olls SL URM and decides to run it.
3. Turn partition mode on. To turn on partition mode, add the following parameter to the
maui.cfg file:
PARTITIONMODE ON
Installing the Maui Sch eduler L-3