Difference: CertifyingWmsHOWTOs (4 vs. 5)

Revision 52012-11-12 - FabioCapannini

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

Certifying WMS HOWTOS

Line: 20 to 20
 // requirements = other.GlueCEStateStatus == "Production";
Added:
>
>

WMS

In order to test a simple submission, submit a jdl with the following command from a UI (after having created a dteam or testers proxy):
glite-wms-job-submit -a -c wms_XXX.conf ls.jdl

where wms_XXX.conf points to the wms being tested:

WmsClient = [
ErrorStorage="/var/tmp";
OutputStorage=  "/tmp";
ListenerStorage="/tmp";
virtualorganisation="dteam";
RetryCount = 0;
WMProxyEndPoints = {"https://XXX.cnaf.infn.it:7443/glite_wms_wmproxy_server"};
rank = -other.GlueCEStateEstimatedResponseTime;
];

and ls.jdl:

[
Executable = "ls.sh";
Arguments = "-al";
requirements = RegExp("/cream-", other.GlueCEUniqueID) && other.GlueCEStateStatus == "Testing";
retrycount = 4;
shallowretrycount = 3;
StdError = "stderr.log";
StdOutput = "stdout.log";
InputSandbox = "ls.sh";
OutputSandbox = {"stderr.log", "stdout.log"};
]

be sure to have ls.sh in the current directory containing:

#!/bin/sh
/bin/ls $1
The command returns the jobid of the job.
Check for the job status via the following command:
glite-wms-job-status _jobid_

where _jobid_ is the jobid returned by the submit command.
When the job attains the Done Success status try to retrieve the job output via the following command:
glite-wms-job-output _jobid_
 

Advisory #4039

Submitting this JDL (wms_4039.jdl) will cause arbitrary code to be run as 'glite' user on the WMS, when time to renew the user proxy. It must select only CREAM CEs, so as to trigger the ICE's (WMS component that submits to CREAM) proxy renewal mechanism.

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback