INFSO-RI Enabling Grids for E-sciencE Information System Giuseppe La Rocca Valeria Ardizzone INFN Catania 4th EGEE Conference Pisa.

Slides:



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

Hands-on on Information System Antonio Juan Rubio Montero CIEMAT 10 th EELA Tutorial. Madrid, May 7 th -11 th,2007.
Hands-on on Information System Antonio Fuentes Bermejo Oviedo, 20 de Noviembre de 2006.
Hands-on on Information System Antonio Fuentes Bermejo Oviedo, 20 de Noviembre de 2006.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to R-GMA: Relational Grid Monitoring Architecture.
The Information service Alessandro Costa INAF Catania Corso di Calcolo Parallelo Grid Computing Catania - ITALY September 2006.
INFSO-RI Enabling Grids for E-sciencE Information System : a detailed overview Giuseppe La Rocca INFN – Catania ICTP/INFM-Democritos.
Introduction on R-GMA Shi Jingyan Computing Center IHEP.
FESR Consorzio COMETA Grid Introduction and gLite Overview Corso di formazione sul Calcolo Parallelo ad Alte Prestazioni (edizione.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Middleware: gLite Information Systems (IS) EGEE Tutorial 23 rd APAN Meeting,
INFSO-RI Enabling Grids for E-sciencE Information System Valeria Ardizzone INFN Singapore, 1st South East Asia Forum -- EGEE tutorial.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Information System (IS) Valeria Ardizzone.
INFSO-RI Enabling Grids for E-sciencE Logging and Bookkeeping and Job Provenance Services Ludek Matyska (CESNET) on behalf of the.
INFSO-RI Enabling Grids for E-sciencE Workload Management System Mike Mineter
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Information System on gLite middleware Vincent.
LCG Information and Monitoring System Jason Shih WLCG T2 Asia Workshop Dec 2, 2006: TIFR.
GLite Information System(s) Antonio Juan Rubio Montero CIEMAT 10 th EELA Tutorial. Madrid, May 7 th -11 th,2007.
E-infrastructure shared between Europe and Latin America 12th EELA Tutorial for Users and System Administrators gLite Information System.
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.
gLite Information System UNIANDES OOD Team Daniel Alberto Burbano Sefair, Michael Angel.
INFSO-RI Enabling Grids for E-sciencE EGEE is a project funded by the European Union under contract INFSO-RI Grid Accounting.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America gLite Information System Claudio Cherubino.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Practicals on Security – Infosys -- WMS.
E-infrastructure shared between Europe and Latin America gLite Information System(s) Manuel Rubio del Solar CETA-CIEMAT EELA Tutorial, Mérida,
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical: The Information Systems.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Introduction to R-GMA: Relational Grid Monitoring Architecture.
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals GILDA Tutors INFN Catania 4th EGEE Conference Pisa 23.October.2005.
FESR Trinacria Grid Virtual Laboratory gLite Information System Muoio Annamaria INFN - Catania gLite 3.0 Tutorial Trigrid Catania,
LCG Information and Monitoring System Jason Shih ASGC Grid Administrator Tutorial March 15-16, Academia Sinica.
DGAS Distributed Grid Accounting System INFN Workshop /05/1009, Palau Giuseppe Patania Andrea Guarise 6/18/20161.
E-science grid facility for Europe and Latin America Updates on Information System Annamaria Muoio - INFN Tutorials for trainers 01/07/2008.
Relational Grid Monitoring Architecture (R-GMA)
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
EGEE is a project funded by the European Union under contract INFSO-RI DGAS Grid accounting L.Gaido on behalf of A.Guarise LCG Workshop November.
INFSO-SSA International Collaboration to Extend and Advance Grid Education Information System Valeria Ardizzone INFN Catania Corso di Grid Computing.
Job monitoring and accounting data visualization
The Information System in gLite middleware
Practicals on gLite Information Systems
DGAS A.Guarise April 19th, Athens
gLite Information System
Information System Valeria Ardizzone INFN
The Information System
gLite Information System(s)
Practical: The Information Systems
lcg-infosites documentation (v2.1, LCG2.3.1) 10/03/05
The Information System in gLite
gLite Information System
Practicals on R-GMA Valeria Ardizzone INFN
October 11th, CNAF GDB Meeting
Practicals on gLite Information System
gLite Information System
Hands-on on Information System
gLite Information System(s)
Author: Laurence Field (CERN)
gLite Information System Practicals
R-GMA (Relational Grid Monitoring Architecture) for monitoring applications “s” gLite and LCG.
EGEE Middleware: gLite Information Systems (IS)
Information and Monitoring System
gLite Information System
The gLite Information System
Hands-on on the gLite Information System
Information System (BDII)
Information Services Claudio Cherubino INFN Catania Bologna
Presentation transcript:

INFSO-RI Enabling Grids for E-sciencE Information System Giuseppe La Rocca Valeria Ardizzone INFN Catania 4th EGEE Conference Pisa 23.October.2005

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Outline This presentation covers the following arguments:  Introduction to lcg-infosites and lcg-info  Introduction to R-GMA  Grid Monitoring Architecture (GMA).  R-GMA in depth: - Registry,Schema, Producer and Consumer - Query Type - R-GMA Browser  Security in R-GMA  Introduction to DGAS

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October (lcg-infosites, R-GMA, DGAS) Information & Accounting Systems

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October lcg-infosites (the present) lcg-infosites (the present)

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October How to discover resources ? Once an user is logged into an User Interface (s)he is ready to take advantage of the Grid Power for his/her own application. But what are the available resources to accomplish his/her tasks? The answer to this question comes through the interactions with the Information System (IS). The Information System (IS) provides information about the LCG-2 Grid resources and their status.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 How to discover resources (cont) The data published in the IS conforms to the GLUE (Grid Laboratory for a Uniform Environment) Schema. The GLUE Schema aims to define a common conceptual data model to be used for Grid resources. In LCG-2, the BDII (Berkeley DB Information Index), based on the Monitoring and Discovery Service (MDS), was adopted as main provider of the Information Service. In gLite Relational Grid Monitoring Architecture will be adopted as IS.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 Monitoring and Discovery Service Computing and storage resources at a site implement an entity called Information Provider, which generates the relevant information of the resource (e.g.: the used space in a SE). This information is published via an LDAP server by the Grid Resource Information Servers, or GRISes.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 In each site an element called the Site Grid Index Information Server (GIIS) collects all the information of the different GRISes and publishes it. This BDII queries the GIISes and acts as a cache, storing information about the Grid status in its database. Monitoring and Discovery Service

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 Querying the BDII a user or a service has all the available information about the status of the grid resources. Moreover in order to get more up-to-date information it is possible to querying directly the GIISes or GRISes. Monitoring and Discovery Service

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 How to query the IS? In order to query directly the IS elements two higher level tools are provided. lcg-infositeslcg-info These tools should be enough for most common user needs and will usually avoid the necessary of raw LDAP queries.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 lcg-infosites The lcg-infosites command can be used as an easy way to retrieve information on Grid resources for the most use cases. USAGE: lcg-infosites --vo options -v --is

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October 2005 lcg-infosites options

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October Obtaining information about CE $ lcg-infosites --vo gilda ce **************************************************************** These are the related data for gilda: (in terms of queues and CPUs) **************************************************************** #CPU Free Total Jobs Running Waiting ComputingElement cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short grid010.ct.infn.it:2119/jobmanager-lcgpbs-long grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long grid006.cecalc.ula.ve:2119/jobmanager-lcgpbs-log gildace.oact.inaf.it:2119/jobmanager-lcgpbs-short [..] $ lcg-infosites --vo gilda ce --v 2 RAMMemory Operating System System Version Processor CE Name SLC 3 P4 ced-ce0.datagrid.cnr.it 4096 SLC 3 Xeon cn01.be.itu.edu.tr 1024 SLC 3 PIII cna02.cna.unicamp.br 917 SLC 3 PIII gilda-ce-01.pd.infn.it 1024 SLC 3 Athlon gildace.oact.inaf.it 1024 SLC 3 Xeon grid-ce.bio.dist.unige.it [..]

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October Obtaining information about SE $ lcg-infosites --vo gilda se ************************************************************** These are the related data for gilda: (in terms of SE) ************************************************************** Avail Space(Kb) Used Space(Kb) Type SEs disk cn02.be.itu.edu.tr disk grid009.ct.infn.it disk grid003.cecalc.ula.ve disk gildase.oact.inaf.it disk testbed005.cnaf.infn.it disk gilda-se-01.pd.infn.it disk cna03.cna.unicamp.br disk grid-se.bio.dist.unige.it

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October Listing the close Storage Elements $ lcg-infosites --vo gilda closeSE Name of the CE: cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long Name of the close SE: cn02.be.itu.edu.tr Name of the CE: cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short Name of the close SE: cn02.be.itu.edu.tr Name of the CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long Name of the close SE: grid009.ct.infn.it Name of the CE: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long Name of the close SE: testbed005.cnaf.infn.it

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October Listing tags of installed software $ lcg-infosites --vo gilda tag ************************************************************************** Information for gilda relative to their software tags included in each CE ************************************************************************** Name of the TAG: VO-gilda-GEANT Name of the TAG: VO-gilda-GKS05 Name of the CE:cn01.be.itu.edu.tr Name of the TAG: VO-gilda-slc3_ia32_gcc323 Name of the TAG: VO-gilda-CMKIN_5_1_1 Name of the TAG: VO-gilda-GEANT Name of the TAG: VO-gilda-GKS05 Name of the CE:grid010.ct.infn.it [..]

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October lcg-info intro This command can be used to list either CEs or the SEs that satisfy a given set of conditions, and to print the values of a given set of attributes. The information is taken from the BDII specified by the LCG_GFAL_INFOSYS environment variable. The query syntax is like this: attr1 op1 valueN,... attrN opN valueN where attrN is an attribute name op is =, >= or <=, and the cuts are ANDed. The cuts are comma-separated and spaces are not allowed.

Enabling Grids for E-sciencE INFSO-RI USAGE lcg-info --list-ce [--bdii bdii] [--vo vo] [--sed] [--query query] [--attrs list] lcg-info --list-se [--bdii bdii] [--vo vo] [--sed] [--query query] [--attrs list] lcg-info --list-attrs lcg-info --help lcg-info usage

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October lcg-info options

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October Get the list of supported attributes $ lcg-info --list-attrs Attribute name Glue object class Glue attribute name MaxTime GlueCE GlueCEPolicyMaxWallClockTime CEStatus GlueCE GlueCEStateStatus TotalJobs GlueCE GlueCEStateTotalJobs CEVOs GlueCE GlueCEAccessControlBaseRule TotalCPUs GlueCE GlueCEInfoTotalCPUs FreeCPUs GlueCE GlueCEStateFreeCPUs CE GlueCE GlueCEUniqueID WaitingJobs GlueCE GlueCEStateWaitingJobs RunningJobs GlueCE GlueCEStateRunningJobs CloseCE GlueCESEBindGroup GlueCESEBindGroupCEUniqueID CloseSE GlueCESEBindGroup GlueCESEBindGroupSEUniqueID SEVOs GlueSA GlueSAAccessControlBaseRule UsedSpace GlueSA GlueSAStateUsedSpace AvailableSpace GlueSA GlueSAStateAvailableSpace Type GlueSE GlueSEType SE GlueSE GlueSEUniqueID Protocol GlueSEAccessProtocol GlueSEAccessProtocolType ArchType GlueSL GlueSLArchitectureType Processor GlueSubCluster GlueHostProcessorModel OS GlueSubCluster GlueHostOperatingSystemName Cluster GlueSubCluster GlueSubClusterUniqueID Tag GlueSubCluster GlueHostApplicationSoftwareRunTimeEnvironment Memory GlueSubCluster GlueHostMainMemoryRAMSize

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October lcg-info examples $ lcg-info --list-ce --query 'TotalCPUs>=30,OS=SL*' --attrs 'RunningJobs,FreeCPUs‘ - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long - RunningJobs 0 - FreeCPUs 33 - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-short - RunningJobs 0 - FreeCPUs 33 - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-infinite - RunningJobs 1 - FreeCPUs 33 - CE: skurut1.cesnet.cz:2119/jobmanager-lcgpbs-long - RunningJobs 0 - FreeCPUs 26 - CE: skurut1.cesnet.cz:2119/jobmanager-lcgpbs-gilda - RunningJobs 0 - FreeCPUs 26 [..] List all the CE(s) in the BDII satisfying given conditions

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October lcg-info examples (cont.) $ lcg-info --list-ce --query 'FreeCPUs >= 30‘--attrs ‘FreeCPUs’ - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long - FreeCPUs 33 - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-short - FreeCPUs 33 - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-infinite - FreeCPUs 33 [..] List all the CE(s) which satisfying the condition FreeCPU >=30

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, October Print all the tags published by a specific query $ lcg-info --list-ce --query 'CE=*grid010.ct.infn.it:2119*‘ --attrs ‘Tag’ PBS INFN CATANIA LCG-2 LCG-2_1_0 LCG-2_1_1 LCG-2_2_0 LCG-2_3_0 LCG-2_3_1 LCG-2_4_0 R-GMA AFS CMS ATLAS GATE LHCb IDL-5.4 CMSIM-125 ALICE ALIEN POVRAY-3.5 DEMTOOLS-1.0 CMKIN-VALID CMKIN CMSIM-VALID CSOUND-4.13 MPICH VIRGO-1.0 CMS-OSCAR LHCb_dbase_common-v3r1 GEANT4-6 VLC EGEODE-1.0 RASTER3D SCILAB-2.6 G MAGIC-6.19 CODESA3D-1.0 VO-gilda-slc3_ia32_gcc323 VO-gilda-CMKIN_5_1_1 VO-gilda-GEANT VO-gilda-GKS05

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October List the CEs with a particular SW $ lcg-info –vo gilda --list-ce --query ‘Tag=*MPICH*’ --attrs ‘CE’ - CE: cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long - CE cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long - CE: cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short - CE cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short - CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long - CE grid010.ct.infn.it:2119/jobmanager-lcgpbs-long - CE: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long - CE grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long - CE: ced-ce0.datagrid.cnr.it:2119/jobmanager-lcgpbs-long - CE ced-ce0.datagrid.cnr.it:2119/jobmanager-lcgpbs-long [..]

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October List the SEs satisfying given query $ lcg-info –vo gilda --list-se --query ‘AvailableSpace>=100000’ --attrs ‘CloseCE’ - SE: cn02.be.itu.edu.tr - CloseCE cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-infinite - SE: grid009.ct.infn.it - CloseCE grid010.ct.infn.it:2119/jobmanager-lcgpbs-long grid010.ct.infn.it:2119/jobmanager-lcgpbs-short grid010.ct.infn.it:2119/jobmanager-lcgpbs-infinite - SE: ced-se0.datagrid.cnr.it - CloseCE ced-ce0.datagrid.cnr.it:2119/jobmanager-lcgpbs-long ced-ce0.datagrid.cnr.it:2119/jobmanager-lcgpbs-short ced-ce0.datagrid.cnr.it:2119/jobmanager-lcgpbs-infinite - SE: grid003.cecablc.ula.ve - CloseCE grid006.cecalc.ula.ve:2119/jobmanager-lcgpbs-cert grid006.cecalc.ula.ve:2119/jobmanager-lcgpbs-long grid006.cecalc.ula.ve:2119/jobmanager-lcgpbs-short grid006.cecalc.ula.ve:2119/jobmanager-lcgpbs-infinite [..]

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October R-GMA (the future)

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October 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. –Based the Grid Monitoring Architecture (GMA) from the Global Grid Forum (GGF). Uses a relational data model. –Data is viewed as a table. –Data structure defined by the columns. –Each entry is a row (tuple). –Queried using Structured Query Language (SQL).

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Grid Monitoring Architecture PRODUCER CONSUMER REGISTRY Store location Lookup location Transfer Data The Producer stores its location (URL) in the Registry. 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.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October R-GMA in depth There is no central repository!!! We have only a “Virtual Database”. Schema is a list of table definitions. Registry is a list of data producers with all its details. Producers publish data. Consumer read data published. VIRTUAL DATABASE TABLE 1, Colum defs TABLE 2, Colum defs TABLE 3, Colum defs TABLE 4, Colum defs SCHEMA 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 MEDIATOR P1 P2 P3 C1C2 SQL “CREATE TABLE” SQL “INSERT” SQL “SELECT”

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Producer Types Primary Producer Secondary Producer On-Demand Producer User Code Producer API Producer Service Tuple Storage C Control and inserted tuples Queries Tuples User Code Producer API Producer Service Tuple Storage C Control only Queries Tuples SELECT * Tuples P User Code Producer API Producer Service C Control only Queries Tuples Queries User Code

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Query Types Continuous Latest History Static 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 TABLE 3,Producer P1 details TABLE 3,Producer P3 details REGISTRY

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Continuous Producer Servlet Registry Store location Lookup location Continuous Store table description Producer API SQL “CREATE TABLE” Result Set TableName Value 1Value 2 TableNameURLPredicate Schema TableNameColumn TableName Value 1Value 2 Insert TableName UKRALAlice Consumer ServletConsumer API SQL “SELECT” TableName Value 1Value 2 TableName Value 1Value 2 Query SQL “INSERT”

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Query Types Continuous Latest History Static 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 TABLE 3,Producer P1 details TABLE 3,Producer P3 details REGISTRY

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October History or Latest Producer Servlet Registry Store location Lookup location Query Store table description Producer API SQL “CREATE TABLE” Result Set TableName Value 1Value 2 TableNameURLPredicate Schema TableNameColumn TableName Value 1Value 2 Insert TableName UKRALAlice Consumer ServletConsumer API SQL “SELECT” TableName Value 1Value 2 TableName Value 1Value 2 Query SQL “INSERT”

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Query Types Continuous Latest History Static Latest Retention Period History Retention Period 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 TABLE 3,Producer P1 details TABLE 3,Producer P3 details REGISTRY P1 Latest-store Continuous&History-store

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Security: Requirements R-GMA Consumer users: who requests information. Producer users: who provides information. Site administrators: who runs R-GMA services. Virtual Organizations: who “owns” the schema and registry. Consumer Provider Site Admin VO

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Security: Solution R-GMA Consumer Provider Site Admin VO Mutual Autentication: guaranteeing who is at each end of an exchange of messages. Encryption: using an encrypted transport protocol (HTTPS). Authorization: implicit or explicit.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October More information R-GMA overview page. – R-GMA in EGEE – R-GMA Documenation –

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October DGAS (Data Grid Accounting System)

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Grid Accounting - Overview A generic Grid accounting process involves many phases that can be divided in: Metering: collection of usage metrics on computational resources. Accounting: storage of such metrics for further analysis. Usage Analysis: Production of reports from the available records. Pricing: Assign and manage prices for computational resources. Billing: Assign a cost to each user for his operations on the Grid. In this presentation we briefly describe these steps and give a quick overview of DGAS, the accounting middleware of the EGEE project.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Metering The metering phase in Grid accounting is probably the most important of the whole process. During this phase the user payload on a resource needs to be correctly measured, and assigned to the Grid User. Usage RecordThis requires the system collects information from the operating system (or the LRMS for batch jobs) and from the grid middleware. This information forms the Usage Record for the user process. This usage record must include at least the Grid Unique Identifier for the Grid User, the CEid as well as the JobID.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Metering (cont.) Usage Metering on Computing Elements is usually done by lightweight sensors installed on them. These sensors parse the LRMS event logs to build Usage Records that can be passed to the accounting layer.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Accounting Once collected, usage records need to be properly archived in databases for further analysis. These information should be available to the Users responsible for the payload, to the Site Managers of the Grid Resources and to the VO administrator of the user, but not to other people. In other words, information must be confidential. Usage records must be sent encrypted and signed by the Accounting Services.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Usage Analysis Information stored in the Accounting databases are rather complex. Not all the ‘users’ are interested in all of them. So there is the necessity for a system to analyses them and produce reports. Different types of users are interested in different views of the usage records, for example: A user will simply want to know how (s)he used the grid resources. A site manager needs to know who used its resources. A VO manager needs to trace what the VO users are doing on the Grid.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October Pricing & Billing Resource owners may want to charge the users, so it is necessary to establish a cost for the service provided to the user. “A cost is usually computed according to a price assigned to the unit of usage of a computing resource and to the usage measured for the same resource.” Thus a service responsible for managing the resource prices and communicating them to all the partners is needed.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October DGAS The Data Grid Accounting System was originally developed within the EU Datagrid Project and is now being maintained and re-engineered within the EU EGEE Project. The Purpose of DGAS is to implement Resource Usage Metering, Accounting and Account Balancing (through resource pricing) in a fully distributed Grid environment. It is conceived to be distributed, secure and extensible. DGAS system can be described using a three-layer model as shown in figure

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October DGAS Metering: Gianduia

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October The Home Location Register (HLR) service is the part of DGAS that is responsible for keeping the accounting information (usage records) for both grid resources and users. The usage records are used to define a job’s cost which can be debited to the user. In order to achieve scalability, accounting records can be stored on an arbitrary number of independent HLRs. At least one HLR per VO is foreseen, although a finer granularity is possible. DGAS Accounting

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October DGAS accounting architecture A simplified view of DGAS within the WMS context.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October DGAS: Pricing & Billing Price Authority (PA) is a key component of the DGAS toolkit because it provides the features necessary for the Economic Accounting. The PA Server is an entity that assigns the prices to the resources. The prices, that are kept in a historic price database, can be assigned manually or using different dynamic pricing algorithms.

Enabling Grids for E-sciencE INFSO-RI th EGEE Conference - Pisa, 23 October References ● Further information and documentation about DGAS can be found at: