R-GMA (Relational Grid Monitoring Architecture) for monitoring applications “s” gLite and LCG.

Slides:



Advertisements
Similar presentations
21 Sep 2005LCG's R-GMA Applications R-GMA and LCG Steve Fisher & Antony Wilson.
Advertisements

INFSO-RI Enabling Grids for E-sciencE Information and Monitoring Status and Plans GridPP18, Glasgow, Mar 2007.
INFSO-RI Enabling Grids for E-sciencE Building a robust distributed system: some lessons from R-GMA CHEP-07, Victoria,
FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
GGF Toronto Spitfire A Relational DB Service for the Grid Peter Z. Kunszt European DataGrid Data Management CERN Database Group.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to R-GMA: Relational Grid Monitoring Architecture.
Introduction on R-GMA Shi Jingyan Computing Center IHEP.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Information System (IS) Valeria Ardizzone.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Information System on gLite middleware Vincent.
Application code Registry 1 Alignment of R-GMA with developments in the Open Grid Services Architecture (OGSA) is advancing. The existing Servlets and.
INFSO-RI Enabling Grids for E-sciencE R-GMA Server Installation Tony Calanducci INFN Catania - Italy First Latin American Workshop.
GLite Information System(s) Antonio Juan Rubio Montero CIEMAT 10 th EELA Tutorial. Madrid, May 7 th -11 th,2007.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks R-GMA Now With Added Authorization Steve.
13 May 2004EB/TB Middleware meeting Use of R-GMA in BOSS for CMS Peter Hobson & Henry Nebrensky Brunel University, UK Some slides stolen from various talks.
WP3 Information and Monitoring Steve Fisher / RAL 23/9/2003.
E-infrastructure shared between Europe and Latin America 12th EELA Tutorial for Users and System Administrators gLite Information System.
EGEE is a project funded by the European Union under contract IST R-GMA: Production Services for Information and Monitoring in the Grid John.
WP3 RGMA Deployment Laurence Field / RAL Steve Fisher / RAL.
INFSO-RI Enabling Grids for E-sciencE
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA gLite Information System Pedro Rausch IF.
Grid Deployment Enabling Grids for E-sciencE BDII 2171 LDAP 2172 LDAP 2173 LDAP 2170 Port Fwd Update DB & Modify DB 2170 Port.
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.
INFSO-RI Enabling Grids for E-sciencE Building a robust distributed system: some lessons from R-GMA WLCG Service Reliability.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America R-GMA Server Installation Valeria Ardizzone.
E-infrastructure shared between Europe and Latin America gLite Information System(s) Manuel Rubio del Solar CETA-CIEMAT EELA Tutorial, Mérida,
INFSO-RI Enabling Grids for E-sciencE Information System Valeria Ardizzone INFN EGEE NA4 Generic Applications Meeting Catania,
EGEE is a project funded by the European Union under contract IST Information and Monitoring Services within a Grid R-GMA (Relational Grid.
FESR Trinacria Grid Virtual Laboratory Relational Grid Monitoring Architecture (R-GMA) Valeria Ardizzone INFN Catania Tutorial per Insegnanti.
INFSO-RI Enabling Grids for E-sciencE R-GMA Gergely Sipos and Péter Kacsuk MTA SZTAKI Credit to Valeria Ardizzone.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using R-GMA.
INFSO-RI Enabling Grids for E-sciencE gLite Information System: R-GMA Tony Calanducci INFN Catania gLite tutorial at the EGEE User.
CERN 21 January 2005Piotr Nyczyk, CERN1 R-GMA Basics and key concepts Monitoring framework for computing Grids – developed by EGEE-JRA1-UK, currently used.
EGEE-II INFSO-RI Enabling Grids for E-sciencE More on gLite: 2 services you have not seen! Mike Mineter.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to R-GMA: Relational Grid Monitoring Architecture.
SAM Status Update Piotr Nyczyk LCG Management Board CERN, 5 June 2007.
TIFR, Mumbai, India, Feb 13-17, GridView - A Grid Monitoring and Visualization Tool Rajesh Kalmady, Digamber Sonvane, Kislay Bhatt, Phool Chand,
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Relational Grid Monitoring Architecture (R-GMA)
Jean-Philippe Baud, IT-GD, CERN November 2007
gLite Basic APIs Christos Filippidis
Grid Event Management Using R-GMA Monitoring Framework
R-GMA Command Line Tool
Information System Valeria Ardizzone INFN
The Information System
MON Box Installation and configuration
Key Activities. MND sections
gLite Information System(s)
Practical: The Information Systems
POW MND section.
Comparison of LCG-2 and gLite v1.0
BOSS: the CMS interface for job summission, monitoring and bookkeeping
BOSS: the CMS interface for job summission, monitoring and bookkeeping
R-GMA as an example of a generic framework for information exchange
BOSS: the CMS interface for job summission, monitoring and bookkeeping
Practicals on R-GMA Valeria Ardizzone INFN
A Messaging Infrastructure for WLCG
SAGA API for gLite Service Discovery
R-GMA Server Installation (v. 1.4)
gLite Information System
gLite Information System(s)
Author: Laurence Field (CERN)
EGEE Middleware: gLite Information Systems (IS)
Information and Monitoring System
gLite Information System
The gLite Information System
Site availability Dec. 19 th 2006
Information Services Claudio Cherubino INFN Catania Bologna
Presentation transcript:

R-GMA (Relational Grid Monitoring Architecture) for monitoring applications “s” gLite and LCG

Acknowledgements Slides are taken/derived from the GILDA team Steve Fisher (RAL, UK) and the R-GMA team

What is R-GMA ? Uniform method to access and publish both information and monitoring data. From a user's perspective, an R-GMA installation currently appears similar to a single relational database. GMA (Grid Monitoring Architecture) was developed by the GGF R-GMA (Relational GMA) was created: To simplify use of GMA (servers “know” about registries, not the client software) To give a relational view

SELECT * FROM people WHERE group=‘HR’ 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. Evolution from the Grid Monitoring Architecture (GMA) Uses a relational data model. Data are viewed as a table. Data structure defined by the columns. Each entry is a row (tuple). Queried using Structured Query Language (SQL). name ID birth Group Tom 4 1977-08-20 HR SELECT * FROM people WHERE group=‘HR’

R-GMA P1 P2 P3 C1 C2 VIRTUAL DATABASE TABLE 1,Producer P1 details TABLE 2,Producer P1 details TABLE 2,Producer P2 details TABLE 2,Producer P3 details TABLE 3,Producer P2 details TABLE 3,Producer P1 details TABLE 3,Producer P3 details REGISTRY P3 TABLE 1, Colum defs TABLE 2, Colum defs TABLE 3, Colum defs TABLE 4, Colum defs SCHEMA SQL “SELECT” C1 SQL “CREATE TABLE” SQL “INSERT” C2 MEDIATOR There is no central repository!!! There is only a “Virtual Database”. Schema is a list of table definitions: additional tables/schema can be defined by applications Registry is a list of data producers with all its details. Producers publish data. Consumers read data published.

Service orientation The Producer stores its location (URL) in the Registry. PRODUCER Store location The Consumer looks up producer URLs in the Registry. REGISTRY The Consumer contacts the Producer to get all the data or the Consumer can listen to the Producer for new data. Transfer Data CONSUMER Lookup location

Virtual database The Consumer interrogates the Registry to identify all Producers that could satisfy the query. Consumer connects to the Producers. Producers send the tuples to the Consumer. The Consumer will merge these tuples to form one result set. Registry TableName URL 1 URL 2 Producer 1 Producer 2 TableName Value 1 Value 2 TableName Value 3 Value 4 Consumer TableName Value 1 Value2 Value 3 Value 4

Joins Service URI VO type emailContact site gppse01 alice SE sysad@rl.ac.uk RAL atlas gppse02 cms lxshare0404 sysad@cern.ch CERN ServiceStatus URI VO type up status gppse01 alice SE y SE is running atlas gppse02 cms n SE ERROR 101 lxshare0404 Result Set (Consumer) URI emailContact gppse02 sysad@rl.ac.uk SELECT Service.URI Service.emailContact FROM Service S, ServiceStatus SS WHERE (S.URI= SS.URI and SS.up=‘n’)

Roles R-GMA Consumer users: who request information. Site Admin Consumer R-GMA Provider VO Consumer users: who request information. Producer users: who provide information. Site administrators: who run R-GMA services. Virtual Organizations: who “own” the schema and registry.

Security Consumer R-GMA Site Admin Provider VO Mutual Authentication: guaranteeing who is at each end of an exchange of messages. Encryption: using an encrypted transport protocol (HTTPS). Authorization: implicit or explicit.

Deployment Producer and Consumer Services are typically on a one per site basis Centralized Registry and Schema. The Registry and Schema may be replicated, to avoid a single point of failure … when you use RGMA CLI you will see which are being used

Producer Types Primary Producer C Secondary Producer P C User Code Producer API Producer Service Tuple Storage C Control and inserted tuples Queries Tuples Secondary Producer User Code Producer API Producer Service Tuple Storage C Control only Queries Tuples SELECT * P On-Demand Producer No internal storage Queries passed to user code User Code Producer API Producer Service C Control only Queries Tuples

GridFTP Monitoring (gridView) SA1 have written script to “tail” FTP logs and publish via PP on gridFTP server nodes Continuous query pulls all the data to a central location and writes to an Oracle database for analysis Used for Service Challenge 3 http://gridview.cern.ch/GRIDVIEW/ PP C Oracle

Job Monitoring (L&B) Reads L&B logs on the resource broker nodes. Publishes data on state of jobs A database secondary producer is used to aggregate the data as well as a gridView consumer. CMS dashboard http://lxarda09.cern.ch/dashboard/request.py/jobsummary? PP C Oracle SP

Job Monitoring (WN) On the WNs, the Job Wrapper (if enabled by JDL) periodically publishes information about the state of the process running the job and its environment. A database secondary producer is used to aggregate the data. https://rgma13.pp.rl.ac.uk:8443/R-GMABrowser/Browser.do/queryTable?selectQueryType=latest&duration=20&tableName=JobMonitor PP SP C

NPM Frameworks: e2emonit Network performance data important: to detect and resolve network problems. to intelligently schedule jobs based on network load and reliability. active measurements between end-sites, using tools such as iperf, udpmon ping. PP SP C NM-WG WS https://egee.epcc.ed.ac.uk:28443/npm-dt/query.jsp

NPM Diagnostic Tool

NPM DT Scenario - results

Service Discovery Questions to answer: Service Discovery offers: “I am at CERN, in 'dteam' VO. Where is a MyProxy server?” glite-sd-query -t myproxy -s CERN-PROD Service Discovery offers: client API (library) to hide the differences plug-in architecture to simplify dependencies uses the subset of Glue schema as data model simple API, no complex queries CLI for other tools and testing Plug-ins for: BDII R-GMA MDS4 (not yet) File (only for testing)

Service Discovery

TCD R-GMA related projects TCD: Trinity College Dublin gridFS: a grid filesystem InfoGrid: a grid using an information model Keith Rochford's work on grid service monitoring Adaptive eLearning: R-GMA is the first course Shared memory for grids (SMG)

R-GMA APIs APIs exist in Java, C, C++, Python. For clients (servlets contacted behind the scenes) They include methods for… Creating consumers Creating primary and secondary producers Setting type of queries, type of produces, retention periods, time outs… Retrieving tuples, inserting data … You can create your own Producer or Consumer.

Overview of practical We will use a client that gives command-line interfaces to both consumers and producers We will explore the tables on the R-GMA service provided on GILDA Use a table that is set up for training purposes to produce and consume data Now please follow the “more information” link

R-GMA practical html page

Batch Mode The command line tool can be used in batch mode in three ways: rgma –c <command> Executes <command> and exits. The –c option may be specified more than once. rgma –f <file> Executes commands in <file> sequentially then exits. Each line should contain one command. Embedded in a shell script

requires certificate in browser R-GMA Browser requires certificate in browser

Table description

R-GMA Browser as Consumer

Query from R-GMA Browser

Query Results

More information R-GMA overview page. R-GMA in EGEE http://www.r-gma.org/ R-GMA in EGEE http://hepunx.rl.ac.uk/egee/jra1-uk/ R-GMA command line tool http://hepunx.rl.ac.uk/egee/jra1-uk/glite-r1/command-line.pdf R-GMA Browser Home Page https://rgmasrv.ct.infn.it:8443/R-GMA/