LCG Grid Deployment -
gLite Pre Production Services -
PPS-CERN Admin Procedures
Stupid Tests
Minimal tests you can run on a service before announcing to the world "it
should work"
TORQUE server
test qsub
On the server:
[root]$su - dteam001
- create a simple test script
[dteam001@lxb1935 dteam001]$ cat << EOF > test.sh
#!/bin/sh
/bin/date
/bin/hostname
EOF
[dteam001@lxb1935 dteam001]$ chmod u+x test.sh
- submit the test to TORQUE default queue
[dteam001@lxb1935 dteam001]$ qsub test.sh
4.lxb1935.cern.ch
- check the output (the hostname should be one of the WNs)
[dteam001@lxb1935 dteam001]$ ls -l
total 8
-rwxr--r-- 1 dteam001 dteam 34 Oct 5 17:24 test.sh
-rw------- 1 dteam001 dteam 0 Oct 5 17:26 test.sh.e4
-rw------- 1 dteam001 dteam 46 Oct 5 17:26 test.sh.o4
[dteam001@lxb1935 dteam001]$ cat test.sh.o4
Wed Oct 5 17:26:46 CEST 2005
lxb1926.cern.ch
CE
test BLAH
On the CE:
[root]$su - dteam001
[dteam001]$ blahpd
$GahpVersion: 1.1.3 Oct 05 2004 INFN\ blahpd\ (poly) $
ASYNC_MODE_ON
S Async\ mode\ on
BLAH_JOB_SUBMIT 1 [cmd="/bin/hostname";out="/tmp/blah_test";gridtype="pbs"]
S
R
quit
S Server\ exiting
[dteam001]$ cat /tmp/blah_test
lxb1926.cern.ch
-- Main.aretico - 05 Oct 2005