Workflows over Grid-based Web services General framework and a practical case in structural biology gLite 3.0 Data Management Hands-on David García Aristegui.

Slides:



Advertisements
Similar presentations
Workflows over Grid-based Web services General framework and a practical case in structural biology gLite 3.0 Data Management David García Aristegui Grid.
Advertisements

INFSO-RI Enabling Grids for E-sciencE Data Management System Jean Salzemann CNRS/IN2P3 ACGRID School, Hanoi (Vietnam) November 6th,
EGEE is a project funded by the European Union under contract IST Grid Data Management Hands-on Simone Campana LCG Experiment Integration and.
1 CHEP 2000, Roberto Barbera Tests of data management services in EDG 1.2 ALICE Off-line Week,
Grid Data Management Assaf Gottlieb - Israeli Grid NA3 Team EGEE is a project funded by the European Union under contract IST EGEE tutorial,
16 th LHCb Software Week1 April th LHCb Software Week1 April 2004 Happy April Fools Unfortunately, not yet … … but I hope so one day.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Services Abderrahman El Kharrim
Linux+ Guide to Linux Certification, Second Edition
MLalign2D on the Grid Germán Carrera, Alfredo Solano (CNB/CSIC) EMBRACE COURSE Monday 19th of February to Friday 23th. CNB-CSIC Madrid.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
Linux+ Guide to Linux Certification, Second Edition
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Data Management Hands-on Claudio Cherubino.
The LCG File Catalog (LFC) Jean-Philippe Baud – Sophie Lemaitre IT-GD, CERN May 2005.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE middleware Data Management in gLite.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Nov. 18, EGEE and gLite are registered trademarks gLite Middleware Usage Dusan.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE middleware: gLite Data Management EGEE Tutorial 23rd APAN Meeting, Manila Jan.
Enabling Grids for E-sciencE Introduction Data Management Jan Just Keijser Nikhef Grid Tutorial, November 2008.
Stephen Burke – Data Management - 3/9/02 Partner Logo Data Management Stephen Burke, PPARC/RAL Jeff Templon, NIKHEF.
E-science grid facility for Europe and Latin America Data Management Services E2GRIS1 Rafael Silva – UFCG (Brazil) Universidade Federal.
Glite. Architecture Applications have access both to Higher-level Grid Services and to Foundation Grid Middleware Higher-Level Grid Services are supposed.
INFSO-RI Enabling Grids for E-sciencE Αthanasia Asiki Computing Systems Laboratory, National Technical.
INFSO-RI Enabling Grids for E-sciencE Αthanasia Asiki Computing Systems Laboratory, National Technical.
Managing Data DIRAC Project. Outline  Data management components  Storage Elements  File Catalogs  DIRAC conventions for user data  Data operation.
SEE-GRID-SCI Storage Element Installation and Configuration Branimir Ackovic Institute of Physics Serbia The SEE-GRID-SCI.
INFSO-RI Enabling Grids for E-sciencE Introduction Data Management Ron Trompert SARA Grid Tutorial, September 2007.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Data management in LCG and EGEE David Smith.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Command Line Grid Programming Spiros Spirou Greek Application Support Team NCSR “Demokritos”
1 Egrid portal Stefano Cozzini and Angelo Leto. 2 Egrid portal Based on P-GRADE Portal 2.3 –LCG-2 middleware support: broker, CEs, SEs, BDII –MyProxy.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Data management in EGEE.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Data Management Hands-on Juan Eduardo Murrieta.
12th EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
Enabling Grids for E-sciencE gLite security pratical tutorial Dario Russo INFN Catania Catania,
Istituto Nazionale di Astrofisica Information Technology Unit INAF-SI Job with data management Giuliano Taffoni.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Architecture of LHC File Catalog Valeria Ardizzone INFN Catania – EGEE-II NA3/NA4.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Algiers, EUMED/Epikh Application Porting Tutorial, 2010/07/04.
GRID commands lines Original presentation from David Bouvet CC/IN2P3/CNRS.
Grid Data Management Assaf Gottlieb Tel-Aviv University assafgot tau.ac.il EGEE is a project funded by the European Union under contract IST
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Data Management Maha Metawei
INFSO-RI Enabling Grids for E-sciencE Practicals on LFC and gLite DMS Tony Calanducci Emidio Giorgio INFN Retreat between GILDA.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
EGEE Data Management Services
LFC Server Installation & Configuration
gLite Basic APIs Christos Filippidis
Java API del Logical File Catalog (LFC)
The gLite Data Management System
LFC Installation and Configuration
Practical: The Information Systems
gLite 1.4. Data Mangement Exercises
Scuola Grid INFN, Martina Franca, Nov
Introductions Using gLite Grid Miguel Angel Díaz Corchero
gLite Data management system overview
The gLite API – Part II Giuseppe LA ROCCA ACGRID-II School
Hands-On Session: Data Management
LFC Installation and configuration
GFAL 2.0 Devresse Adrien CERN lcgutil team
Data Management in Release 2
Riccardo Bruno, Salvatore Scifo gLite - Tutorial Catania, dd.mm.yyyy
Enrico Fattibene INFN-CNAF
Data Management Ouafa Bentaleb CERIST, Algeria
Data services in gLite “s” gLite and LCG.
Grid Data Replication Kurt Stockinger Scientific Data Management Group Lawrence Berkeley National Laboratory.
EGEE Middleware: gLite Information Systems (IS)
Architecture of the gLite Data Management System
gLite Data and Metadata Management
Lab 2: Terminal Basics.
Data Management system in gLite middleware
Site availability Dec. 19 th 2006
Presentation transcript:

Workflows over Grid-based Web services General framework and a practical case in structural biology gLite 3.0 Data Management Hands-on David García Aristegui Grid Applications Developer CNB/CSIC

Set up your environment Check the following environment variables, used to specify the catalog type and its location, are set up properly: export LCG_CATALOG_TYPE=lfc export LCG_GFAL_VO=biomed export LFC_HOST=cclcglfcli02.in2p3.fr Ensure you have created a proxy certificate and it is still valid. If not create it by: voms-proxy-init --voms biomed voms-proxy-info -all

lcg-infosites lcg-infosites: no manual entry for this command –lcg-infosites --help Is a very useful command to interact with the EGEE Information System Execution: lcg-infosites –vo biomed (se | ce | rb | all ) We detect the resources for a certain VO with lcg-infosites Biomed SEs? –lcg-infosites –vo biomed se BDII value: david]$ env | grep BDII LCG_BDII_INFOSYS=lcg-bdii.cern.ch:2170

Listing the entries of a LFC directory lfc-ls [-cdiLlRTu] [--comment] path… where path specifies the LFC pathname (mandatory) –Remember that LFC has a directory tree structure – /grid/biomed/ –All members of a given VO have read-write permissions under their directory –-l (it is a lowercase “L”) outputs long listing –-R lists the contents of directories recursively (don’t use it so often!) LFC Catalog commands Defined by the userLFC Namespace

lfc-* commands exercices FIRST TESTS –lfc-ls /grid/ –lfc-ls /grid/biomed –lfc-ls /grid/biomed/david MORE OPTIONS??? –type “man lfc-ls” ;-) OTHER OPTIONAL ENV. VARIABLE –export LFC_HOME=/grid/biomed –then execute lfc-ls GENERATING A DIRECTORY –lfc-mkdir /grid/biomed/YOURUSERNAME

lcg-utils: lcg-cr Upload a file to a SE and register it into the catalog lcg-cr -d dest_file | dest_host -l lfn [-g guid] [-l lfn] [-v | --verbose] --vo vo src_file where –dest_host is the fully qualified hostname of the destination SE –dest_file is a valid SURL (both sfn:// or srm:// format are valid) –guid specifies the Grid Unique IDentifier. If this option is not present, a GUID is generated internally –lfn specifies the Logical File Name associated with the file –vo specifies the Virtual Organization the user belongs to –src_file specifies the source file name: the protocol can be file:/// or gsiftp:///

lfc-* and lcg-* commands exercices HELLO WORLD, ONCE AGAIN –generate a hellowordl.txt in your UI home (echo “hello” > helloword.txt) –man lcg-cr –lcg-cr --vo biomed -d baudelaire.cnb.uam.es file:///home/david/helloworld.txt guid:76fd3066-c5cf a8-7ce08a2e9f1c –lfc-ls /grid/biomed/ ??? –man lcg-cp –lcg-cp --vo biomed guid:76fd3066-c5cf a8-7ce08a2e9f1c file:///tmp/toto DEFAULT SE david]$ env | grep BIOMED VO_BIOMED_DEFAULT_SE=baudelaire.cnb.uam. –lcg-cr --vo biomed file:///home/david/helloworld.txt OTHER SEs? –remember lcg-infosites!!!

Scared of GUIDs? More lfc/lcg usages WORKING WITH LFNs –generate a ihateguids.txt in your UI home (echo “hate” > ihateguids.txt) –lcg-cr --vo biomed -d baudelaire.cnb.uam.es file:///home/david/ihateguids.txt -l lfn:///grid/biomed/david/ihateguids.txt (all in the same line!!!)file:///home/david/ihateguids.txt –lfc-ls /grid/biomed/david ??? –lcg-cp --vo biomed lfn:/grid/biomed/david/ihateguids.txt file:///tmp/hate DELETE A FILE –man lcg-del (pay attention to replicas, later) –lcg-del --vo biomed -a lfn:/grid/biomed/directory/file DELETE A DIRECTORY –lfc-rm -r /grid/biomed/BECAREFUL

Replicas and replication Replication –man lcg-rep –lcg-rep --vo biomed -d cluster.pnpi.nw.ru lfn:/grid/biomed/david/text_file.txt –lcg-* commands are very shy. There is no output from some commands on success (lcg-rep). You can check that the replica was created by listing all the replicas of your file, that is done by using the LCG list replicas command david]$ lcg-lr --vo biomed lfn:/grid/biomed/david/text_file.txt sfn://baudelaire.cnb.uam.es/storage/biomed/generated/ /fileda45e711-f69d e28-b6e85335e48e srm://cluster.pnpi.nw.ru/dpm/pnpi.nw.ru/home/biomed/generated/ /file521a02b3-12b4-4af7-82bc c9 Symbolic links –man lfc-ln –lfc-ln -s /grid/biomed/david/text_file.txt /grid/biomed/david/text_file_symlink.txt –lfc-ls -l /grid/biomed/david ???

DIY: do-it-yourself Exercice –Create a new directory –Put two files in it –Replicate the first one in two SEs –Create a symbolic link –Add a comment in one file. Clues: lfc-setcomment /grid/biomed/etc/etc lfc-ls –comment /grid/biomed/etc/etc Any questions? –Theory? –Hands-on?