Difference: UserGuideEMI2 (23 vs. 24)

Revision 242013-06-07 - AlviseDorigo

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

CREAM User's Guide for EMI-2

Line: 81 to 81
 
  • glite-ce-enable-submission <host[:port]>
  • glite-ce-disable-submission <host[:port]>
  • glite-ce-allowed-submission <host[:port]>
Added:
>
>
  • glite-ce-job-lease <lease_identifier> --endpoint <cream_endpoint> --leaseTime <lease_time>
  Man pages are available for all the CREAM client commands. You can also access information about the usage of each command by issuing:
Line: 118 to 119
  glite-ce-allowed-submission checks if jobs submissions on the specified CREAM CE are allowed or have been disabled.
Added:
>
>
glite-ce-job-lease create a lease identifier in the CREAM server and associate a time duration to it.
 All these commands are described in the following sections.

Submitting jobs to CREAM based CEs

Line: 172 to 175
  The command returns the CREAM job identifiers associated with these jobs (e.g. https://cream-ce-01.pd.infn.it:8443/CREAM116j9vgnf) which identify them in clear and unique way all over the Grid system scope.
Added:
>
>
In addition the user can associate a lease that she/he has previously created with the command glite-ce-job-lease by mean of the option --leaseId :

> glite-ce-job-submit -D mydelid -r cream-ce-01.pd.infn.it:8443/cream-lsf-grid02 --leaseId <my_lease_identifier> myjob1.jdl myjob2.jdl myjob3.jdl

To create a lease in the CREAM service, with a certain duration of time (expressed in seconds), issue the command:

glite-ce-job-lease --endpoint cream-27.pd.infn.it --leaseTime 3600 myLID
You requested lease time [3600] for lease ID [myLID]
CREAM negotiated the lease time to [3600]

The above command has created a lease on cream-27.pd.infn.it named "myLID" and lasting 1 hour.

 

Monitoring jobs

Passing the CREAM job identifiers returned by the glite-ce-job-submit command to the glite-ce-job-status command, it is possible to monitor the submitted jobs. Several (static and dynamic) information can be shown, depending on the chosen verbosity level. The verbosity level can be 0 (less verbosity), 1 or 2 (most verbosity).

Line: 464 to 483
 
  • GETCEMONURL_LOG_DIR: the directory where by default the log file glite-ce-get-cemon-url_CREAM_<username>_<date>_<time>.log (created when the --debug option is used with the glite-ce-get-cemon-url command) is created. The default is /tmp/glite_cream_cli_logs.
As mentioned above, if the same attribute is defined in more than a configuration file, the definition in the user specific configuration file (if any) has higher priority than the definition in the VO specific configuration file (if any), which has higher priority than the definition in the generic configuration file. If an attribute is not defined anywhere, the default value is considered.
Added:
>
>
  • LEASE_LOG_DIR: the directory where by default the log file glite-ce-job-lease_CREAM_<username>_<date>_<time>.log (created when the --debug option is used with the glite-ce-job-lease command) is created. The default is /tmp/glite_cream_cli_logs.
 

Example of CREAM CLI configuration file

Line: 484 to 504
 SUSPEND_LOG_DIR="tmp/CREAMLogs" LIST_LOG_DIR="tmp/CREAMLogs" DELEGATE_LOG_DIR="tmp/CREAMLogs"
Added:
>
>
LEASE_LOG_DIR="tmp/CREAMLogs"
 ]
Line: 506 to 527
 
Added:
>
>
 

Use specific functionality of the CREAM CE

Line: 877 to 899
  cream_job_states.jpg
Added:
>
>
 

-- MassimoSgaravatto - 2011-04-07

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