Presentation is loading. Please wait.

Presentation is loading. Please wait.

EGEE is funded by the European Union under contract IST-2003-508833 Elena Slabospitskaya IHEP NA3 manager for Russia An inroduction to services provided.

Similar presentations


Presentation on theme: "EGEE is funded by the European Union under contract IST-2003-508833 Elena Slabospitskaya IHEP NA3 manager for Russia An inroduction to services provided."— Presentation transcript:

1 EGEE is funded by the European Union under contract IST-2003-508833 Elena Slabospitskaya IHEP NA3 manager for Russia An inroduction to services provided by the Grid

2 LCG-2 User Guide https://edms.cern.ch/file/454439//LCG-2-UserGuide.html LCG Releases http://grid-deployment.web.cern.ch/grid-deployment/cgi-bin/index.cgi?var=releasesLCG-2 Install Notes (for administrators) LCG-2 Manual Installation Guide (for administrators) https://edms.cern.ch/file/434070//LCG2Install.htmlSite with EDG Tutorials http://hep-proj-grid-tutorials.web.cern.ch/hep-proj-grid-tutorials/ Sources of the information

3 - Generate a certificate request grid-cert-request -int - Modify the passphrase of your private key grid-change-pass-phrase - Check the content of your credentials grid-cert-info & grid-proxy - Log into the Grid: create proxy grid-proxy-init & edg-voms-proxy-init - Long-tem proxy( > 12hours) myproxy-init -s lcg14.sinp.msu.ru -d -v -n myproxy-info -s lcg14.sinp.msu.ru -d Exercise: Credentials

4 Exercise: Job Description The language used to describe a job is Job Description Language (JDL) Mandatory ( test.jdl) Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; Optional OutputSE -specifies the SE where the user wants to store output data. OutputData – automatically registeres data files in the Grid Environment = {"CMS_PATH=$HOME/cms", "CMS_DB=$CMS_PATH/cmdb"}; Arguments = "Hello Grid";

5 CLI edg-job-list-match -vo test.jdl edg-job-submit -vo test.jdl edg-job-status edg-job-get-logging-info edg-job-get-output edg-job-submit -vo interactive.jdl edg-job-submit -vo perltest.jdl GUI edg-wl-ui-jdleditor.sh edg-wl-ui-jobmonitor.sh edg-wl-ui-jobsubmitter.sh Exercise: Job Submission

6 Exercise: Data Management edg-rm --vo printInfo edg-rm –vo listReplicas edg-rm --vo copyAndRegisterFile file: /LCG-2- UserGuide.html -l lfn:LCG-2-UserGuide.html -d edg-rm --vo replicateFile -d edg-rm --vo getTurl globus-url-copy -vb file://`pwd`/LCG-2-UserGuide.html file:// edg-rm --vo del --all-available edg-rm --vo dteam ls

7 Exercise: Put a file to Storage copyAndRegisterFile getTurl globus-url-copy & copyFile & rfcp CloseSESRM GUID listReplicas & replicateFile SURL TURL MS S edg-gridftp-exists, rm, ls

8 Exercise: Information System ldapsearch -x -h lxb0738.cern.ch -p 2135 -b "mds-vo-name=local, o=grid" The local GRIS es running on Computing Elements and Storage Elements In LDAP, a special attribute objectClass is defined for each directory entry At each site, a site GIIS collects information about all resources ldapsearch -x -h lxb0738.cern.ch -p 2135 -b "mds-vo-name=LCGCERTTB2P, o=grid" ldapsearch -x -h lxb0738.cern.ch -p 2135 -b "mds-vo-name=local, o=grid" 'objectClass=SiteInfo' SiteName

9 Appendix A. Test.jdl Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"};

10 Appendix B. interactive.jdl & interactive.sh JobType = "Interactive" ; Executable = "interactive.sh" ; InputSandbox = {"interactive.sh"} ; interactive.jd l interactive.s h #!/bin/sh echo "Welcome!" echo -n "Please tell me your name: " read name echo "That is all, $name." echo "Bye bye." exit 0

11 Executable = "perltest.pl"; InputSandbox = {"perltest.pl"} ; Arguments = "Grid"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; #!/usr/bin/perl -s if ($ARGV[0]) {$argument= $ARGV[0];} print "Your argument is $argument","\n"; perltest.jdl perltest.pl Appendix C. perltest.jdl & perltest.pl

12 Requirements = other.GlueCEInfoLRMSType == "PBS" && other.GlueCEInfoTotalCPUs > 1; Requirements = other.GlueCEUniqueID == "lxshare0286.cern.ch:2119/jobmanager-pbs-short"; Requirements = Member("CMSIM- 133",other.GlueHostApplicationSoftwareRunTimeEnvironm ent); Requirements = RegExp("cern.ch", other.GlueCEUniqueId); Appendix Y. Useful examples Requirements = anyMatch(other.storage.CloseSEs,target.GlueSAStateAvai lableSpace > 204800); InputData = {"lfn:doe/prod/kin_1", "guid:136b48a64-4a3d-87ud- 3bk58gnn46m49f3"}; DataAccessProtocol = {"rfio", "gsiftp"};

13 Appendix Z. Possible Job States SUBMITTED WAITING READY SCHEDULED RUNNING DONE(ok) DONE(failed) OUTPUTREADY CLEARED ABORTED DONE(cancelled)


Download ppt "EGEE is funded by the European Union under contract IST-2003-508833 Elena Slabospitskaya IHEP NA3 manager for Russia An inroduction to services provided."

Similar presentations


Ads by Google