Introductions Using gLite Grid Miguel Angel Díaz Corchero (miguelangel.diaz@ciemat.es) CETA-CIEMAT Asia 11 2011 - EPIKH School for Grid Site Administrators Amman , 19.11.2011
Test UI Discover the environment. Two main command: 1) lcg-infosites --vo gilda all 2) lcg-info --list-attrs Listing the CEs of a VO: lcg-info --list-ce --vo <VO_name> Listing the SEs of a VO: lcg-info --list-se --vo <VO_name> Listing the available Services of a VO: lcg-info --list- services --vo <VO_name> Listing the RC (Resource Center): lcg-info --list-site --vo <VO_name> Listing specific field of an element: lcg-info --list-ce --vo gilda --attrs TotalJobs
Test UI login as a non root users to UI and initialize your voms proxy. $# voms-proxy-init –voms gilda [xud@gilda08 ~]$ voms-proxy-init -voms gilda Enter GRID pass phrase: Your identity: /C=CN/O=HEP/O=IHEP/OU=CC/CN=dong xu Creating temporary proxy .................. Done Contacting voms.ct.infn.it:15001 [/C=IT/O=INFN/OU=Host/L=Catania/CN=voms.ct.infn.it] "gilda" Done Creating proxy ........................................ Done Your proxy is valid until Wed Sep 1 07:25:32 2010 [xud@gilda08 ~]$
Submit a job $# nano test.jdl $# vi hello.sh Type="Job"; JobType="Normal"; Executable="/bin/sh"; Arguments="hello.sh"; StdOutput="hello.out"; StdError="hello.err"; InputSandbox="hello.sh"; OutputSandbox={"hello.out","hello.err"}; $# vi hello.sh #!/bin/bash echo "hello!World!!"
Submit a job glite-wms-job-submit -o jobid -a test.jdl [xud@gilda08 ~]$ glite-wms-job-submit -o jobid -a test.jdl Connecting to the service https://gilda11.ihep.ac.cn:7443/glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://gilda11.ihep.ac.cn:9000/7ll7bHKvbgEW9nFyZhDLPA The job identifier has been saved in the following file: /home/xud/jobid ==========================================================================
Submit a job $# glite-wms-job-status -i jobid [xud@gilda08 ~]$ glite-wms-job-status -i jobid ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://gilda11.ihep.ac.cn:9000/7ll7bHKvbgEW9nFyZhDLPA Current Status: Scheduled Status Reason: Job successfully submitted to Globus Destination: gilda-01.pd.infn.it:2119/jobmanager-lcgpbs-gilda Submitted: Tue Aug 31 19:32:03 2010 CST ========================================================================== [xud@gilda08 ~]$ $# glite-wms-job-output -i jobid
SE Operations Detecting environment variables echo $LCG_GFAL_INFOSYS echo $LCG_CATALOG_TYPE echo $LFC_HOST Setting environment variables export LCG_GFAL_INFOSYS=egee-bdii.cnaf.infn.it:2170 export LCG_CATALOG_TYPE=lfc export LFC_HOST=lfc-gilda.ct.infn.it
SE Operations List files lfc-ls -l /grid/glida Make a directory lfc-mkdir /grid/gilda/mdiaz Upload a file lcg-cr --vo gilda file://$PWD/entrada1.txt -l lfn:/grid/gilda/mdiaz/entrada1.txt -d <any-Gilda-se> Donwnload a file lcg-cp -v --vo gilda lfn:/grid/ceta/mdiaz/entrada2.txt file://$PWD/entrada1.txt
Thank you very much!