FP6−2004−Infrastructures−6-SSA-026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America R-GMA Practicals Claudio Cherubino INFN.

Slides:



Advertisements
Similar presentations
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.
Advertisements

A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Concepts of Database Management Sixth Edition
MBAC 611.  We have been using MS Access to query and modify our databases.  MS Access provides a GUI (Graphical User Interface) that hides much of the.
Create Forms Lesson 5. Software Orientation Creating Forms A form is a database object –enter, edit, or display data from a table or query Providing.
Access Tutorial 10 Automating Tasks with Macros
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
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)
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Pilot Test-bed Operations and Support Work.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Concepts of Database Management Seventh Edition
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Python MySQL Database Access
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Information System (IS) Valeria Ardizzone.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America 1 WP4: Tutorials and Workshops: requests.
E-infrastructure shared between Europe and Latin America Usage of R-GMA and Grid Application Monitoring Valeria Ardizzone INFN-Catania 1° EELA Grid School.
Concepts of Database Management Seventh Edition
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Conference, Catania, 3-5 December.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
E-infrastructure shared between Europe and Latin America 12th EELA Tutorial for Users and System Administrators gLite Information System.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Hands on session: the AMGA Metadata Catalogue.
 The ribbon is the primary form of navigation in the Microsoft Office 2007 system.  There are seven Tabs on the Ribbon, more (contextual) tabs will.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 25.1 Test-Driving the ATM Application 25.2.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Worker Node installation & configuration.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
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.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers.
SQL has several parts: Major ones: DDL – Data Definition Language {Defining, Deleting, Modifying relation schemas} DML – Data Manipulation Language {Inserting,
Personal Oracle8i Create a new user Create a new table Enter data into a new table Export & import data Start and exit SQL Plus SQL Plus Syntax.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Grid2Win: Porting of gLite middleware to.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America gLite Information System Claudio Cherubino.
CHAPTER 6 LESSON B Creating Custom Forms. Lesson B Objectives  Suppress default system messages  Create alerts and messages to provide system feedback.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America WMS+LB Server Installation Tony Calanducci.
1 CCNA Semester 2 Introduction to Routers Unit 2 Review JEOPARDY.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America DPM Server Installation Claudio Cherubino.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Practicals on Security – Infosys -- WMS.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America R-GMA Server Installation Valeria Ardizzone.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America SRM + gLite IO Server install Emidio Giorgio.
Quick Introduction to HTML DB. Accessing HTML DB There are two ways to access HTML DB 1.In the ilearning curriculum, select the red boxed arrow that appears.
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.
Command-line Oracle Logon to your ORACLE account using the instructions contained in this slideshow. Create the tables with your last name in place of.
INFSO-RI Enabling Grids for E-sciencE R-GMA Gergely Sipos and Péter Kacsuk MTA SZTAKI Credit to Valeria Ardizzone.
© 2002, Cisco Systems, Inc. All rights reserved..
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.
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals GILDA Tutors INFN Catania 4th EGEE Conference Pisa 23.October.2005.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America The GILDA t-Infrastructure Roberto Barbera.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino.
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
Microsoft SQL is known as RDMS (Relational Database Management System) which is developed by Microsoft and is highly used at corporate and enterprise.
The Mediator: What Next? Talk by: Andy Cooke Collaborators: Alasdair Gray, Lisha Ma, and Werner Nutt Heriot-Watt University.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
Relational Grid Monitoring Architecture (R-GMA)
, MS-Access, QBE, Access/Oracle
R-GMA Command Line Tool
The Information System
Hands-on on R-GMA Tony Calanducci INFN Catania
Practicals on R-GMA Valeria Ardizzone INFN
gLite Information System Practicals
User Interface Tutorial
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Hands-on on the gLite Information System
Presentation transcript:

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America R-GMA Practicals Claudio Cherubino INFN – Catania Third EELA Tutorial for Managers and Users Rio de Janeiro, June 2006

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June 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:

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June 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).

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June General commands help Display general help information. help 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 Show all information about the structure of a table

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Querying Data 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.

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Query types 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

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Exercise 1 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

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June 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

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June 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 The current timeout can be displayed using rgma>SHOW TIMEOUT

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Inserting 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

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Exercise 2 1.Insert and Select using Primary Producer to support Continuos + History query 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 5 seconds rgma> select * from userTable

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Secondary Producers 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

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Third EELA Tutorial, Rio de Janeiro, June Exercise 3 1.Insert and Select using the Secondary Producer to support the latest query. 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