R-GMA (Relational Grid Monitoring Architecture) for monitoring applications

Similar documents
Grid services. Enabling Grids for E-sciencE. Dusan Vudragovic Scientific Computing Laboratory Institute of Physics Belgrade, Serbia

Grid-wide Intrusion Detection

EGEE (JRA4) Loukik Kudarimoti DANTE. RIPE 51, Amsterdam, October 12 th, 2005 Enabling Grids for E-sciencE.

Monitoring tools in EGEE

LCG-2 and glite Architecture and components

Towards a Grid-wide Intrusion Detection System

g-eclipse A Framework for Accessing Grid Infrastructures Nicholas Loulloudes Trainer, University of Cyprus (loulloudes.n_at_cs.ucy.ac.

AMGA metadata catalogue system

glite Grid Services Overview

The European DataGRID Production Testbed

EGEE and Interoperation

30 Nov Dec Advanced School in High Performance and GRID Computing Concepts and Applications, ICTP, Trieste, Italy

System testing needs to be a formal process for us to have any faith in it, so in the next section, I propose a formal procedure for doing it.

User Guide. How to use the Active Security monitoring component for int.eu.grid JRA1

Installation Guide. How to install the Active Security monitoring component for int.eu.grid JRA1

Grid Infrastructure For Collaborative High Performance Scientific Computing

A Framework For Instrument Monitoring On The Grid

Scientific data processing at global scale The LHC Computing Grid. fabio hernandez

Overview of HEP software & LCG from the openlab perspective

EUROPEAN MIDDLEWARE INITIATIVE

Overview of WMS/LB API

Gergely Sipos MTA SZTAKI

Eclipse Technology Project: g-eclipse

Andrea Sciabà CERN, Switzerland

Unraveling the Mysteries of J2EE Web Application Communications

Grid Interoperation and Regional Collaboration

Globus GTK and Grid Services

On the employment of LCG GRID middleware

SLCS and VASH Service Interoperability of Shibboleth and glite

The glite middleware. Presented by John White EGEE-II JRA1 Dep. Manager On behalf of JRA1 Enabling Grids for E-sciencE

Regular Forum of Lreis. Speechmaker: Gao Ang

MyProxy Server Installation

Knowledge-based Grids

Enabling Grids for E-sciencE. A centralized administration of the Grid infrastructure using Cfengine. Tomáš Kouba Varna, NEC2009.

Grids and Security. Ian Neilson Grid Deployment Group CERN. TF-CSIRT London 27 Jan

Comparative evaluation of software tools accessing relational databases from a (real) grid environments

SAS 9.2 Foundation Services. Administrator s Guide

FREE SCIENTIFIC COMPUTING

Architecture of the WMS

Monitoring for IT Services and WLCG. Alberto AIMAR CERN-IT for the MONIT Team

Grid Computing. MCSN - N. Tonellotto - Distributed Enabling Platforms

The glite middleware. Ariel Garcia KIT

The LHC Computing Grid

Excel4apps Wands 5 Architecture Excel4apps Inc.

Monitoring the ALICE Grid with MonALISA

Programming the Grid with glite

ALICE Grid/Analysis Tutorial Exercise-Solutions

CrossGrid testbed status

glite Middleware Usage

Failover procedure for Grid core services

Grid Architectural Models

The impact and adoption of GLUE 2.0 in the LCG/EGEE production Grid

Cisco Unified Communications Manager TCP and UDP Port

Cisco Unified Communications Manager TCP and UDP Port

Easy Access to Grid Infrastructures

Tools to Develop New Linux Applications

Deploying virtualisation in a production grid

Module 1.Introduction to Business Objects. Vasundhara Sector 14-A, Plot No , Near Vaishali Metro Station,Ghaziabad

MONitoring Agents using a Large Integrated Services Architecture. Iosif Legrand California Institute of Technology

Grid Middleware and Globus Toolkit Architecture

Red Hat JBoss Fuse 6.1

COMPUTER AND INFORMATION SCIENCE JENA DB. Group Abhishek Kumar Harshvardhan Singh Abhisek Mohanty Suhas Tumkur Chandrashekhara

Index Introduction Setting up an account Searching and accessing Download Advanced features

Oracle Application Express: Administration 1-2

Designing Database Solutions for Microsoft SQL Server (465)

Services. Service descriptions. Cisco HCS services

Grid Computing Fall 2005 Lecture 5: Grid Architecture and Globus. Gabrielle Allen

Performance of R-GMA for Monitoring Grid Jobs for CMS Data Production

OpenOffice.org as a platform for developers

Symantec Endpoint Virtualization 6.1 SP8 Release Notes

How to build Scientific Gateways with Vine Toolkit and Liferay/GridSphere framework

Data Protection Guide

The following sections describe the various menu options.

BlackBerry Enterprise Server for IBM Lotus Domino Version: 5.0. Administration Guide

Architecture Proposal

Astrophysics and the Grid: Experience with EGEE

LCG User Registration & VO management

The EU DataGrid Testbed

E UFORIA G RID I NFRASTRUCTURE S TATUS R EPORT

The ARC Information System

Interconnect EGEE and CNGRID e-infrastructures

Java Development and Grid Computing with the Globus Toolkit Version 3

Oracle Warehouse Builder 10g Runtime Environment, an Update. An Oracle White Paper February 2004

GT-OGSA Grid Service Infrastructure

The PanDA System in the ATLAS Experiment

Brad Dayley. Sams Teach Yourself. NoSQL with MongoDB. SAMS 800 East 96th Street, Indianapolis, Indiana, USA

Grid Authentication and Authorisation Issues. Ákos Frohner at CERN

Setup Desktop Grids and Bridges. Tutorial. Robert Lovas, MTA SZTAKI

ARC integration for CMS

J2EE Interview Questions

Optimizing and Modeling SAP Business Analytics for SAP HANA. Iver van de Zand, Business Analytics

Oracle 12C DBA Online Training. Course Modules of Oracle 12C DBA Online Training: 1 Oracle Database 12c: Introduction to SQL:

Internet2 Meeting September 2005

Oracle BI 11g R1: Build Repositories

ELFms industrialisation plans

HYPERION SYSTEM 9 BI+ GETTING STARTED GUIDE APPLICATION BUILDER J2EE RELEASE 9.2

DQ2 - Data distribution with DQ2 in Atlas

Masking Engine User Guide. October, 2017

SAS 9.4 Foundation Services: Administrator s Guide

Grid Scheduling Architectures with Globus

Transcription:

R-GMA (Relational Grid Monitoring Architecture) for monitoring applications www.eu-egee.org egee EGEE-II INFSO-RI-031688

Acknowledgements Slides are taken/derived from the GILDA team Steve Fisher (RAL, UK) and the R-GMA team EGEE-II INFSO-RI-031688 2

Uniform method to access and publish both information and monitoring data. What is R-GMA? From a user's perspective, an R-GMA installation currently appears similar il to a single relational l 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 EGEE-II INFSO-RI-031688 3

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 EGEE-II INFSO-RI-031688 4

R-GMA P1 VIRTUAL DATABASE P3 P2 SQL CREATE TABLE SQL INSERT TABLE 1, Colum defs TABLE 2, Colum defs TABLE 3, Colum defs TABLE 4, Colum defs SCHEMA MEDIATOR 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 SQL SELECT C1 C2 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. EGEE-II INFSO-RI-031688 5

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

Virtual database Registry The Consumer interrogates the Registry to identify all Producers that t 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. TableName URL 1 TableName URL 2 Producer 1 Producer 2 TableName TableName Value 1 Value 2 Value 3 Value 4 Consumer TableName Value 1 Value2 Value 3 Value 4 EGEE-II INFSO-RI-031688 7

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

Roles Consumer R-GMA Site Admin Provider 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. VO EGEE-II INFSO-RI-031688 9

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. EGEE-II INFSO-RI-031688 10

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 EGEE-II INFSO-RI-031688 11

Producer Types Enabling Grids for E-sciencE Primary Producer Secondary Producer P User Code Producer API Control and inserted tuples Producer Service Tuple Storage Queries Tuples C User Code Producer API SELECT * Tuples Control only Producer Service Queries Tuples C On-Demand Producer Tuple Storage User Code No internal storage Queries Queries passed to User Producer Producer Code API Control only Service user code Tuples Queries Tuples C EGEE-II INFSO-RI-031688 12

Query Types P1 TABLE 1,Producer P1 details Continuous Latest History Static 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 EGEE-II INFSO-RI-031688 13

Continuous Producer API Insert SQL CREATE TABLE SQL INSERT TableName Value 1 Value 2 Producer Servlet TableName Value 1 Value 2 Continuous Schema TableName Column Registry TableName URL Predicate Consumer API SQL SELECT TableName Value 1 Value 2 Query Result Set Consumer Servlet TableName TableName Value 1 Value 2 UK RAL Alice EGEE-II INFSO-RI-031688 14

Query Types P1 TABLE 1,Producer P1 details Continuous Latest History Static 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 EGEE-II INFSO-RI-031688 15

History or Latest Producer API Insert SQL CREATE TABLE SQL INSERT TableName Value 1 Value 2 Producer Servlet TableName Value 1 Value 2 Query Schema TableName Column Registry TableName URL Predicate Consumer API SQL SELECT TableName Value 1 Value 2 Query Result Set Consumer Servlet TableName TableName Value 1 Value 2 UK RAL Alice EGEE-II INFSO-RI-031688 16

Query Types Continuous Latest t History Staticti P1 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 P1 TABLE 3,Producer P1 details TABLE 3,Producer P3 details REGISTRY Latest-store Latest Retention Period Continuous&History-store History Retention ti Period EGEE-II INFSO-RI-031688 17

GridFTP Monitoring (gridview) Enabling Grids for E-sciencE 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 PP PP PP C Oracle INFSO-RI-508833 18

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? py y PP PP PP C Oracle PP C SP C C INFSO-RI-508833 19

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& latest& duration=20&tablename=jobmonitor PP PP C PP SP C PP C INFSO-RI-508833 20

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 PP PP PP https://egee.epcc.ed.ac.uk: 28443/npm-dt/query.jsp SP C NM-WG WS INFSO-RI-508833 21

NPM Diagnostic Tool INFSO-RI-508833 22

NPM DT Scenario - results INFSO-RI-508833 23

Intrusion Detection SNORT Alerts The Grid intrusion detection work is now within the Interactive European Grid (http://www.interactive- grid.eu ) project, as part of the JRA workpackage, and is known as Active Security (http://www.grid.ie/i2g) monitor Register, log file info, alerts SANTA-G QueryEngine SANTA-G Sensor Sensor ID SANTA-G Viewer Consumer API Packet log file Trace Directory CanonicalProducer OnDemandProducer API R-GMA LatestProducer PrimaryProducer API Sensor and log file information INFSO-RI-508833 24

Service Discovery Questions to answer: 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) INFSO-RI-508833 25

Service Discovery INFSO-RI-508833 26

TCD: Trinity College Dublin TCD R-GMA related projects 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) INFSO-RI-508833 27

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

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 EGEE-II INFSO-RI-031688 29

R-GMA practical html page EGEE-II INFSO-RI-031688 30

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 EGEE-II INFSO-RI-031688 31

R-GMA Browser www.eu-egee.org egee EGEE-II INFSO-RI-031688

Table description EGEE-II INFSO-RI-031688 33

R-GMA Browser as Consumer Enabling Grids for E-sciencE EGEE-II INFSO-RI-031688 34

Query from R-GMA Browser Enabling Grids for E-sciencE EGEE-II INFSO-RI-031688 35

Query Results EGEE-II INFSO-RI-031688 36

More information R-GMA overview page. 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 p g p R-GMA Browser Home Page https://rgmasrv.ct.infn.it:8443/r-gma/ EGEE-II INFSO-RI-031688 37