Recent Changes - Search:

Disclaimer

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: root@apk-gridvm-01.uj.ac.za)
PBS_Server apk-gridvm-01.uj.ac.za: 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
glite-wn-001
glite-wn-002
# cat /var/spool/pbs/server_name
gridvm

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
SERVERMODE            NORMAL

# 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 'apk-gridvm-01.uj.ac.za')

##
## 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.
127.0.0.1       localhost       localhost.localdomain
152.106.18.2    physfs          apk-physfs-01.uj.ac.za
152.106.18.254  gridvm          apk-gridvm-01.uj.ac.za
152.106.18.253  glite-ce        glite-ce.grid.uj.ac.za
152.106.18.252  glite-ui        glite-ui.grid.uj.ac.za
152.106.18.251  osg-ce          osg-ce.grid.uj.ac.za
152.106.18.250  osg-ui          osg-ui.grid.uj.ac.za
152.106.18.249  glite-wn-001    glite-wn-001.grid.uj.ac.za
152.106.18.248  glite-wn-002    glite-wn-002.grid.uj.ac.za
# service maui start
Starting MAUI Scheduler:                                   [  OK  ]

#shm service pbs_mom start
Starting TORQUE Mom:                                       [  OK  ]
#service pbs_server restart
#pbsnodes
glite-wn-001
     state = free
     np = 1
     ntype = cluster
     status = opsys=linux,uname=Linux glite-wn-001.grid.uj.ac.za 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,
                   availmem=2571460kb,physmem=514400kb,ncpus=1,loadave=0.00,netload=220442375,state=free,
                   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