Chapter 7: Connecting Globus Gram WS and Torque (Open PBS)
Testing the GRAM WS PBS jobmanager
As user globus on nodeB you should start the container again:
[globus@nodeB globus]$ /opt/globus-4.0.1/bin/globus-start-container > /home/globus/container.out 2>&1 &
Now as user jane on nodeA you can test the PBS jobmanager by submitting a simple job to the PBS factory on nodeB rather then the default fork factory. If the generic user credentials for user jane have expired the process of requesting and signing a new set will need to be repeated as will the process of creating a proxy certificate with the grid-proxy-init command.
Note also when the globusrun-ws command is run that we do not use the streaming flag here:
[jane@nodeA ~]$ globusrun-ws -submit -F https://nodeb.ps.univa.com:8443/wsrf/services/ManagedJobFactoryService -Ft PBS -c /bin/sleep 120
Submitting job...Done.
Job ID: uuid:547f0fd6-a4b6-11da-ac33-0011d8b1eb22
Termination time: 02/24/2006 21:49 GMT
Current job state: Pending
Current job state: Active
Current job state: CleanUp
Current job state: Done
Destroying job...Done.
After the job has been submitted you should be able to "watch" it run on nodeB to verify that it is running. Note that the integer of the Job id may be different than the one shown below:
[jane@nodeB ~]$ su jane
You will be prompted for user jane's password.
| [jane@nodeB ~]$ /opt/pbs/bin/qstat/qstat |
| Job id |
Name |
User |
Time Use |
S |
Queue |
| 14.nodeb |
STDIN |
jane |
0 |
R |
batch |
|