我在自己双核的笔记本电脑上用VMWare安装了两个虚拟主机,每个虚拟机分配一个核,都安装了相同的Red Hat Enterpise Linux Server 5 Update 3 32位,其中一个做主节点,IP定为192.168.0.1,另一个做计算节点,IP号为192.168.0.2,安装好后,可以利用TORQUE的pbs_sched可以调度任务,但关闭pbs_sched后,想用maui做调度程序,安装是./configure;
make; make install三步,但安装后,一直不能调度作业,请大家帮我分析一下。
maui.d文件内容如下:
#!/bin/sh
#
# maui This script will start and stop the MAUI Scheduler
#
# chkconfig: 345 85 85
# description: maui
#
ulimit -n 32768
# Source the library functions
. /etc/rc.d/init.d/functions
MAUI_PREFIX=/usr/local/maui
# let see how we were called
case "$1" in
start)
echo -n "Starting MAUI Scheduler: "
daemon $MAUI_PREFIX/sbin/maui
echo
;;
stop)
echo -n "Shutting down MAUI Scheduler: "
killproc maui
echo
;;
status)
status maui
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: maui {start|stop|restart|status}"
exit 1
esac
maui.cfg文件内容如下:
# maui.cfg 3.2.6p20
SERVERHOSTserver
# primary admin must be first in list
ADMIN1root
# Resource Manager Definition
#RMCFG[SERVER] [email=TYPE=PBS@RMNMHOST]TYPE=PBS@RMNMHOST[/email]@
RMCFG[0] TYPE=PBS HOST=server
# Allocation Manager Definition
AMCFG[bank]TYPE=NONE
# full parameter docs at http://supercluster.org/mauidocs/a.fparameters.html
# use the 'schedctl -l' command to display current configuration
RMPOLLINTERVAL00:00:30
SERVERPORT42559
SERVERMODENORMAL
# Admin: http://supercluster.org/mauidocs/a.esecurity.html
LOGFILEmaui.log
LOGFILEMAXSIZE10000000
LOGLEVEL3
# Job Priority: http://supercluster.org/mauidocs/5.1jobprioritization.html
QUEUETIMEWEIGHT1
# FairShare: http://supercluster.org/mauidocs/6.3fairshare.html
#FSPOLICYPSDEDICATED
#FSDEPTH7
#FSINTERVAL86400
#FSDECAY0.80
# Throttling Policies: http://supercluster.org/mauidocs/6.2throttlingpolicies.html
# NONE SPECIFIED
# Backfill: http://supercluster.org/mauidocs/8.2backfill.html
BACKFILLPOLICYFIRSTFIT
RESERVATIONPOLICYCURRENTHIGHEST
# Node Allocation: http://supercluster.org/mauidocs/5.2nodeallocation.html
# NODEALLOCATIONPOLICYMINRESOURCE
NODEALLOCATIONPOLICYFIRSTAVAILABLE
# QOS: http://supercluster.org/mauidocs/7.3qos.html
# QOSCFG[hi]PRIORITY=100 XFTARGET=100 FLAGS=PREEMPTOR:IGNMAXJOB
# QOSCFG[low] PRIORITY=-1000 FLAGS=PREEMPTEE
# Standing Reservations: http://supercluster.org/mauidocs/7.1.3standingreservations.html
# SRSTARTTIME[test] 8:00:00
# SRENDTIME[test]17:00:00
# SRDAYS[test]MON TUE WED THU FRI
# SRTASKCOUNT[test] 20
# SRMAXTIME[test]0:30:00
# Creds: http://supercluster.org/mauidocs/6.1fairnessoverview.html
# USERCFG[DEFAULT]FSTARGET=25.0
# USERCFG[john]PRIORITY=100FSTARGET=10.0-
# GROUPCFG[staff]PRIORITY=1000 QLIST=hi:low QDEF=hi
# CLASSCFG[batch]FLAGS=PREEMPTEE
# CLASSCFG[interactive] FLAGS=PREEMPTOR
# User modify Section
# Node Partition Configurations
NODECFG[n1] PARTITION=snode MAXLOAD=8.5
PRIORITY=1000
GROUPCFG[lmy] PLIST=snode
DEFERTIME00:00:60
JOBMAXOVERRUN00:05:00
ENABLEMULTIREQJOBSTRUE
ENABLEMUITINODEJOBSTRUE
JOBNODEMATCHPOLICYEXACTNODE
NODEACCESSPOLICYSHARED
FSWEIGHT100
CLASSCFG[snode] MAXPROC[GROUP]=76
USERCFG[lmy] MAXJOB=16 MAXNODE=10