Recent Changes - Search:


edit SideBar

Install Torque/PBS

1.  Torque on GridVM

A "neutral" version of Torque from ATRPMS:

yum --enablerepo atrpms install torque-server torque torque-scheduler torque-mom

is too old!

Use instead glite-lcg_ce_torque.repo, disabling the CE repo, leave only torque parts

# yum install torque-server-2.1.9 torque-client-2.1.9
# yum install maui-server-3.2.6p19_20.snap.1182974819-4.slc4 maui-client-3.2.6p19_20.snap.1182974819-4.slc4
# service pbs_server stop
# /usr/share/doc/torque-2.1.9/torque.setup root
initializing TORQUE (admin:
PBS_Server Create mode and server database exists,
do you wish to continue y/(n)?y
Max open servers: 4
Max open servers: 4
# cat /var/spool/pbs/server_priv/nodes
# cat /var/spool/pbs/server_name

See the separate page about Torque queues.

2.  MAUI

# cat /var/spool/maui/maui.cfg
# MAUI configuration example
# @(#)maui.cfg David Groep 20031015.1
# for MAUI version 3.2.5
SERVERHOST              gridvm
ADMIN1                  root
ADMINHOST               gridvm
RMTYPE[0]           PBS
RMHOST[0]           gridvm
RMSERVER[0]         gridvm

SERVERPORT            40559

# Set PBS server polling interval. Since we have many short jobs
# and want fast turn-around, set this to 10 seconds (default: 2 minutes)
RMPOLLINTERVAL        00:00:10

# a max. 10 MByte log file in a logical location
LOGFILE               /var/log/maui.log
LOGFILEMAXSIZE        10000000
LOGLEVEL              3

# /usr/sbin/maui --configfile=/var/spool/maui/maui.cfg
ERROR:    server must be started on host 'gridvm' (currently on '')

## Warning: I had to change the order of names in /etc/hosts !

# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.       localhost       localhost.localdomain    physfs  gridvm  glite-ce  glite-ui  osg-ce  osg-ui  glite-wn-001  glite-wn-002
# service maui start
Starting MAUI Scheduler:                                   [  OK  ]

#shm service pbs_mom start
Starting TORQUE Mom:                                       [  OK  ]
#service pbs_server restart
     state = free
     np = 1
     ntype = cluster
     status = opsys=linux,uname=Linux 2.6.9-67.EL.cernsmp #1 SMP Wed Nov 21 16:22:33
                   CET 2007 i686,sessions=15402,nsessions=1,nusers=1,idletime=3592029,totmem=2610872kb,
                   jobs=? 0,rectime=1232138438

2.1  Some packages to configure pbs the way gLite likes

Maybe OSG will like it too, or at least I'll learn something.

# yum install edg-pbs-utils lcg-pbs-utils lcg-info-dynamic-pbs \
glite-yaim-torque-server glite-yaim-torque-utils

3.  SSH and user configuration

How to run CEs with the PBS manager installed on a different host

Edit - History - Print - Recent Changes - Search
Page last modified on April 27, 2009, at 12:36 PM