Chapter 2: Deploying Torque (Open PBS)
Starting PBS
Run the following three commands as the root user to start all
of the necessary PBS components:
[root@nodeB ]# /opt/pbs/sbin/pbs_mom
[root@nodeB ]# /opt/pbs/bin/qterm -t quick
[root@nodeB ]# /opt/pbs/sbin/pbs_server
After a few seconds you should be able to query to see which nodes are part of the PBS "cluster":
[root@nodeB mom_priv]# /opt/pbs/bin/pbsnodes -a
nodeB.ps.univa.com
state = free
np = 2
ntype = cluster
status = opsys=linux,uname=Linux nodeB.ps.univa.com 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686, sessions=1894, nsessions=1, nusers=1, idletime=7528, totmem=3065064kb, availmem=3015308kb, physmem=1033456kb, ncpus=2,loadave=0.00, netload=127730552, state=free, jobs=? 0, rectime=1139525328
At this point PBS is ready to accept jobs, but it will not
actually run the jobs because there is no scheduler to
schedule the jobs.
For this tutorial we will use the default simple scheduler. See the Torque documentation to learn about other schedulers.
To start up the default simple scheduler run the following as
user root:
/opt/pbs/sbin/pbs_sched
|