Hands-on on R-GMA Tony Calanducci INFN Catania

Slides:



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

Quick-and-dirty.  Commands end in a semi-colon ◦ If you forget, another prompt line shows up  Either continue the command or…  End it with a semi-colon.
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.
Fourth EELA Tutorial for Managers and Users E-infrastructure shared between Europe and Latin America Hands-on on Information System (R-GMA)
Python MySQL Database Access
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Information System (IS) Valeria Ardizzone.
E-infrastructure shared between Europe and Latin America Usage of R-GMA and Grid Application Monitoring Valeria Ardizzone INFN-Catania 1° EELA Grid School.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks R-GMA Now With Added Authorization Steve.
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.
RAD to Database Connection Glenn Campbell
Website: Answering Continuous Queries Using Views Over Data Streams Alasdair J G Gray Werner.
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 R-GMA Server Installation Valeria Ardizzone.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
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.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America R-GMA Practicals Claudio Cherubino INFN.
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.
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,
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
The Mediator: What Next? Talk by: Andy Cooke Collaborators: Alasdair Gray, Lisha Ma, and Werner Nutt Heriot-Watt University.
Relational Grid Monitoring Architecture (R-GMA)
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
INFSO-SSA International Collaboration to Extend and Advance Grid Education Information System Valeria Ardizzone INFN Catania Corso di Grid Computing.
Dept. of Computer & Information Sciences
3 A Guide to MySQL.
Fundamental of Databases
Running a Forms Developer Application
Databases.
, MS-Access, QBE, Access/Oracle
R-GMA Command Line Tool
Information System Valeria Ardizzone INFN
VB 2010 Pertemuan 10.
The Information System
CCNA 2 v3 JEOPARDY Module 2 CCNA2 v3 Module 2 K. Martin.
SQL and SQL*Plus Interaction
MON Box Installation and configuration
Cassandra Tools and Config Files
Chapter 1 Introduction.
gLite Information System(s)
Introduction to Triggers
Using SQL Server through Command Prompt
Practicals on R-GMA Valeria Ardizzone INFN
Data Virtualization Demoette… DDL Feature
R-GMA Server Installation (v. 1.4)
ORACLE SQL Developer & SQLPLUS Statements
gLite Information System(s)
gLite Information System Practicals
R-GMA (Relational Grid Monitoring Architecture) for monitoring applications “s” gLite and LCG.
8 6 MySQL Special Topics A Guide to MySQL.
RAC Performance Lab.
User Interface Tutorial
Information and Monitoring System
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Creating and Managing Database Tables
gLite Information System
Hands-on on the gLite Information System
Microsoft SQL Server 2014 for Oracle DBAs Module 1
About Polling Polls are a means to gather input on a specific decision regarding a requirement. Polls are objects in the Poll class. To create a poll for.
Information Services Claudio Cherubino INFN Catania Bologna
SDMX IT Tools SDMX Registry
Presentation transcript:

Hands-on on R-GMA Tony Calanducci INFN Catania gLite tutorial at the EGEE User Forum Geneva, 27-28 February 2006

R-GMA Command Line Tool To start the R-GMA command line tool, run the following command: >rgma On startup, you should receive the following message: Welcome to the R-GMA virtual database for Virtual Organisations. ======================================================== Your local R-GMA server is: https://rgmasrv.ct.infn.it:8443/R-GMA You are connected to the following R-GMA Registry services: https://rgmasrv.ct.infn.it:8443/R-GMA/RegistryServlet You are connected to the following R-GMA Schema service: https://rgmasrv.ct.infn.it:8443/R-GMA/SchemaServlet Type "help" for a list of commands. rgma> gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Entering Commands Commands are entered by typing at the rgma> prompt and hitting ‘enter’ to execute the command. A history of the commands executed can be accessed using the Up and Down arrow keys. To search a command from history use CTRL-R and type the first few letters of the command to recall. Command autocompletion is supported (use Tab when you have partly entered a command). gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

General Commands General Commands help Display general help information. help <command> Display help for a specific command. exit or quit Exit from R-GMA command line interface. show tables Display the name of all tables existing in the Schema describe <tablename> Show all information about the structure of a table gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Querying Data (1) Querying data uses the standard SQL SELECT statement, e.g.: rgma> SELECT * FROM GlueService The behaviour of SELECT varies according to the type of query being executed. In R-GMA there are three basic types of query: LATEST Queries only the most recent tuple for each primary key HISTORY Queries all historical tuples for each primary key CONTINUOUS Queries returns tuples continuously as they are inserted. gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Querying Data (2) The type of query can be changed using the SET QUERY command as follow: rgma> SET QUERY LATEST or rgma> SET QUERY CONTINUOUS The current query type can be displayed using rgma> SHOW QUERY gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Exercise 1. Display all the table of the Schema rgma>show tables 2. Display information about GlueSite table rgma>describe GlueSite 3. Basic select query on the table named GlueSite rgma>set query latest rgma>show query rgma>select Name,Latitude,Longitude from GlueSite gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Maximum AGE of tuples The maximum age of tuples to return can also be controlled. To limit the age of latest or historical tuples use the SET MAXAGE command. The following are equivalent: rgma> SET MAXAGE 2 minutes rgma> SET MAXAGE 120 The current maximum tuple age can be displayed using rgma> SHOW MAXAGE To disable the maximum age, set it to none: rgma> SET MAXAGE none gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Query Timeout The final property affecting queries is timeout. For a latest or history query the timeout exists to prevent a problem (e.g. network failure) from stopping the query from completing. For a continuous query, timeout indicates how long the query will continue to return new tuples. Default timeout is 1 minute and it can be changed using rgma>SET TIMEOUT 3 minutes or SET TIMEOUT 180 The current timeout can be displayed using rgma>SHOW TIMEOUT gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Producer & Publishing Data The SQL INSERT statement may be used to add data to the system: rgma> INSERT INTO userTable VALUES (’a’, ’b’, ’c’, ’d’) In R-GMA, data is inserted into the system using a Producer component which handles the INSERT statement. Using the command line tool you may work with one producer at a time. The current producer type can be displayed using: rgma>show producer The producer type can be set using: rgma>set producer latest gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Exercise 1. Publish and consume tuple with continuous Producers rgma>describe userTable rgma>set producer continuous rgma>insert into userTable values('cod','string',1.4,66) rgma>set query continuous rgma>set maxage 1 minutes rgma>set timeout 10 seconds rgma>select * from userTable gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Secondary Producer To instruct the secondary producer to consume from table MyTable: rgma> SECONDARYPRODUCER userTable Like the producer, the secondary producer may be configured to answer latest and/or history queries: rgma> SET SECONDARYPRODUCER latest (By default the secondary producer can answer both latest and history queries. ) The current secondary producer type can be displayed using: rgma> SHOW SECONDARYPRODUCER gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Exercises Consume tuples coming from secondary producers: rgma>set secondaryproducer latest rgma>secondaryproducer userTable rgma>show producers of userTable rgma>set producer continuous rgma>insert into userTable values ('cod','string',5.2,44) rgma>set query latest rgma>select * from userTable gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006

Questions… gLite tutorial at the EGEE User Forum, Geneva, 27-28th February 2006