LCG Distributed Databases Deployment – Kickoff Workshop 13-15 Dec 2004 1 Database Lookup Service Kuba Zajączkowski Chi-Wei Wang.

Slides:



Advertisements
Similar presentations
TeraGrid Deployment Test of Grid Software JP Navarro TeraGrid Software Integration University of Chicago OGF 21 October 19, 2007.
Advertisements

Fujitsu Laboratories of Europe © 2004 What is a (Grid) Resource? Dr. David Snelling Fujitsu Laboratories of Europe W3C TAG - Edinburgh September 20, 2005.
Data Management Expert Panel - WP2. WP2 Overview.
Connect. Communicate. Collaborate Click to edit Master title style MODULE 1: perfSONAR TECHNICAL OVERVIEW.
Next Generation Node (NGN) Technical Overview April 2007.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Jun Peng Stanford University – Department of Civil and Environmental Engineering Nov 17, 2000 DISSERTATION PROPOSAL A Software Framework for Collaborative.
Magda – Manager for grid-based data Wensheng Deng Physics Applications Software group Brookhaven National Laboratory.
FHIRFarm – How to build a FHIR Server Farm (quickly)
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
WP6: Grid Authorization Service Review meeting in Berlin, March 8 th 2004 Marcin Adamski Michał Chmielewski Sergiusz Fonrobert Jarek Nabrzyski Tomasz Nowocień.
The ATLAS Production System. The Architecture ATLAS Production Database Eowyn Lexor Lexor-CondorG Oracle SQL queries Dulcinea NorduGrid Panda OSGLCG The.
GRID job tracking and monitoring Dmitry Rogozin Laboratory of Particle Physics, JINR 07/08/ /09/2006.
© D. Wong  Indexes  JDBC  JDBC in J2EE (Java 2 Enterprise Edition)
Don Quijote Data Management for the ATLAS Automatic Production System Miguel Branco – CERN ATC
OracleAS Reports Services. Problem Statement To simplify the process of managing, creating and execution of Oracle Reports.
TDDD05 EJB Lab (Part of slides reused from Mikhail’s) Lu Li
David Adams ATLAS ATLAS Distributed Analysis David Adams BNL March 18, 2004 ATLAS Software Workshop Grid session.
Marianne BargiottiBK Workshop – CERN - 6/12/ Bookkeeping Meta Data catalogue: present status Marianne Bargiotti CERN.
XML Registries Source: Java TM API for XML Registries Specification.
Application code Registry 1 Alignment of R-GMA with developments in the Open Grid Services Architecture (OGSA) is advancing. The existing Servlets and.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
INFNGrid Constanza Project: Status Report A.Domenici, F.Donno, L.Iannone, G.Pucciani, H.Stockinger CNAF, 6 December 2004 WP3-WP5 FIRB meeting.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
A Brief Documentation.  Provides basic information about connection, server, and client.
Giuseppe Codispoti INFN - Bologna Egee User ForumMarch 2th BOSS: the CMS interface for job summission, monitoring and bookkeeping W. Bacchi, P.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
Proposal of interface between GUS + Call Center and Experiments GDB Meeting – Klaus-Peter Mickel GridKa Karlsruhe.
DGC Paris WP2 Summary of Discussions and Plans Peter Z. Kunszt And the WP2 team.
NOVA A Networked Object-Based EnVironment for Analysis “Framework Components for Distributed Computing” Pavel Nevski, Sasha Vanyashin, Torre Wenaus US.
Replica Management Kelly Clynes. Agenda Grid Computing Globus Toolkit What is Replica Management Replica Management in Globus Replica Management Catalog.
MySQL and GRID status Gabriele Carcassi 9 September 2002.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
System/SDWG Update Management Council Face-to-Face Flagstaff, AZ August 22-23, 2011 Sean Hardman.
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.
Tier3 monitoring. Initial issues. Danila Oleynik. Artem Petrosyan. JINR.
Configuring and Deploying Web Applications Lesson 7.
David Adams ATLAS ATLAS Distributed Analysis: Overview David Adams BNL December 8, 2004 Distributed Analysis working group ATLAS software workshop.
ATLAS Database Access Library Local Area LCG3D Meeting Fermilab, Batavia, USA October 21, 2004 Alexandre Vaniachine (ANL)
D. Duellmann - IT/DB LCG - POOL Project1 The LCG Dictionary and POOL Dirk Duellmann.
Overview of C/C++ DB APIs Dirk Düllmann, IT-ADC Database Workshop for LHC developers 27 January, 2005.
CORAL CORAL a software system for vendor-neutral access to relational databases Ioannis Papadopoulos, Radoval Chytracek, Dirk Düllmann, Giacomo Govi, Yulia.
Random Logic l Forum.NET l State Machine Mechanism Forum.NET 1 st Meeting ● December 27, 2005.
1 A Scalable Distributed Data Management System for ATLAS David Cameron CERN CHEP 2006 Mumbai, India.
Status of tests in the LCG 3D database testbed Eva Dafonte Pérez LCG Database Deployment and Persistency Workshop.
David Adams ATLAS ATLAS Distributed Analysis (ADA) David Adams BNL December 5, 2003 ATLAS software workshop CERN.
DDM Central Catalogs and Central Database Pedro Salgado.
David Adams ATLAS ADA: ATLAS Distributed Analysis David Adams BNL December 15, 2003 PPDG Collaboration Meeting LBL.
M.-E. Bégin¹, S. Da Ronco², G. Diez-Andino Sancho¹, M. Gentilini³, E. Ronchieri ², and M. Selmi² ¹CERN, Switzerland, ² INFN-Padova, Italy, ³INFN-CNAF,
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
OGSA-DAI.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks GOCDB4 Gilles Mathieu, RAL-STFC, UK An introduction.
Magda Distributed Data Manager Torre Wenaus BNL October 2001.
ATLAS Distributed Computing Tutorial Tags: What, Why, When, Where and How? Mike Kenyon University of Glasgow.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
The Holmes Platform and Applications
(on behalf of the POOL team)
BOSS: the CMS interface for job summission, monitoring and bookkeeping
Database Readiness Workshop Intro & Goals
POOL File Catalog: Design & Status
POOL persistency framework for LHC
Dirk Düllmann CERN Openlab storage workshop 17th March 2003
Grid Data Integration In the CMS Experiment
Lecture 1: Multi-tier Architecture Overview
Metadata The metadata contains
CMPE/SE 131 Software Engineering March 7 Class Meeting
Presentation transcript:

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Lookup Service Kuba Zajączkowski Chi-Wei Wang

LCG Distributed Databases Deployment – Kickoff Workshop Dec Outline Database Service Lookup basics Database Catalog Choosing a best suited database Current status Future possibilities

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Lookup Service Problem Statement Current applications use physical connection strings In grid environment connection strings have to be obtained from a catalog so that job is location independent

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Service Lookup db1.cern.ch/zonk:tmpdb2 (ORACLE) Usual case (without service lookup) client code: [...] connect('mysql://sth2.else.com/joedb'); [...] sth2.else.com/joedb (MySQL) db8.foo.bar/ttt:d3 (ORACLE) sth.else.com/joedb (MySQL)

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Service Lookup db1.cern.ch/zonk:tmpdb2 (ORACLE) With Service Lookup client code: [...] dbh = lookupDatabase('mydatabase'); connect(dbh); [...] sth2.else.com/joedb (MySQL) Database Catalog (XML file, Relational Database, etc.) sth.else.com/joedb (MySQL)

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Service Lookup Cons Additional step before a real connection The Database Catalog needs to be maintained Pros No need to know the exact connection strings The best database chosen on runtime Includes a simple database failover mechanism End user doesn't need to follow physical database location changes

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Catalog Terms Logical Database Physical Database (connection string) GUID (Globally Unique IDentifier) Schema dbnick1 dbnick2 dbnick3 oracle://dbserv1.cern.ch/schema1:sid oracle://dbserv3.cern.ch/schema1:sid mysql://mydb.foo.bar/cerndb sqlite_http://fileserv1.foo.bar/db/cern18.db GUID No usernames or passwords stored!

LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Catalog Functionality Basic Functionality Lookup all physical database connection strings with a given logical database name Find a good (possibly the best) database connection available API to manage the catalog (register new, add, modify, delete, etc.) Additional Functionality Query and management tools (command-line, etc.) Queries done on multiple catalogs

LCG Distributed Databases Deployment – Kickoff Workshop Dec Choosing a best database It's important to select a best physical database service available. The best service means at least that it's alive and it's the fastest one to access data at that time.

LCG Distributed Databases Deployment – Kickoff Workshop Dec Current Status First prototype implementation of catalog stucture and tools is ready (alpha!) Can be easily build as a POOL module, using the same infrastructure Exact requirements are still being defined (metadata, configuration options, avaiability?) Now heavily based on POOL File Catalog (reusage of the same code, less work required) Database choosing procedures in development (ping prototype ready), as of now not merged with the rest of the catalog

LCG Distributed Databases Deployment – Kickoff Workshop Dec Working Prototypes XMLDBCatalog Catalog stored in xml file Access over local file system or http (readonly) Now uses POOLFileCatalog DTD, future versions will use it's own or more generic DTD Example:

LCG Distributed Databases Deployment – Kickoff Workshop Dec Example Lookup IDatabaseCatalog* mycatalog; DClookup l; mycatalog=new IDatabaseCatalog; mycatalog->setCatalog("xmlcatalog_file:dbcatalog.xml"); mycatalog->setAction(l); mycatalog->connect(); mycatalog->start(); PDBContainer mypdbs(mycatalog); mypdbs.reset(); l.lookupPDBByLDB(std::string("logicaldb"),mypdbs); while(mypdbs.hasNext()){ PDBEntry pentry=mypdbs.Next(); std::cout<<"connnection string: "<<pentry<<std::endl; } mycatalog->commit(); mycatalog->disconnect(); if(mycatalog=!0) delete mycatalog;

LCG Distributed Databases Deployment – Kickoff Workshop Dec Short term tasks Simplified interface for basic query (physical database connection string lookup based on logical name) Finalization of requirements and design Integration with Chi-Wei's choosing functions Final definition of a DTD for XML (wheather it should be specific for Database Catalog or more generic)

LCG Distributed Databases Deployment – Kickoff Workshop Dec XML Catalog DTD proposal current

LCG Distributed Databases Deployment – Kickoff Workshop Dec Future RAL (Relational Abstraction Layer) based implementation (there already is an existing RAL implementation of File Catalog) Bootstraping – finding a Database Catalog to use on startup Integration with existing POOL Services (using Database Catalog by default) Implementation based on Grid middleware? (it could be possible to implement Database Catalog using the grid file catalog, but it may interfere with other software using gfc which assumes only file names there)

LCG Distributed Databases Deployment – Kickoff Workshop Dec Summary In distributed environment there is a need for Database Catalog First prototype is ready Project is based on POOL File Catalog which makes development much easier/faster Project is not production-ready, it requires futher developement

LCG Distributed Databases Deployment – Kickoff Workshop Dec Thank You! For more information feel free to contact us: Kuba Zajaczkowski Chi-Wei Wang