1 / 19

BDII Practicals

BDII Practicals. Claudio Cherubino INFN – Catania Third EELA Tutorial for Managers and Users Rio de Janeiro, 26-30 June 2006. Querying the Information System. lcg-infosites. lcg-info. In order to query directly the IS elements two high level tools are provided:

minya
Télécharger la présentation

BDII Practicals

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BDII Practicals Claudio Cherubino INFN – Catania Third EELA Tutorial for Managers and Users Rio de Janeiro, 26-30 June 2006

  2. Querying the Information System lcg-infosites lcg-info • In order to query directly the IS elements two high level tools are provided: • These tools should be enough for most common user needs and can be used to hide the complexity of raw LDAP queries. Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  3. lcg-infosites - 1 This tool provides information related to Grid services: lcg-infosites --vo <your_vo> option –-is <your_bdii> • It’s mandatory to include the vo and the option. • The -- is option specifies the BDII you want to query. If not supplied, the BDII defined into the environment variable LCG_GFAL_INFOSYS will be used. List of options: Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  4. Exercise 1 Obtaining information about CE Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  5. lcg-infosites - 2 To retrieve the status of all available CEs serving the GILDA VO:lcg-infosites –-vo gilda ce –-is eelatut04.eela.if.ufrj.br:2170 **************************************************************** These are the related data for gilda: (in terms of queues and CPUs) **************************************************************** #CPU Free Total Jobs Running Waiting ComputingElement ---------------------------------------------------------- 6 6 0 0 0 grid004.iucc.ac.il:2119/jobmanager-lcgpbs-long 0 0 0 0 0 cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long 10 10 0 0 0 dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-long 6 6 0 0 0 grid004.iucc.ac.il:2119/jobmanager-lcgpbs-short 0 0 0 0 0 cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short 10 10 0 0 0 dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-short 16 16 0 0 0 grid010.ct.infn.it:2119/jobmanager-lcgpbs-long 10 10 0 0 0 grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long 6 6 0 0 0 grid004.iucc.ac.il:2119/jobmanager-lcgpbs-infinite 16 16 0 0 0 grid010.ct.infn.it:2119/jobmanager-lcgpbs-short 10 10 0 0 0 grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-short 0 0 0 0 0 cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-infinite 10 10 0 0 0 dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-infinite 2 2 0 0 0 gildace.oact.inaf.it:2119/jobmanager-lcgpbs-long 10 10 0 0 0 gilda-ce-01.pd.infn.it:2119/jobmanager-lcgpbs-long 2 2 0 0 0 gildace.oact.inaf.it:2119/jobmanager-lcgpbs-short 10 10 0 0 0 gilda-ce-01.pd.infn.it:2119/jobmanager-lcgpbs-short 16 16 2 2 0 grid010.ct.infn.it:2119/jobmanager-lcgpbs-infinite 10 10 0 0 0 grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-infinite 2 2 0 0 0 gildace.oact.inaf.it:2119/jobmanager-lcgpbs-infinite 10 10 4 4 0 gilda-ce-01.pd.infn.it:2119/jobmanager-lcgpbs-infinite Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  6. Exercise 2 Obtaining information about SE Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  7. lcg-infosites - 3 To retrieve the status of all available SEs serving the GILDA VO:lcg-infosites –-vo gilda se –-is eelatut04.eela.if.ufrj.br:2170 ************************************************************** These are the related data for gilda: (in terms of SE) ************************************************************** Avail Space(Kb) Used Space(Kb) Type SEs ---------------------------------------------------------- 912356296 51120 grid005.iucc.ac.il 143511344 2509092 cn02.be.itu.edu.tr 68930000 6200000 egee016.cnaf.infn.it 26700000 8010000 lxcde07.pd.infn.it 140742384 146535224 grid009.ct.infn.it 16160000000 410000000 aliserv6.ct.infn.it 108150932 3033064 gildase.oact.inaf.it 28071068 3088712 testbed005.cnaf.infn.it 348586904 447804 gilda-se-01.pd.infn.it Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  8. Exercise 3 Listing the closeSE Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  9. lcg-infosites - 4 The closeSE feature shows the name of the CEs together with their corresponding closest SEs:lcg-infosites –-vo gilda closeSE Name of the CE: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-long Name of the close SE: grid005.iucc.ac.il 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: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-short Name of the close SE: grid005.iucc.ac.il 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 ...... Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  10. lcg-info SINCE THE LATEST GLUE-SCHEMA UPDATE ONLY “=“ OPERATOR IS SUPPORTED! • This program allows the user to query, in a deeper way, the BDII. It requires the environmental variable LCG_GFAL_INFOSYS to be set to the value of the BDII to be queried, e.g. eelatut04.eela.if.ufrj.br:2170 • Prints the list of the CEs or SEs satisfying a given query along with a list of specified attributes. • 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. • A combination of attribute is supported. • The cuts are comma-separated and spaces are not allowed. Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  11. lcg-info options Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  12. Exercise 4 List all the “queryable” attributes Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  13. lcg-info examples - 1 To get the list of all the “queryable” 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 OSVersion GlueSubCluster GlueHostOperatingSystemRelease Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  14. Exercise 5 Listing tags of installed softwares Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  15. lcg-info examples - 2 To discover which software is supported by the CEs: lcg-info --list-ce --attrs Tag Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  16. List all the CEs with their FreeCPUs and TotalJobs attributes Exercise 6 Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  17. lcg-info examples - 3 To list only some attributes of the CEs: lcg-info --list-ce --attrs ‘FreeCPUs,TotalJobs’ - CE: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-long - FreeCPUs 6 - TotalJobs 0 - CE: cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-long - FreeCPUs 0 - TotalJobs 0 - CE: dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-long - FreeCPUs 10 - TotalJobs 0 - CE: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-short - FreeCPUs 6 - TotalJobs 0 - CE: cn01.be.itu.edu.tr:2119/jobmanager-lcglsf-short - FreeCPUs 0 - TotalJobs 0 Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  18. List FreeCPUs and TotalJobs attributes of all the CEs that have TotalCPUs = 10 Exercise 7 Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

  19. lcg-info examples - 4 To get the list of all the CEs which satisfy a given query: lcg-info --list-ce --attrs ‘FreeCPUs,TotalJobs’ --query ‘TotalCPUs=10’ - CE: dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-long - FreeCPUs 10 - TotalJobs 0 - CE: dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-short - FreeCPUs 10 - TotalJobs 0 - CE: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long - FreeCPUs 10 - TotalJobs 0 - CE: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-short - FreeCPUs 10 - TotalJobs 0 - CE: dgt01.ui.savba.sk:2119/jobmanager-lcgpbs-infinite - FreeCPUs 10 - TotalJobs 0 Third EELA Tutorial, Rio de Janeiro, 26-30 June 2006

More Related