cluster:Maui/326p21/client
From Dgiref
Contents |
Maui client v.3.2.6p21
Prepare
It is required to install the Torque client before the maui scheduler packages. It is required to install the Torque client (version 2.1.6 or version 2.3.6 depending on the Torque server version) before the maui scheduler packages.
administrator's script: prepare.sh
#!/bin/bash# prepare maui#-> start routineREPO_URL="http://dgiref.d-grid.de/svn/dgiref/PROD/cf3/repl/repos/external/"
wget -O /etc/yum.repos.d/sl-dgiref.repo ${REPO_URL}/sl-dgiref.repo
#<- end routine
Install
To install Maui, the following RPMs are needed :
- maui
- maui-client
Install rpms from dgiref binary repository.
administrator's script: install.sh
#!/bin/bash# install maui client#-> start routine# Choose the OS architecture:# OS_arch="x86_64" # x86_64 for 64 bitOS_arch="i686" # i686 for 32 bit
# SL 4 installation:yum -y install maui-3.2.6p21-dgrid_snap.1224706197.2.${OS_arch} maui-client-3.2.6p21-dgrid_snap.1224706197.2.${OS_arch}
# SL 5 installation:yum -y install maui-3.2.6p21-snap.1234905291.5.el5.x86_64 maui-client-3.2.6p21-snap.1234905291.5.el5.x86_64
#<- end routine
Configure
Assign the torque server into /var/spool/maui/maui.cfg
administrator's script: configure.sh
#!/bin/bash# configure maui clientTORQUE_SERVER="dgiref-batch"
#-> start routineecho `sed -i "s/localhost/${TORQUE_SERVER}/g" /var/spool/maui/maui.cfg`
#<- end routine
Initial test
- test with diagnose command
administrator's script: test.sh
#!/bin/bash# MAUI can be tested withshowq
showstats -udiagnose -g#<- end routine