FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America The AMGA metadata catalog with use cases.

Slides:



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

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 AMGA Metadata Access on the Grid Mike Mineter.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America The AMGA metadata catalog with use cases.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
E-science grid facility for Europe and Latin America A Data Access Policy based on VOMS attributes in the Secure Storage Service Diego Scardaci.
The AMGA metadata catalog Riccardo Bruno - INFN Madrid, 07-11/05/2007.
Asterios Katsifodimos Saturday, May 23, 2015 High Performance Computing systems Lab University of Cyprus The AMGA metadata catalog – An Overview Slides.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America AMGA metadata catalog with use cases Tony.
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
INFSO-RI Enabling Grids for E-sciencE University of Coimbra AMGA Use Cases Tony Calanducci NA4 Generic Applications Meeting January.
Makrand Siddhabhatti Tata Institute of Fundamental Research Mumbai 17 Aug
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America The AMGA metadata catalog with use cases.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Information System (IS) Valeria Ardizzone.
ES Metadata Management Enabling Grids for E-sciencE ES metadata OGSA-DAI NA4 GA Meeting, D. Weissenbach, IPSL, France.
IST E-infrastructure shared between Europe and Latin America The AMGA metadata catalog with use cases Domenico Vicinanza, CERN.
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 gLibrary: a Multimedia Contents Management System on the grid Tony Calanducci INFN Catania,
FESR Trinacria Grid Virtual Laboratory The AMGA metadata catalog with use cases Riccardo Bruno - INFN gLite Tutorial Istanbul, July.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America AMGA Server Installation Tony Calanducci.
INFSO-RI Enabling Grids for E-sciencE Distributed Metadata with the AMGA Metadata Catalog Nuno Santos, Birger Koblitz 20 June 2006.
The huge amount of resources available in the Grids, and the necessity to have the most up-to-date experimental software deployed in all the sites within.
EGEE-II INFSO-RI Enabling Grids for E-sciencE AMGA Metadata Access on the Grid Mike Mineter.
INFSO-RI Enabling Grids for E-sciencE AMGA Metadata Server - Metadata Services in gLite (+ ARDA DB Deployment Plans with Experiments)
Enabling Grids for E-sciencE EGEE-III INFSO-RI I. AMGA Overview What is AMGA Metadata Catalogue of EGEE’s gLite 3.1 Middleware Main Feature of.
EGRIS-1 E-infrastructure shared between Europe and Latin America AMGA Metadata Services: examples and usage scenarios Tony Calanducci INFN.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks AMGA PHP API Claudio Cherubino INFN - Catania.
Metadata Mòrag Burgon-Lyon University of Glasgow.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA gLite Information System Pedro Rausch IF.
Managing Data DIRAC Project. Outline  Data management components  Storage Elements  File Catalogs  DIRAC conventions for user data  Data operation.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
Recent improvements in HLRmon, an accounting portal suitable for national Grids Enrico Fattibene (speaker), Andrea Cristofori, Luciano Gaido, Paolo Veronesi.
Enabling Grids for E-sciencE EGEE-II INFSO-RI Medical Data Manager 1 Dicom retrieval : overview of the DPM One command line to retrieve a file:
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Grid2Win: Porting of gLite middleware to.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America gLite Information System Claudio Cherubino.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Evaluating Metadata access strategies with.
INFSO-RI Enabling Grids for E-sciencE Summary of the data access session EGEE User Forum, March 3 rd, 2006 Johan Montagnat Birger.
FP6−2004−Infrastructures−6-SSA Enabling Grids for E-sciencE The AMGA Metadata Catalog Introduction and hands-on exercises Nuno Santos.
Storing digital assets on Grid/EGI FedCloud with gLibrary Giuseppe La Rocca, INFN DARIAH ERIC.
EGEE-II INFSO-RI Enabling Grids for E-sciencE AMGA Metadata Service Gergely Sipos.
EGEE-II INFSO-RI Enabling Grids for E-sciencE More on gLite: 2 services you have not seen! Mike Mineter.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America The GILDA t-Infrastructure Roberto Barbera.
FESR Consorzio COMETA - Progetto PI2S2 The AMGA Metadata Catalog with use cases Salvatore Scifo, Tony Calanducci INFN Catania Grid.
FESR Trinacria Grid Virtual Laboratory University of Coimbra AMGA Use cases: gLibrary & gMOD Tony Calanducci INFN Catania, NA3 & NA4 First.
IST E-infrastructure shared between Europe and Latin America The GILDA t-Infrastructure and the GENIUS portal Christian Grunfeld,
FESR Consorzio COMETA - Progetto PI2S2 AMGA Official Metadata Service for EGEE Salvatore Scifo – Consorzio Cometa - Catania, ITALY.
FESR Consorzio COMETA - Progetto PI2S2 AMGA Official Metadata Service for EGEE Salvatore Scifo – Consorzio Cometa - Catania, ITALY.
EGEE-II INFSO-RI Enabling Grids for E-sciencE AMGA Metadata Service Mike Mineter.
DGAS Distributed Grid Accounting System INFN Workshop /05/1009, Palau Giuseppe Patania Andrea Guarise 6/18/20161.
REST API to develop application for mobile devices Mario Torrisi Dipartimento di Fisica e Astronomia – Università degli Studi.
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.
Grid based telemedicine application
gLite Basic APIs Christos Filippidis
NA4/medical imaging. Medical Data Manager Installation
AMGA - Official Metadata Service for EGEE
AMGA Metadata Service Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers Course”, Sofia, Bulgaria,
Security and Replication of Metadata with AMGA
Metadata Services on the GRID
AMGA Web Interface Salvatore Scifo INFN sez. Catania
Alice Off-line Week, February 24th, 2005
GSAF Grid Storage Access Framework
GSAF Grid Storage Access Framework
AMGA Metadata Service Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers Course”, Plovdiv, Bulgaria,
AMGA Metadata Service Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers Course”, Sofia, Bulgaria,
AMGA Web Interface Vincenzo Milazzo
The AMGA metadata catalog
EGEE Middleware: gLite Information Systems (IS)
Metadata Services on the GRID
Presentation transcript:

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America The AMGA metadata catalog with use cases Giuseppe Andronico - INFN 4 th EELA Tutorial Mexico City, 28 August – 1 September 2006

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Contents Background and Motivation for AMGA Interface, Architecture and Implementation Metadata Replication on AMGA Deployment Examples GILDA Use cases

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 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 makes DB access a simple task on the Grid –Many Grid applications need structured data –Many applications require only simple schemas  These schemas can be easily modelled as metadata –Main advantage: better integration with the Grid environment  Metadata Service is a Grid component  Grid security  Hide DB heterogeneity

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September ARDA evaluated existing Metadata Services from HEP experiments –AMI (ATLAS), RefDB (CMS), Alien Metadata Catalogue (ALICE) –Similar goals, similar concepts –Each designed for a particular application domain  Reuse outside intended domain difficult –Several technical limitations: large answers, scalability, speed, lack of flexibility ARDA proposed an interface for Metadata access on the GRID –Based on requirements of LHC experiments –But generic - not bound to a particular application domain –Designed jointly with the gLite/EGEE team –Incorporates feedback from GridPP Adopted as the official EGEE Metadata Interface –Endorsed by PTF (Project Technical Forum of EGEE) ARDA/gLite Metadata Interface

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 AMGA Implementation ARDA developed a P roject T ask F orce in order to develop: –AMGA – ARDA Metadata Grid Application Began as prototype to evaluate the Metadata Interface –Evaluated by community since the beginning:  LHCb and Ganga were early testers (more on this later) –Matured quickly thanks to users feedback Now is part of the gLite middleware –Official Metadata Service for EGEE –First release with gLite 1.5 –Also available as standalone component It is expanding to other user communities: –HEP, Biomed, UNOSAT…

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Metadata Concepts Some Concepts: –Metadata - List of attributes associated with entries –Attribute – key/value pair with type information  Type – The type (int, float, string,…)  Name/Key – The name of the attribute  Value - Value of an entry's attribute –Schema – A set of attributes –Collection – A set of entries associated with a schema –Think of schemas as tables, attributes as columns, entries as rows

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 AMGA Features Dynamic Schemas –Schemas can be modified at runtime by client  Create, delete schemas  Add, remove attributes Metadata organised as an hierarchy –Collections can contain sub-collections –Analogy to file system:  Collection  Directory; Entry  File Flexible Queries –SQL-like query language –Joins between schemas –Example QUERY EXAMPLE: selectattr /gLibrary:FileName \ /gLibrary:Author \ ‘/gLibrary:FILE=/gLAudio:FILE \ and \ like(/gLibrary:FileName,“%.mp3")‘

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 AMGA Security Unix style permissions ACLs – per-collection or per-entry. Secure connections – SSL Client Authentication based on –Username/password –General X509 certificates –Grid-proxy certificates Access control via a Virtual Organization Membership Service (VOMS) –Possibility to define different roles for different users

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 AMGA Implementation C++ multiprocess server –Runs on any Linux flavour Backends –Oracle, MySQL, PostgreSQL, SQLite Two frontends –TCP Streaming  High performance  Client API for: C++, Java, Python, Perl, Ruby –SOAP  Interoperability Also implemented as standalone Python library –Data stored on filesystem

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Architecture TCP-Streaming frontend Designed for scalability –Asynchronous operation  Reading from DB and sending data to the client –Response sent to client in chunks  There is no limit on the maximum response size Example: TCP Streaming –Text based protocol (like SMTP, POP3,…) –Response streamed to client Client: listattr entry Server: 0 entry value1 value2 …

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Metadata Replication 1/2 Motivation –Scalability – Support hundreds/thousands of concurrent users –Geographical distribution – Hide network latency –Reliability – No single point of failure –DB Independent replication – Heterogeneous DB systems –Disconnected computing – Off-line access (laptops) Architecture –Asynchronous replication –Master-slave – Writes only allowed on the master –Replication at the application level  Replicate Metadata commands, not SQL → DB independence –Partial replication – supports replication of only sub-trees of the metadata hierarchy

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Metadata Replication 2/2 Full replication Partial replication FederationProxy

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Early adopters of AMGA LHCb-bookkeeping (keep additional information from executed jobs) –Migrated bookkeeping metadata to ARDA prototype  20M entries, 15 GB  Large amount of static metadata –Feedback valuable in improving interface and fixing bugs –AMGA shown good scalability Ganga –Job management system  Developed jointly by Atlas and LHCb –Uses AMGA for storing information about job status  Small amount of highly dynamic metadata

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Biomed Medical Data Manager – MDM –Store and access medical images and associated metadata on the Grid –Built on top of gLite 1.5 data management system –Demonstrated at last EGEE conference (October 05, Pisa) Strong security requirements –Patient data is sensitive –Data must be encrypted –Metadata access must be restricted to authorized users AMGA used as metadata server –Demonstrates authentication and encrypted access –Used as a simplified DB More details at: –

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Accessing AMGA TCP Streaming Front-end –mdcli & mdclient and C++ API (md_cli.h, MD_Client.h) –Java Client API and command line mdjavaclient.sh & mdjavacli.sh (also under Windows !!) –Python Client API SOAP Frontend (WSDL) –C++ gSOAP –AXIS (Java) –ZSI (Python)

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Conclusion AMGA – Metadata Service of gLite –Part of gLite (but still not certificed in gLite 3.0. it will be done with 3.1 release) –Useful for simplified DB access –Fully integrated on the Grid environment (Security) Replication/Federation features Tests show good performance/scalability Already deployed by several Grid Applications –LHCb, ATLAS, Biomed, … AMGA Web Site –

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 GILDA Use cases gLibrary AMGA for geospatial metadata: GIS (Geographical Information System) gMOD

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gLibrary Motivations Huge amounts of data can be saved on SEs (did we forget to interact directly with Data Grids?) But how can we easily find later a file that we need? –(if you have good memory, its GUID could be a solution) –File Catalogues just let us to arrange files in folders and subfolders, no way to query on their contents –Metadata Catalogues are a possible solution, but not always “affordable” especially for non expert users (powerful but complex to use) Our solution: a higher level application built on top of many gLite grid services: a Metadata Catalogue + File Catalogues + Storage Elements  gLibrary Requirements: easy to use, fast, secure, extensible

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gLibrary goals Attempt to create a Multimedia Management System on the Grid –Examples of Multimedia Contents handled by gLibrary:  Images  Movies  Audio Files  Office Documents (Powerpoint, Word, Excel, OpenOffice)  s, PDFs, HTMLs  Customized versions of well-know document type (ex. EGEE PPTs)  …. Keep track and organize in a uniform way all the additional details (metadata) of files saved in Storage Elements and registered in File Catalogues Provide users an easy way to locate and retrieve files based on their contents

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Usage scenarios Examples (Office/Entertainment): –Locate all theoretical (PPTType) PowerPoint (Type) presentations about FireMan (Keywords) given in 2005 (Date) by John.S (Speaker); –Find all the movies (Type) in which Julia Roberts (Cast) performed together with Hugh Grant (Cast) produced in USA (Country) in 2004 (ReleaseDate) –All the acoustic (Genre) mp3 (Format) audio files (Type) of Alanis Morissette (Singer) that last more than 3 minutes (Runtime). Example 2 (Biomed): –A doctor is looking for brain (keyword) DICOM (Type) images of male (Gender) patients older than 65 (Age). Example 3 (Complex activities): –A job can behave as a storage crawler: it scans pre-existing files in Storage Elements to extract relevant metadata that will be published on gLibrary for further data mining.

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gLibrary prototype implementation Files are saved on SEs and registered into file catalogues (LFC and/or FiReMan) The AMGA Metadata Catalogue is used to archive and organize metadata and to answer users’ queries. gLibrary is built using the following AMGA collections: –/gLibrary contains generic metadata for each entry –/gLAudio, /gLImage, /gLVideo, /gLPPT, /EGEEPPT, /gLDoc, … are examples of collections of “additional features” (shown later) –/gLTypes  keeps the associations between document types and the names of the collection that contains the “additional features”  is used by gLibrary to find out where it has to look when new document types are added into the system (extensibility) –/gLKeys is used to store Decryption Keys

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Example of entries Collection/gLibrary Entry Names (GUIDs) Attributes FileNamePathNameTypeSubmitter 4ffaffc8-26e b460- 3d5bf08081a4 DedicatoAte.mp3/grid/gilda/calanducciAudioTony Calanducci 00454dca-a269-4b93-8a45- c4012af05600 ardizzonelarocca_is_ ppt.gpg/grid/gilda/calanducci/ EGEE EGEEDOCTony Calanducci /gLibrary (continuum) Attributes SubmissionDateEncryptionDescriptionKeywordsCreationDate :00:00falseCanzone delle vibrazioni che ha ricevuto un enorme successo tra i teenagers nel 2003 Vibrazioni :00: :44:22truegLite Information SystemR-GMA, RGMA, BDII, IS :40...

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Example of gLibrary collections Collection/gLTypes Entry names Attributes Path (refers to a collection) Audio /gLAudio Image /gLImage Video /gLVideo Documents /gLDOC PowerPoint /gLPPT EGEEDOC /EGEEPPT Collection/EGEEPPT Entry names Attributes TitleRuntimeAuthorTypeDateEventSpeakerTopic 00454dca-a269- 4b93-8a45- c4012af05600 Information Systems 00:30:00Valeria Ardizzione, Giuseppe La Rocca Theorical th EGEE Conferen ce Giuseppe La Rocca, Valeria Ardizzone R-GMA, BDII Collection/gLAudio Entry names Attributes SongTitleDurationAlbumGenreSingerFormat 4ffaffc8-26e b460-3d5bf08081a4 Dedicato A Te00:03:27Dedicato A TePopLe VibrazioniMP3 Collection/gLKeys Entry names Attributes Passphrase 00454dca-a269-4b93-8a45- c4012af05600 ardizzo “additional features”

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gLibrary Security User Requirements: –a valid proxy with VOMS extensions –VOMS Role and Group needed to be recognized by gLibrary as a contents manager 3 kinds of users: –gLibraryManager: (s)he can create new content type and allows a generic VO user to become gLibrarySubmitter –gLibrarySubmitters: they can add new entries and define access rights on the entries they create.  Fine-grained permission (reading, writing, listing, decrypting) settings on each entry: whole VO members, VO groups, list of DNs –generic VO users: browse and make queries (on entries they have access to) Basic level of cryptography: –New files saved on SEs can be encrypted beforehand with a symmetric passphrase (GPG) that will be saved in /gLKeys. Only selected users (that have a specific DN in the subject of their VOMS proxy) can access the passphrase and decrypt the file.

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 AMGA for GIS Datatype Metadata AMGA Datatypes –Using the above datatypes the user can be sure that the metadata can be easily moved to all supported back-ends –If the user does not care about the DB portability, he can use, in principle, as entry attribute type ALL the native datatypes supported by the specific back-end. Even the more esoteric ones like: (PostgreSQL Network Address type or Geometric ones) We played a little bit with GIS Datatype offered by MySQL 5

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Example with ESR data Query> listattr /ESR/opera_nno >> Dataset >> varchar(30) >> File_Name >> varchar(50) >> Footprint >> multipolygon >> Lat >> numeric(8,2) >> Level >> varchar(5) >> Lon >> numeric(8,2) >> Orbit >> int(5) >> Proc_centre >> varchar(50) >> Proc_date >> timestamp >> Start_Date >> timestamp >> Stop_Date >> timestamp... We created a /ESR/opera_nno collection asking AMGA to use the MyISAM table engine We used insert command that evaluates all inserted values: insert sameEntryName Dataset "GOME" Level 2 Version "v1.1" Orbit File_Name "/grid/esr/gome/utv/2000/03/ utv" Start_Date '" :01:00.0"' Stop_Date '" :58:00.0"' Footprint 'MPolyFromText("MULTIPOLYGON((( , , , , , , , , … … , , , , , , )))")' Proc_centre "EGEE" Proc_date '" :20:00.0"' File_input " lv1" Proc_description '"Algorithm: utv"'

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 Sample queries As a summary, the following functions work : GeomFromText(), MPolyFromText(), Contains(), AsText() In principle PostgreSQL+PostGIS would also work but this is not fully tested. Query> selectattr /ESR/opera_nno:File_Name /ESR/opera_nno:Start_Date /ESR/opera_nno:Stop_Date 'Contains(/ESR/opera_nno:Footprint, GeomFromText("POINT( )"))' >> /grid/esr/gome/utv/2000/03/ utv >> :01:00 >> :58:00 Query> selectattr /ESR/opera_nno:File_Name AsText(/ESR/opera_nno:Footprint) '' >> /grid/esr/gome/utv/2000/03/ utv >> MULTIPOLYGON((( , , , , , , , , , , ,75.07… Let’s check if the entry was properly inserted (we need to use AsText() to decode a MultiPolygon): We want to look for a Polygon that cointains a given point:

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gMOD: grid Movie On Demand gMOD provides a Video-On-Demand service User chooses among a list of video and the chosen one is streamed in real time to the video client of the user’s workstation For each movie a lot of details (Title, Runtime, Country, Release Date, Genre, Director, Case, Plot Outline) are stored and users can search a particular movie querying on one or more attributes Two kind of users can interact with gMOD: TrailersManagers that can administer the db of movies (uploading new ones and attaching metadata to them); GILDA VO users (guest) can browse, search and choose a movie to be streamed.

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gMOD under the hood Built on top of gLite services + GENIUS web portal: Storage Elements, sited in different places, physically contain the movie files LFC, the File Catalogue, keeps track in which Storage Element a particular movie is located AMGA is the repository of the detailed information for each movie, and makes possible queries on them The Virtual Organization Membership Service (VOMS) is used to assign the right role to the different users The Workload Management System (WMS) is responsible to retrieve the chosen movie from the right Storage Element and stream it over the network down to the user’s desktop or laptop

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gMOD interactions VOMS LFC Catalogue Metadata Catalogue WNWN WN CE Storage Elements User Genius Portal Workload Management System get Role AMGA

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006 gMOD screenshot gMOD is accesible through the Genius Portal (

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 4 th EELA Tutorial, Mexico City, 28 August – 1 September 2006