cluster:Maui/326p19/client
From Dgiref
Contents |
Maui/326p19/client
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 bit
# OS_arch="i686" # i686 for 32 bityum -y install maui-3.2.6p19-snap1171482917_1dgrid_sl4.${OS_arch} maui-client-3.2.6p19-snap1171482917_1dgrid_sl4.${OS_arch}
#<- 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
Proceed
Start service maui
administrator's script: proceed.sh
#!/bin/bash# proceed#-> start routine## start mauichkconfig maui on
/etc/init.d/maui start
#<- end routine
Initial test
- test with diagnose command
administrator's script: test.sh
#!/bin/bash# MAUI can be tested withshowq
showstats
diagnose -g#<- end routine