gLite Basic APIs Christos Filippidis

Slides:



Advertisements
Similar presentations
Data Management Expert Panel - WP2. WP2 Overview.
Advertisements

Data Management Expert Panel. RLS Globus-EDG Replica Location Service u Joint Design in the form of the Giggle architecture u Reference Implementation.
EGEE-II INFSO-RI Enabling Grids for E-sciencE The gLite middleware distribution OSG Consortium Meeting Seattle,
Grid Data Management Assaf Gottlieb - Israeli Grid NA3 Team EGEE is a project funded by the European Union under contract IST EGEE tutorial,
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Services Abderrahman El Kharrim
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
Makrand Siddhabhatti Tata Institute of Fundamental Research Mumbai 17 Aug
INFSO-RI Enabling Grids for E-sciencE Comparison of LCG-2 and gLite Author E.Slabospitskaya Location IHEP.
INFSO-RI Enabling Grids for E-sciencE gLite Data Management Services - Overview Mike Mineter National e-Science Centre, Edinburgh.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Data Grid Services/SRB/SRM & Practical Hai-Ning Wu Academia Sinica Grid Computing.
EGEE-III INFSO-RI Enabling Grids for E-sciencE The Medical Data Manager : the components Johan Montagnat, Romain Texier, Tristan.
INFSO-RI Enabling Grids for E-sciencE Project Gridification: the UNOSAT experience Patricia Méndez Lorenzo CERN (IT-PSS/ED) CERN,
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-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.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA gLite Information System Pedro Rausch IF.
Glite. Architecture Applications have access both to Higher-level Grid Services and to Foundation Grid Middleware Higher-Level Grid Services are supposed.
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.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Alexandre Duarte CERN IT-GD-OPS UFCG LSD 1st EELA Grid School.
Database authentication in CORAL and COOL Database authentication in CORAL and COOL Giacomo Govi Giacomo Govi CERN IT/PSS CERN IT/PSS On behalf of the.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Data management in LCG and EGEE David Smith.
INFSO-RI Enabling Grids for E-sciencE VOMS & MyProxy interaction Emidio Giorgio INFN NA4 Generic Applications Meeting 10 January.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using WMProxy advanced job submission.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Data management in EGEE.
1 DIRAC Data Management Components A.Tsaregorodtsev, CPPM, Marseille DIRAC review panel meeting, 15 November 2005, CERN.
INFSO-RI Enabling Grids for E-sciencE University of Coimbra gLite 1.4 Data Management System Salvatore Scifo, Riccardo Bruno Test.
INFSO-RI Enabling Grids for E-sciencE University of Coimbra Data Management System gLite – LCG – FiReMan Salvatore Scifo INFN Catania.
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.
SAM architecture EGEE 07 Service Availability Monitor for the LHC experiments Simone Campana, Alessandro Di Girolamo, Nicolò Magini, Patricia Mendez Lorenzo,
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Data Management Maha Metawei
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overveiw of the gLite middleware Yaodong Cheng
Martedi 8 novembre 2005 Consorzio COMETA “Progetto PI2S2” FESR Data Management System Annamaria Muoio -- INFN Catania PI2S2 First Tutorial -- Messina,
FESR Trinacria Grid Virtual Laboratory Practical using WMProxy advanced job submission Emidio Giorgio INFN Catania.
EGEE Data Management Services
Jean-Philippe Baud, IT-GD, CERN November 2007
Practical using C++ WMProxy API advanced job submission
GFAL Grid File Access Library
GFAL Grid File Access Library
GFAL: Grid File Access Library
StoRM: a SRM solution for disk based storage systems
AMGA Metadata Service Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers Course”, Sofia, Bulgaria,
gLite Data Management Services
Java API del Logical File Catalog (LFC)
gLite Data management system overview
gLite Grid Services Salma Saber
Comparison of LCG-2 and gLite v1.0
Grid Services Ouafa Bentaleb CERIST, Algeria
Hands-On Session: Data Management
Middleware Overview University of the Free State Albert van Eck
GSAF Grid Storage Access Framework
gLite Information System
GSAF Grid Storage Access Framework
AMGA Metadata Service Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers Course”, Plovdiv, Bulgaria,
Data Management Ouafa Bentaleb CERIST, Algeria
AMGA Metadata Service Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers Course”, Sofia, Bulgaria,
Data services in gLite “s” gLite and LCG.
EGEE Middleware: gLite Information Systems (IS)
gLite Grid Services Riccardo Bruno
Overview of gLite Middleware
Architecture of the gLite Data Management System
gLite Data and Metadata Management
INFNGRID Workshop – Bari, Italy, October 2004
Information Services Claudio Cherubino INFN Catania Bologna
Presentation transcript:

gLite Basic APIs Christos Filippidis (filippidis@inp.demokritos.gr) Application Support Team NCSR “Demokritos”, Institute of Nuclear Physics

Contents Workload Management proxy API (WM proxy) gLite I/O LCG File Catalog API (LFC) Grid File Access Library API (GFAL) Relational Grid Monitoring Architecture APIs (R-GMA) Virtual Organization Membership Service API (VOMS) ARDA Metadata Grid Application (AMGA )

WMProxy WMProxy (Workload Manager Proxy) Is a service providing access to the gLite Workload Management System (WMS) . Has been designed to efficiently handle a large number of requests for job submission. The service interface addresses the Web Services and SOA (Service Oriented Architecture) architecture standards. APIs are available for Java, Python, C++

WMProxy Supported types The request types supported by the WMProxy service are: Job: a simple application DAG: a direct acyclic graph of dependent jobs Collection: a set of independent jobs Jobs in turn can be batch, interactive, MPI-based, checkpointable, Parametric.

LFN – GUID – SURL mappings gLite-I/O Client only sees a simple API library and a Command Line Interface GUID or LFN can be used, i.e. open(“/grid/myFile”) GSI Delegation to gLite I/O Server Server performs all operations on User’s behalf Resolve LFN/GUID into SURL and TURL Operations are pluggable Catalog interactions SRM interactions Native I/O FiReMan RLS, RMC LFN – GUID – SURL mappings AliEn FC Server Catalog Modules aio SRM API SURL - TURL mappings SRM Client open(LFN) gsiftp MSS Protocol Modules dcap rfio

Name conventions Logical File Name (LFN) An alias created by a user to refer to some item of data, e.g. “lfn:cms/20030203/run2/track1” Globally Unique Identifier (GUID) A non-human-readable unique identifier for an item of data, e.g. “guid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6” Site URL (SURL) (or Physical File Name (PFN) or Site FN) The location of an actual piece of data on a storage system, e.g. “srm://pcrd24.cern.ch/flatfiles/cms/output10_1” (SRM) “sfn://lxshare0209.cern.ch/data/alice/ntuples.dat” (Classic SE) Transport URL (TURL) Temporary locator of a replica + access protocol: understood by a SE, e.g. “rfio://lxshare0209.cern.ch//data/alice/ntuples.dat”

The LFC One single catalog LFN acts as main key in the database. It has: Symbolic links to it (additional LFNs) Unique Identifier (GUID) System metadata Information on replicas One field of user metadata

Grid storage interactions today require using some existing software components: The replica catalog services to locate valid replicas of files in order to : Download them to the user local machine Move them from a SE to another one Make job running on the worker node able to access and manage files stored on remote storage element. The SRM software to ensure: Files existence on disk or disk pool (they are recalled from mass storage if necessary) Space allocation on disk for new files (they are possibly migrated to mass storage later)

GFAL, SRM and MSS SRM MSS GFAL 1. GFAL will be the highest level interface 2. It will take care of SRM and Replica Managers and protocols (transparent for the user) 3. SRM will take care of the handling with MSS (not visible for the user) GFAL SRM MSS

Introduction to R-GMA Relational Grid Monitoring Architecture (R-GMA) Developed as part of the EuropeanDataGrid Project (EDG) Now as part of the EGEE project. Based the Grid Monitoring Architecture (GMA) from the Global Grid Forum (GGF). Uses a relational data model. Data is viewed as a table. Data structure defined by the columns. Each entry is a row (tuple). Queried using Structured Query Language (SQL). APIs exist in Java, C, C++, Python. For clients (servlets contacted behind the scenes)

The Grid Monitoring Architecture

VOMS API Virtual Organization Membership Service Provides information on the user's relationship with his Virtual Organization: Groups Roles Capabilities.

VOMS API single login using voms-proxy-init only at the beginning of the session (was grid-proxy-init) multiple VOs: the user may "log-in" into multiple VOs and create an aggregate proxy certificate, which enables him to access resources in any of them

voms-proxy-info -all $ voms-proxy-info -all subject :/C=GR/O=HellasGrid/OU=inp.demokritos.gr/CN=Christos Filippidis /CN=proxy issuer : /C=GR/O=HellasGrid/OU=inp.demokritos.gr/CN=Christos Filippidis identity : /C=GR/O=HellasGrid/OU=inp.demokritos.gr/CN=Christos Filippidis type : proxy strength : 512 path : /tmp/x509up_u21457 timeleft : 11:59:51 === VO cms extension information === VO : cms subject : /C=GR/O=HellasGrid/OU=inp.demokritos.gr/CN=Christos Filippidis issuer : /C=CH/O=CERN/OU=GRID/CN=host/lcg-voms.cern.ch attribute : /cms/Role=NULL/Capability=NULL

AMGA - Metadata Access on the Grid AMGA – ARDA Metadata Grid Application

Metadata on the GRID Metadata is data about data On the Grid: information about files Describe files Locate files based on their contents But also simplified DB access on the Grid Many Grid applications need structured data Many applications require only simple schemas Can be modelled as metadata Main advantage: better integration with the Grid environment Metadata Service is a Grid component Grid security Hide DB heterogeneity

AMGA Features Dynamic Schemas Metadata organised as an hierarchy Schemas can be modified at runtime by client Create, delete schemas Add, remove attributes Metadata organised as an hierarchy Schemas can contain sub-schemas Analogy to file system: Schema  Directory; Entry  File Flexible Queries SQL-like query language Joins between schemas

AMGA: ARDA Metadata Grid Application Side-by-Side a File Catalogue (LFC): File Metadata Access control to resources on the Grid is done via VOMS Strong security requirements: patient data is sensitive metadata access must be restricted to authorized users

AMGA Implementation

A GRID Metadata Catalogue ◘ LFC Catalogue ➸ Mapping of LFN to PFN ◘ UNOSAT requires ➸ User will give as input data certain coordinates ➸ As output, want the PFN for downloading Oracle DB CASTOR ARDA APP Metadata (x,y,z) SRM PFN LFN LFC

gLite Documentation gLite Documentation http://glite.web.cern.ch/glite/documentation/