Difference: DjsCreamProbeNew (2 vs. 3)

Revision 32014-01-17 - LisaZangrando

Line: 1 to 1
 
META TOPICPARENT name="NagiosProbes"

New CREAM-CE direct job submission metrics

Line: 165 to 165
 

cream_jobSubmit.py

Changed:
<
<
This metric submits a job directly to the selected CREAM CE and waits until the job termination by providing the final status:
>
>
This metric submits a job directly to the selected CREAM CE and waits until the job termination by providing the final status. Finally the job is purged. Moreover the stage-in and stage-out phases are both performed automatically by the CE. In particular the stage-out needs the OutputSandboxBaseDestUri="gsiftp://localhost" set in the JDL.
 
$ ./cream_jobSubmit.py --help
Line: 218 to 219
 Job terminated with status DONE-OK
Changed:
<
<
If the verbose mode is enabled, the output of the above command should be like to:
>
>
If the verbose mode is enabled, the output of the above command should be like this:
 
$ ./cream_jobSubmit.py --hostname cream-41.pd.infn.it --port 8443 --lrms lsf --queue creamtest1 --jdl ./hostname.jdl --verbose
executing command: /usr/bin/voms-proxy-info -timeleft
Line: 231 to 232
 invoking jobStatus executing command: /usr/bin/glite-ce-job-status https://cream-41.pd.infn.it:8443/CREAM304354901 job status: DONE-OK
Added:
>
>
invoking getOutputSandbox executing command: /usr/bin/glite-ce-job-output --noint https://cream-41.pd.infn.it:8443/CREAM187996258 output sandbox dir: ./cream-41.pd.infn.it_8443_CREAM187996258
 invoking jobPurge
Changed:
<
<
executing command: /usr/bin/glite-ce-job-purge --noint https://cream-41.pd.infn.it:8443/CREAM304354901
>
>
executing command: /usr/bin/glite-ce-job-purge --noint https://cream-41.pd.infn.it:8443/CREAM187996258
 Job terminated with status DONE-OK
Added:
>
>
Notice the output sandbox dir: ./cream-41.pd.infn.it_8443_CREAM187996258. This is the output sandbox directory containing all the produced files:

$ ls -la ./cream-41.pd.infn.it_8443_CREAM187996258
total 12
drwxr-xr-x   2 root root 4096 17 gen 16:20 .
dr-xr-x---. 23 root root 4096 17 gen 16:20 ..
-rw-------   1 root root    0 17 gen 16:20 std.err
-rw-------   1 root root   26 17 gen 16:20 std.out
 

cream_jobCancel.py

This metric submits a job directly to the selected CREAM CE, waits until the job gain the REALLY-RUNNING state and then tries to cancel it. Finally it checks if the job has been correctly canceled.
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback