Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
CREAM-CE direct job submission metrics | ||||||||
Line: 46 to 46 | ||||||||
To test the probe you have to create a valid proxy. | ||||||||
Changed: | ||||||||
< < | State + Monit | |||||||
> > | JobState + JobMonit | |||||||
First you have to "submit" a job: | ||||||||
Line: 90 to 90 | ||||||||
cream-wn-030.pn.pd.infn.it | ||||||||
Changed: | ||||||||
< < | State + Cancel | |||||||
> > | JobState + JobMonit + JobCancel | |||||||
To test easily the "Cancel" metrics you need to modify the JDL template to increment job duration: | ||||||||
Line: 173 to 173 | ||||||||
Description = [Cancelled by user] | ||||||||
Added: | ||||||||
> > |
DelegateProxyTo test delegation use this command: /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo <vo> -x <path of the proxy> -H <CREAM hostname> -m emi.cream.CREAMCEDJS-DelegateProxy[ale@cream-48 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u501 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DelegateProxy OK: [Delegated] OK: [Delegated] glite-ce-delegate-proxy -e cream-30.pd.infn.it:8443 dteam-551a6 2011-11-10 13:40:24,178 NOTICE - Proxy with delegation id [dteam-551a6] succesfully delegated to endpoint [https://cream-30.pd.infn.it:8443//ce-cream/services/gridsite-delegation]You can check if the delegation is correct submitting a job using the returned delegation id [ale@cream-48 ~]$ glite-ce-job-submit -D dteam-551a6 -r cream-30.pd.infn.it:8443/cream-pbs-cert test.jdl https://cream-30.pd.infn.it:8443/CREAM290551353 [ale@cream-48 ~]$ glite-ce-job-status https://cream-30.pd.infn.it:8443/CREAM290551353 ****** JobID=[https://cream-30.pd.infn.it:8443/CREAM290551353] Status = [DONE-OK] ExitCode = [0] ServiceInfoTo verify this metric simply issue this command: /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo <vo> -x <path of the proxy> -H <CREAM hostname> -m emi.cream.CREAMCEDJS-ServiceInfo[ale@cream-48 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u501 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-ServiceInfo OK: success OK: success Testing from: cream-48.pd.infn.it DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL success description = CREAM 2 doesAcceptNewJobSubmissions = True interfaceVersion = 2.1 property = [(Property){ name = "cemon_url" value = "NA" }] serviceVersion = 1.13 startupTime = 2011-10-10 14:44:12.000638 status = RUNNING SubmitAllowedTo verify this metric simply issue this command: /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo <vo> -x <path of the proxy> -H <CREAM hostname> -m emi.cream.CREAMCEDJS-SubmitAllowed[ale@cream-48 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u501 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-SubmitAllowed OK: [Submission Allowed] OK: [Submission Allowed] glite-ce-allowed-submission cream-30.pd.infn.it:8443 Job Submission to this CREAM CE is enabledYou can also disable submission to the CREAM CE (you MUST be an admin for this CE) [ale@cream-48 ~]$ glite-ce-disable-submission cream-30.pd.infn.it Operation for disabling new submissions succeededThen verify that the metrics returns the correct message: [ale@cream-48 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u501 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-SubmitAllowed OK: [Submission Allowed] OK: [Submission Allowed] glite-ce-allowed-submission cream-30.pd.infn.it:8443 Job Submission to this CREAM CE is disabled |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
CREAM-CE direct job submission metrics | ||||||||
Line: 32 to 32 | ||||||||
Arguments = " | ||||||||
Added: | ||||||||
> > | OutputSandbox = {"cream.out"}; OutputSandboxBaseDestUri="gsiftp://localhost"; | |||||||
where the Executable is the command "/bin/hostname/" |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
CREAM-CE direct job submission metrics | ||||||||
Line: 12 to 12 | ||||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
\ No newline at end of file | ||||||||
Added: | ||||||||
> > |
emi.cream.CREAMCEDJS-DirectJobStateDirect submission to a CREAM-CE, which can be choosen using these parameters:
Type="Job"; JobType="Normal"; Executable = "<jdlExecutable>"; Arguments = "<jdlArguments>"; StdOutput = "cream.out"; StdError = "cream.out";where the Executable is the command "/bin/hostname/" emi.cream.CREAMCEDJS-DirectJobMonitMonitors submitted grid jobs. Threaded implementation with one thread per monitored resource with max 10 threads. Passively updates emi.cream.CREAMCEDJS-DirectJobState with the latest state of the job according to CREAM when job is not in a terminal state. When job enters terminal state or was canceled the metric updates both emi.cream.CREAMCEDJS-DirectJobState and emi.cream.CREAMCEDJS-DirectJobSubmit with the final job status. The latter metrics are updated (as passive checks) either via Naigos command file or NSCA. emi.cream.CREAMCEDJS-DirectJobSubmit is the metric which goes to Metric Store Database. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
CREAM-CE direct job submission metrics
|