EGEE-II INFSO-RI-031688 Enabling Grids for E-sciencE www.eu-egee.org EGEE and gLite are registered trademarks AMGA PHP API Claudio Cherubino INFN - Catania.

Slides:



Advertisements
Similar presentations
Connecting to Databases. connecting to DB DB server typically a standalone application Server runs on localhost for smaller sites –i.e. Same machine as.
Advertisements

Data Management Expert Panel - WP2. WP2 Overview.
FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
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.
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.
INFSO-RI Enabling Grids for E-sciencE gLite Data Management Services - Overview Mike Mineter National e-Science Centre, Edinburgh.
ES Metadata Management Enabling Grids for E-sciencE ES metadata OGSA-DAI NA4 GA Meeting, D. Weissenbach, IPSL, France.
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.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Voms & Voms-admin report Vincenzo Ciaschini.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Using gLite API Vladimir Dimitrov IPP-BAS “gLite middleware Application Developers.
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.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Etienne Dublé - CNRS/UREC
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Security Token Service Valéry Tschopp - SWITCH.
Grid Security in a production environment: 4 years of running Andrew McNab University of Manchester.
INFSO-RI Enabling Grids for E-sciencE OGSA DAI Data Access and Integration Marek Ciglan Institute of Informatics, Slovac Academy.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks VOMS SAML Vincenzo Ciaschini MWSG Zurich,
EGEE-II INFSO-RI Enabling Grids for E-sciencE The GILDA training infrastructure.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks VOMS Vincenzo Ciaschini EGEE/OSG Workshop.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Hands on session: the AMGA Metadata Catalogue.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS Server Giuseppe La Rocca INFN EGEE Tutorial Rome November 2005.
INFSO-RI Enabling Grids for E-sciencE A Grid Approach to Distributed Image Analysis for Early Diagnosis of Alzheimer Disease Livia.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks MSG - A messaging system for efficient and.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks PASSTORE: safe certs & password management.
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:
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks WMPROXY usage Álvaro Fernández IFIC (CSIC)
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid2Win : gLite for Microsoft Windows Roberto.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Evaluating Metadata access strategies with.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to P-GRADE Portal hands-on Miklos Kozlovszky MTA SZTAKI
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Xavier Jeannin (CNRS/UREC Paris, FR) 24.
INFSO-RI Enabling Grids for E-sciencE Information System Valeria Ardizzone INFN EGEE NA4 Generic Applications Meeting Catania,
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 EGEE and gLite are registered trademarks A GRID based platform to host multiple repositories.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks GSI with OpenSSL Vincenzo Ciaschini EGEE-3.
FP6−2004−Infrastructures−6-SSA Enabling Grids for E-sciencE The AMGA Metadata Catalog Introduction and hands-on exercises Nuno Santos.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite – UNICORE interoperability Daniel Mallmann.
Current Topic – EPP - TWNIC Jeff Yeh
AMGA-Bookkeeping Carmine Cioffi Department of Physics, Oxford University UK Metadata Workshop Oxford, 05 July 2006.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks VOMS & Reliability Vincenzo Ciaschini & Andrea.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks OpenSAML extension library and API to support.
FESR Consorzio COMETA - Progetto PI2S2 The AMGA Metadata Catalog with use cases Salvatore Scifo, Tony Calanducci INFN Catania Grid.
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) AMGA metadata catalogue and high level API Andrea Cortellese
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks File Transfer Service Installation (v. 1.4)
REST API to develop application for mobile devices Mario Torrisi Dipartimento di Fisica e Astronomia – Università degli Studi.
INFSO-RI Enabling Grids for E-sciencE FiReMan Catalog installation Emidio Giorgio INFN EGEE tutorial, Rome
INFSO-RI Enabling Grids for E-sciencE FiReMan Catalog installation Emidio Giorgio INFN First Latin American Workshop for Grid Administrators.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
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
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
Metadata Services on the GRID
NetChat Communications Framework
Presentation transcript:

EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks AMGA PHP API Claudio Cherubino INFN - Catania

Enabling Grids for E-sciencE EGEE-II INFSO-RI Outline AMGA: –Features –Architecture –Interfaces –Client-Server protocol AMGA PHP API –Features –Methods –Examples gLibrary

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite)

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite) Modular front-end (High-performance TCP Streaming interface and standards compliant Web-Services front- ends)

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite) Modular front-end (High-performance TCP Streaming interface and standards compliant Web-Services front-ends) Client Authentication based on –Username/password –General X509 certificates –Grid-proxy certificates

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite) Modular front-end (High-performance TCP Streaming interface and standards compliant Web-Services front-ends) Client Authentication based on –Username/password –General X509 certificates –Grid-proxy certificates Access control via a Virtual Organization Management System (VOMS)

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite) Modular front-end (High-performance TCP Streaming interface and standards compliant Web-Services front-ends) Client Authentication based on –Username/password –General X509 certificates –Grid-proxy certificates Access control via a Virtual Organization Management System (VOMS) Secure client connections using SSL

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite) Modular front-end (High-performance TCP Streaming interface and standards compliant Web-Services front-ends) Client Authentication based on –Username/password –General X509 certificates –Grid-proxy certificates Access control via a Virtual Organization Management System (VOMS) Secure client connections using SSL Authorization using ACLs

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Features Official gLite Metadata Catalogue Modular back-end (Oracle, PostgreSQL, MySQL and SQLite) Modular front-end (High-performance TCP Streaming interface and standards compliant Web-Services front-ends) Client Authentication based on –Username/password –General X509 certificates –Grid-proxy certificates Access control via a Virtual Organization Management System (VOMS) Secure client connections using SSL Authorization using ACLs SQL-like query language

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Architecture (1) C++ multiprocess server –Runs on any Linux flavour Backends –Oracle, MySQL, PostgreSQL, SQLite

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Architecture (2) Two front-ends –TCP Streaming  High performance  Client API for C++, Java, Python, Perl, Ruby –SOAP  Interoperability Also implemented as standalone Python library –Data stored on filesystem

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Architecture (3) TCP streaming front-end designed for scalability –Asynchronous operation  Reading from DB and sending data to client

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Architecture (4) TCP streaming front-end designed for scalability –Response sent to client in chunks  No limit on the maximum response size –Text based protocol (like SMTP, POP3,…) –Response streamed to client –Example: Client:listattr entry Server:0 entry value1 value2 …

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Interfaces TCP Streaming Front-end –mdcli & mdclient and C++ API (md_cli.h, MD_Client.h) –Python Client API –Java Client API and command line mdjavaclient.sh & mdjavacli.sh (also under Windows !!) –AMGA Web Interface –AMGA PHP API SOAP Front-end (WSDL) –C++ gSOAP –AXIS (Java) –ZSI (Python)

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Client-Server protocol (1) Handshake

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA: Client-Server protocol (2) Sending command and retrieving output

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA PHP API: Features PHP5 Object Oriented Interface Ported from the C++, Python and Perl Client APIs Based on the MDClient class Can establish plain/SSL connection to AMGA server Provides a method for each AMGA command and a generic execute($command)

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA PHP API: Methods void __construct(string $host, integer $port, [string $login = "anonymous"], [string $password = ""], [boolean $keepalive = true]) void requireSSL(string $key, string $cert, [ $capath = "certificates"]) void connect() void execute(string $command) void getattr(string $file, array $attributes) void setAttr(string $file, string $keys, string $values) void addEntry(string $file, string $keys, string $values) void addAttr(string $file, string $name, string $t) string listEntries(string $pattern) array(array(attributes), array(types)) listAttr(string $file) void selectAttr(array $attributes, string $query) array getSelectAttrEntry()...

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA PHP API: Example (1) // including AMGA PHP class include 'mdclient.php'; // login parameters $host = "glibrary.ct.infn.it"; $port = 8822; $login = "NULL"; // establishing ssl connection with proxy authentication try { $client = new gLibrary($host, $port, $login); $client->requireSSL("x509_xxx", "x509_xxx"); $client->connect(); } catch (Exception $e) { echo 'Unable to connect: '. $e->getMessage(). "\n"; }

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA PHP API: Example (2) // printing the greetings message echo $client->getGreetings()." "; // retrieving name of the user connected echo "User connected: ".$client->whoami()." "; // getting FileName and Size of all entries // in /gLibTest/Entries where Size > $attrs = array("/gLibTest/Entries:FileName", "Size"); $condition = "'Size > order(FileName)'"; $num_attrs = count($attrs); $result = $client->selectAttr($attrs, $condition); while (!$client->eot()) { $FileName = $client->getSelectAttrEntry(); $Size = $client->getSelectAttrEntry(); echo $FileName[0]." (".$Size[0].") "; }

Enabling Grids for E-sciencE EGEE-II INFSO-RI AMGA PHP API: Example (3)

Enabling Grids for E-sciencE EGEE-II INFSO-RI gLibrary Grid digital asset management software based on AMGA PHP API

Enabling Grids for E-sciencE EGEE-II INFSO-RI References AMGA - ARDA Metadata Catalogue Project AMGA PHP API gLite Module bin/jra1mw.cgi/org.glite.amga.api-php/ AMGA PHP API Documentation gLibrary

Enabling Grids for E-sciencE EGEE-II INFSO-RI Questions?