0b9c2fbe3aabe86a2ad35d34fc6f922d.ppt
- Количество слайдов: 12
Enabling Grids for E-scienc. E g. Lite 1. 4. Data Mangement Exercises Salvatore Scifo Test Tutorial Catania February 8 th, 2006 www. eu-egee. org INFSO-RI-508833 University of Coimbra
Starting to work with DMS Enabling Grids for E-scienc. E Before starting to use DMS ensure yourself about having a valid proxy certificate. [glite-tutor] /home/sammysci/dms_exercise > voms-proxy-info Couldn't find a valid proxy. It means that your certificate has just expired and you need to get a new one. …… INFSO-RI-508833 Salvatore Scifo INFN Catania 2
Get a one day valid proxy Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > voms-proxy-init --voms gilda Your identity: /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it Enter GRID pass phrase: Your proxy is valid until Tue Feb 7 22: 57: 56 2006 Creating temporary proxy. . . Done Contacting voms. ct. infn. it: 15001 [/C=IT/O=GILDA/OU=Host/L=INFN Catania/CN=voms. ct. infn. it/Email=emidio. giorgio@ct. infn. it ] "gilda" Creating proxy. . . . . Done Your proxy is valid until Tue Feb 7 22: 57: 56 2006 [glite-tutor] /home/sammysci/dms_exercise > voms-proxy-info subject : /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it/CN=proxy issuer : /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it identity : /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it type : proxy strength : 512 bits path : /tmp/x 509 up_u 3017 timeleft : 11: 53: 28 Now you are able to interact to the GRID services. INFSO-RI-508833 Salvatore Scifo INFN Catania 3
Get a 7 days valid proxy Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > myproxy-init –voms –s grid 001. ct. infn. it Your identity: /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it Enter GRID pass phrase for this identity : Creating proxy. . . . . Done Proxy Verify OK Your proxy is valid until: Tue Feb 14 11: 12: 59 2006 Enter My. Proxy pass phrase: Verifying password - Enter My. Proxy pass phrase: A proxy valid for 168 hours (7. 0 days) for user sammysci now exists on grid 001. ct. infn. it. [glite-tutor] /home/sammysci/dms_exercise > myproxy-get-delegation -sgrid 001. ct. infn. it [glite-tutor] /home/sammysci/dms_exercise > myproxy-info -sgrid 001. ct. infn. it username: sammysci owner: /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it timeleft: 167: 58: 15 (7. 0 days) Now you are able to interact to the GRID services. INFSO-RI-508833 Salvatore Scifo INFN Catania 4
glite-catalog-ls Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy/pippo. Remote. txt /sammy/tmpdir [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy –l -pdrwl-gs--r-l-g----dpdrwlx----rwl-----r-l---+ 15 0 2006 -02 -06 12: 40 / sammy/pippo. Remote. txt 2006 -02 -06 10: 50: 05 / sammy/tmpdir [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy –lv # Using endpoint https: //grid 017. ct. infn. it: 8443/gilda/glite-data-catalog-service-frmysql/services/Fireman. Catalog # Service version: 1. 4. 2 # Interface version: 2. 0. 0 # Schema version: 1 # Client version: 1. 7. 1 # Client interface version: 1. 7. 1 -pdrwl-gs--r-l-g----15 2006 -02 -06 12: 40 / sammy/pippo. Remote. txt dpdrwlx----rwl-----r-l---+ 0 2006 -02 -06 10: 50: 05 / sammy/tmpdir INFSO-RI-508833 Salvatore Scifo INFN Catania 5
glite-catalog-rm Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-rm /sammy/tempdir rm: get. File. Catalog. Entry: Lfn "/sammy/tempdir" does not exist! [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-rm /sammy/tmpdir rm: rmdir: directory: "/sammy/tmpdir" is not empty! [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy -R /sammy/pippo. Remote. txt /sammy/tmpdir/pippo. txt Uhm… Let’s take a look better!!! [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-rm /sammy/tmpdir/pippo. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy -l. R -pdrwl-gs--r-l-g----15 2006 -02 -06 12: 40 / sammy/pippo. Remote. txt dpdrwlx----rwl-----r-l---+ 0 2006 -02 -06 10: 50: 05 / sammy/tmpdir [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-rm /sammy/tmpdir [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy -l. R -pdrwl-gs--r-l-g----15 2006 -02 -06 12: 40 / sammy/pippo. Remote. txt INFSO-RI-508833 Salvatore Scifo INFN Catania 6
Creating a new test file Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > vi tutorial. txt this is a test file for this tutorial ; -) ~ ~ : w Notice that these are a linux command line of the UI machine this is a test file for this tutorial ; -) ~ ~ : q [glite-tutor] total 20 drwxr-xr-x drwx------rw-r--r-- INFSO-RI-508833 /home/sammysci/dms_exercise > ls -al 2 sammysci users 9 sammysci users 1 sammysci users 4096 Feb 42 Feb 7 2006. . 7 11: 44 tutorial. txt Salvatore Scifo INFN Catania 7
Putting file to the Storage Element Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > glite-put tutorial. txt /sammy/tutorial. Remote. txt 1139309742 INFO glite-io-client-put : Start File Transfer [glite-put] Total 0. 00 MB |==========| 100. 00 % [0. 0 Mb/s] 1139309745 INFO glite-io-client-put : File Transfer Completed: LFN : / sammy/tutorial. Remote. txt GUID : 001 c 4 f 76 -7 cac-13 e 8 -8439 -c 1 ced 08 dbeef SURL : srm: //egee 016. cnaf. infn. it: 8443/srm/managerv 1? SFN=/ dpm/cnaf. infn. it/home/gilda/sammy/tutori al. Remote. txt Data Written [bytes] : 42 Eff. Transfer Rate[Mb/s] : 0. 000015 [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy –l. R -pdrwl-gs--r-l-g----- 15 2006 -02 -06 12: 40 /sammy/pippo. Remote. txt -pdrwl-gs--r-l-g----- 42 2006 -02 -07 11: 55: 41 / sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-chmod a+w /sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy –l. R -pdrwl-gs--rwl-g----w---42 2006 -02 -07 11: 55: 41 / sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-chmod g+x /sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-ls /sammy/tutorial. Remote. txt –l -pdrwl-gs--rwlxg----w---42 2006 -02 -07 11: 55: 41 / sammy/tutorial. Remote. txt INFSO-RI-508833 Salvatore Scifo INFN Catania 8
glite-catalog-stat Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-stat /sammy/tutorial. Remote. txt LFN: /sammy/tutorial. Remote. txt Created: 2006 -02 -07 11: 55: 41. 000 Modified: 2006 -02 -07 11: 55: 41. 000 Size: 42 Type: File Expires: Never GUID: 001 c 4 f 76 -7 cac-13 e 8 -8439 -c 1 ced 08 dbeef Created: 2006 -02 -07 11: 55: 44. 000 Modified: 2006 -02 -07 11: 55: 44. 000 Size: 42 Checksum: 0000 Status: 0 User: /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it Group: egee-group User rights: pdrwl-gs Group rights: --rwlxg. Other rights: ---w---Replicas: srm: //egee 016. cnaf. infn. it: 8443/srm/managerv 1? SFN=/ dpm/cnaf. infn. it/home/gilda/sammy/tuto rial. Remote. txt Master replica Created: 2006 -02 -07 11: 55: 41. 000 Modified: 2006 -02 -07 11: 55: 41. 000 INFSO-RI-508833 Salvatore Scifo INFN Catania 9
Working with metadata Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-setattr -m File. Number=001 /sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-setattr -m File. Type=A /sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-stat /sammy/tutorial. Remote. txt LFN: /sammy/tutorial. Remote. txt. . . GUID: 001 c 4 f 76 -7 cac-13 e 8 -8439 -c 1 ced 08 dbeef. . . User: /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it Group: egee-group. . . Replicas: srm: //egee 016. cnaf. infn. it: 8443/srm/managerv 1? SFN=/ dpm/cnaf. infn. it/home/gilda/sammy/tutorial. Re mote. txt. . . Attributes: File. Number = 001 File. Type = A [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-getattr -n. File. Number /sammy/tutorial. Remote. txt File. Number=001 [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-getattr /sammy/tutorial. Remote. txt File. Number=001 File. Type=A INFSO-RI-508833 Salvatore Scifo INFN Catania 10
Working with replica file Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > lcg-infosites --vo gilda se ******************************* These are the related data for gilda: (in terms of SE) ******************************* Avail Space(Kb) Used Space(Kb) Type SEs -----------------------------142370200 144907408 grid 009. ct. infn. it 16160000000 410000000 aliserv 6. ct. infn. it [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-setreplica -a grid 009. ct. infn. it /sammy/tutorial. Remote. txt [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-getreplica /sammy/tutorial. Remote. txt srm: //egee 016. cnaf. infn. it: 8443/srm/managerv 1? SFN=/ dpm/cnaf. infn. it/home/gilda/sammy/tutorial. Remo te. txt grid 009. ct. infn. it INFSO-RI-508833 Salvatore Scifo INFN Catania 11
Complete status of the file Enabling Grids for E-scienc. E [glite-tutor] /home/sammysci/dms_exercise > glite-catalog-stat /sammy/tutorial. Remote. txt LFN: /sammy/tutorial. Remote. txt Created: 2006 -02 -07 11: 55: 41. 000 Modified: 2006 -02 -07 11: 55: 41. 000 Size: 42 Type: File Expires: Never GUID: 001 c 4 f 76 -7 cac-13 e 8 -8439 -c 1 ced 08 dbeef Created: 2006 -02 -07 11: 55: 44. 000 Modified: 2006 -02 -07 11: 55: 44. 000 Size: 42 Checksum: 0000 Status: 0 User: /C=IT/O=GILDA/OU=Personal Certificate/L=INFN- Catania/CN=Salvatore Scifo/Email=s. scifo@aruba. it Group: egee-group User rights: pdrwl-gs Group rights: --rwlxg. Other rights: ---w---Replicas: srm: //egee 016. cnaf. infn. it: 8443/srm/managerv 1? SFN=/ dpm/cnaf. infn. it/home/gilda/sammy/tu torial. Remote. txt Master replica Created: 2006 -02 -07 11: 55: 41. 000 Modified: 2006 -02 -07 11: 55: 41. 000 grid 009. ct. infn. it Created: 2006 -02 -07 18: 20: 58. 000 Modified: 2006 -02 -07 18: 20: 58. 000 Attributes: File. Number = 001 File. Type = A INFSO-RI-508833 Salvatore Scifo INFN Catania 12
0b9c2fbe3aabe86a2ad35d34fc6f922d.ppt