Hands-on on Information System Antonio Juan Rubio Montero CIEMAT 10 th EELA Tutorial. Madrid, May 7 th -11 th,2007.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

1
Feichter_DPG-SYKL03_Bild-01. Feichter_DPG-SYKL03_Bild-02.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
ABC Technology Project
EU market situation for eggs and poultry Management Committee 20 October 2011.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
2 |SharePoint Saturday New York City
VOORBLAD.
12th EELA Tutorial, Lima, FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
WMS+LB Server Installation and Configuration Carlos Fuentes Bermejo IRIS-CERT/RedIRIS 11th EELA Tutorial, Madrid de Septiembre de 2007.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Analyzing Genes and Genomes
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Energy Generation in Mitochondria and Chlorplasts
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.
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)
INFSO-RI Enabling Grids for E-sciencE Information System : a detailed overview Giuseppe La Rocca INFN – Catania ICTP/INFM-Democritos.
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.
LCG Information and Monitoring System Jason Shih WLCG T2 Asia Workshop Dec 2, 2006: TIFR.
gLite Information System UNIANDES OOD Team Daniel Alberto Burbano Sefair, Michael Angel.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical: The Information Systems.
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 GILDA Praticals GILDA Tutors INFN Catania 4th EGEE Conference Pisa 23.October.2005.
LCG Information and Monitoring System Jason Shih ASGC Grid Administrator Tutorial March 15-16, Academia Sinica.
INFSO-RI Enabling Grids for E-sciencE Information System Giuseppe La Rocca Valeria Ardizzone INFN Catania 4th EGEE Conference Pisa.
Practicals on gLite Information Systems
R-GMA Command Line Tool
The Information System
Information System: Hands On
Hands-on on R-GMA Tony Calanducci INFN Catania
Practicals on gLite Information System
Hands-on on Information System
gLite Information System Practicals
Hands-on on the gLite Information System
Presentation transcript:

Hands-on on Information System Antonio Juan Rubio Montero CIEMAT 10 th EELA Tutorial. Madrid, May 7 th -11 th,2007.

2 lcg-infosites

3 Exercise 1 Get CE information $ lcg-infosites - -vo gilda ce

4 **************************************************************** 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 [..]

5 Exercise 2 Get SE information $ lcg-infosites - -vo gilda se

6 ************************************************************** 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

7 Exercise 3 Get information about installed software $ lcg-infosites - -vo gilda tag

8 ************************************************************************* 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 [..]

9 lcg-infosites options

10 lcg-info

11 lcg-info We can use this command to list which CE and SE satisfies a set of given conditions. We can also show values of a set of given attributes. Information is taken from BDII especified in LCG_GFAL_INFOSYS variable. Request sintax is: attr1 op1 valueN,... attrN opN valueN

12 lcg-info options

13 Exercise 5 Get supported attributed list $ lcg-info --list-attrs

14 $ 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

15 Exercise 6 Show all CEs on BDII satisfiying some given conditions $ lcg-info --list-ce --query 'TotalCPUs>=30,OS=SL*' --attrs 'RunningJobs,FreeCPUs ‘

16 $ 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 [..]

17 R-GMA

18 To start R-GMA command line type: >rgma On begin this message appears. R-GMA – Command line (1)

19 Command history is managed with “up” and “down” keys. For quick access to a command type it’s first characters and press “CTRL-R” Use TAB key to complete the command input. Command input

20 help Shows general help help Show specific help exit or quit Quit RGMA command line. Show tables Show all table names of the schema. (Schema) Describe Show table structure information. General commands

21 To obtain data use SQL SELECT clause: rgma> SELECT * FROM GlueService SELECT behaviour is according to the request type. There are three request types of SELECT: LATEST. Return most recents rows for each primary key. HISTORY. Return all historic rows for each primaty key. CONTINUOUS Return rows as soon are being inserter. Querying data (1)

22 To change request type use SET QUERY : rgma> SET QUERY LATEST or rgma> SET QUERY CONTINUOUS To show current request type: rgma> SHOW QUERY Querying data (2)

23 1.Show all schema tables: rgma>show tables 2.Show information about GlueSite table: rgma>describe GlueSite 3. Make a query about GlueSite table: rgma>set query latest rgma>show query rgma>select Name,Latitude,Longitude from GlueSite Exercises

24 Rows max age can be configured. To limit latest or history rows age use SET MAXAGE rgma> SET MAXAGE 2 minutes rgma> SET MAXAGE 120 To show row max age: rgma> SHOW MAXAGE To unable max age: rgma> SET MAXAGE none Row max age

25 Another property of requests is “timeout”  We can use timeout to prevent network failure or other situations  In continuous type, timeout means how long the request will continue returning new rows.  Default timeout it’s 1 minute. rgma>SET TIMEOUT 3 minutes or rgma>SET TIMEOUT 180 To show current timeout rgma>SHOW TIMEOUT Timeout property

26 We can use SQL INSERT to add new data: rgma>INSERT INTO userTable VALUES (’a’, ’b’, ’c’, ’d’) Producer component inserts data on R-GMA. This component manages INSERT clause. Data production and insertion (1)

27 To show the current producer type: rgma>show producer To set the producer type: rgma>set producer latest Data production and insertion (2)

28 1.Insert and select one row using a contiuous producer to support Continuous and historic querys. 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 Exercise

29 To set the secondary producer for consume from userTable table: rgma>SECONDARYPRODUCER userTable Secondary producer can be set for latest or history request. rgma>SET SECONDARYPRODUCER latest To show current secondary producer type: rgma>SHOW SECONDARYPRODUCER Secondary producer

30 Insert and select data using a secondary producer supporting latest querys. 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 Exercise

Edificio Bronce Plaza Manuel Gómez Moreno s/n Madrid. España Tel.: / 25 Fax: