Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
CREAM User's Guide for EMI-2 | ||||||||
Line: 964 to 964 | ||||||||
| ||||||||
Deleted: | ||||||||
< < | | |||||||
| ||||||||
Line: 1009 to 1008 | ||||||||
$ glite-es-activity-status -e cream-10.pd.infn.it CR_ES146448265 *************************************** | ||||||||
Changed: | ||||||||
< < | JobID = CR_ES853695732 | |||||||
> > | ActivityID = CR_ES853695732 | |||||||
Status = PROCESSING_RUNNING Attributes = {APP_RUNNING} Timestamp = Tue Mar 20 11:05:28 2012 | ||||||||
Line: 1022 to 1021 | ||||||||
$ glite-es-activity-status -e cream-10.pd.infn.it CR_ES146448265 *************************************** | ||||||||
Changed: | ||||||||
< < | JobID = CR_ES853695732 | |||||||
> > | ActivityID = CR_ES853695732 | |||||||
Status = TERMINAL Attributes = {} Timestamp = Tue Mar 20 11:07:28 2012 | ||||||||
Line: 1030 to 1029 | ||||||||
Changed: | ||||||||
< < | Of course the user can specify more than one activity identifier as argument of status command: | |||||||
> > | The user can specify more than one activity identifier as arguments of status command: | |||||||
$ glite-es-activity-status -e cream-10.pd.infn.it CR_ES918217695 CR_ES499424509 ***************************************** | ||||||||
Changed: | ||||||||
< < | JobID = CR_ES499424509 | |||||||
> > | ActivityID = CR_ES499424509 | |||||||
Status = TERMINAL Attributes = {} Timestamp = Wed Mar 21 09:45:57 2012 Description = reason=0 *************************************** | ||||||||
Changed: | ||||||||
< < | JobID = CR_ES918217695 | |||||||
> > | ActivityID = CR_ES918217695 | |||||||
Status = TERMINAL Attributes = {} Timestamp = Wed Mar 21 09:45:48 2012 | ||||||||
Line: 1049 to 1048 | ||||||||
Added: | ||||||||
> > | If the user asks for the status of an acitivity identifier not present on the endpoint, he/she will get an error message like this:
$ glite-es-activity-status -e cream-05.pd.infn.it CR_ES920948151 FOO ***************************************** ActivityID = CR_ES920948151 Status = TERMINAL Attributes = {CLIENT_STAGEOUT_POSSIBLE} Timestamp = Thu Mar 22 13:29:11 2012 Description = reason=0 ***************************************** ActivityID = FOO Message = Activity not found! Timestamp = Thu Mar 22 14:34:56 2012 Description = N/A FailCode = N/A | |||||||
Creating activities on ES based CEs, that need to move Input/Output sandboxesAutomatically stage-in/stage-out performed by the CE | ||||||||
Line: 1079 to 1097 | ||||||||
| ||||||||
Deleted: | ||||||||
< < | | |||||||
| ||||||||
Line: 1168 to 1185 | ||||||||
| ||||||||
Deleted: | ||||||||
< < | | |||||||
| ||||||||
Line: 1222 to 1237 | ||||||||
Note the status attribute CLIENT_STAGEIN_POSSIBLE : the CE is saying that it is waiting for the user to send the required ISB by hand (by mean of the usual GridFTP client for example). Also note that the CE is communicating the complete address where to send the ISB (and the protocol supported, gsiftp): | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | globus-url-copy myjob.sh gsiftp://cream-10.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam004/61/CR_ES613269972/ISB/myjob.sh | |||||||
> > | $ globus-url-copy myjob.sh gsiftp://cream-10.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam004/61/CR_ES613269972/ISB/myjob.sh | |||||||
When the stage-in is finished, the user has to notify the service that the file shipment is complete: | ||||||||
Line: 1291 to 1305 | ||||||||
$ glite-es-activity-create -e cream-05.pd.infn.it ~/JDLs/activity_files_push_pull.adl *************************************** | ||||||||
Changed: | ||||||||
< < | ActivityID = CR_ES342891609 | |||||||
> > | ActivityID = CR_ES920948151 | |||||||
ActivityMgrURI = https://cream-05.pd.infn.it:8443/ce-cream-es/services/ActivityManagementService![]() | ||||||||
Changed: | ||||||||
< < | Timestamp = Thu Mar 22 12:05:01 2012 | |||||||
> > | Timestamp = Thu Mar 22 13:28:32 2012 | |||||||
Description = ETNSC = | ||||||||
Changed: | ||||||||
< < | STAGEIN Dir = {gsiftp://cream-05.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam002/34/CR_ES342891609/ISB} | |||||||
> > | STAGEIN Dir = {gsiftp://cream-05.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam002/92/CR_ES920948151/ISB} | |||||||
SESSION Dir = {} | ||||||||
Changed: | ||||||||
< < | STAGEOUT Dir = {gsiftp://cream-05.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam002/34/CR_ES342891609/OSB} | |||||||
> > | STAGEOUT Dir = {gsiftp://cream-05.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam002/92/CR_ES920948151/OSB} | |||||||
Changed: | ||||||||
< < | This time, in addition to the "STAGEIN Dir", the user has to consider the value of "STAGEOUT Dir"; when the activity will be finished, he/she will have to retrieve the two files by mean of the usual GridFTP client: | |||||||
> > | This time, in addition to the "STAGEIN Dir", the user has to consider (and remember) the value of "STAGEOUT Dir"; when the activity will be finished (use glite-es-activity-status to check that), he/she will have to retrieve the two files by mean of the usual GridFTP client:
$ glite-es-activity-status -e cream-05.pd.infn.it CR_ES920948151 | |||||||
Added: | ||||||||
> > | *************************************** ActivityID = CR_ES920948151 Status = TERMINAL Attributes = {CLIENT_STAGEOUT_POSSIBLE} Timestamp = Thu Mar 22 13:29:11 2012 Description = reason=0 $ globus-url-copy gsiftp://cream-05.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam002/92/CR_ES920948151/OSB/JobOutput.txt JobOutput.txt $ globus-url-copy gsiftp://cream-05.pd.infn.it/var/cream-es_sandbox/dteam/CN_Alvise_Dorigo_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL_dteam002/92/CR_ES920948151/OSB/JobError.txt JobError.txt When output file retrieve is finished the user should notify the server with the command: | |||||||
Added: | ||||||||
> > | $ glite-es-notify-service CR_ES920948151:CLIENT-DATAPULL-DONE -e cream-05.pd.infn.it
Now the status's attributes CLIENT_STAGEOUT_POSSIBLE disappears:
dorigoa@lxgrid05 14:46:46 ~/emi/creamui_emi2>stage/usr/bin/glite-es-activity-status CR_ES920948151 -e cream-05.pd.infn.it ***************************************** ActivityID = CR_ES920948151 Status = TERMINAL Attributes = {} Timestamp = Thu Mar 22 13:29:11 2012 Description = reason=0 Using an output file for the command
The activity creation command has the possibility to write (just) the activity identifier(s) into an output file. When this file is first created the user has nothing to take care about. If the file already exists, the user has to make sure that the output file has been already used for the same endpoint of the current activity creation. En example is better than any explanation (the special ADL file | |||||||