240 likes | 367 Views
Hands-on on Information System (BDII). Yubiryn Ramírez ULA – Mérida - Venezuela Fourth EELA Tutorial for Managers and Users Mexico City, 28 August – 01 September 2006. Querying the Information System. lcg-infosites. lcg-info.
E N D
Hands-on on Information System (BDII) Yubiryn Ramírez ULA – Mérida - Venezuela Fourth EELA Tutorial for Managers and Users Mexico City, 28 August – 01 September 2006
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. Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-infosites 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 Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-infosites - options Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 1 Obtaining information about CE Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-infosites - 1 lcg-infosites --vo gilda ce --is eela-136.super.unam.mx valor del bdii: eela-136.super.unam.mx:2170 *********************************************************************************************** #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 .... Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 2 Obtaining information about SE Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-infosites - 2 lcg-infosites --vo gilda se --is eela-136.super.unam.mx Avail Space(Kb) Used Space(Kb) Type SEs ---------------------------------------------------------- 898705748 13701668 n.a grid005.iucc.ac.il 63830000 10240000 n.a egee016.cnaf.infn.it 51890000 3920000 n.a grid038.ct.infn.it 2910000000 940000000 n.a aliserv6.ct.infn.it 64390000 8350000 n.a gilda02.lcca.usp.br 28062620 3097160 n.a testbed005.cnaf.infn.it 767750000 41110000 n.a gildase01.roma3.infn.it 50410000 2730000 n.a trigrid-ce01.unime.it 51890000 3920000 n.a grid038.ct.infn.it Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 3 Listing the closeSE Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-infosites - 3 lcg-infosites --vo gilda closeSE valor del bdii: eela-136.super.unam.mx:2170 Name of the CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-long aliserv6.ct.infn.it grid038.ct.infn.it Name of the CE: grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-long testbed005.cnaf.infn.it egee016.cnaf.infn.it Name of the CE: gilda03.lcca.usp.br:2119/jobmanager-lcgpbs-long gilda02.lcca.usp.br gilda02.lcca.usp.br Name of the CE: grid010.ct.infn.it:2119/jobmanager-lcgpbs-short aliserv6.ct.infn.it grid038.ct.infn.it Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 4 Obtaining information about software Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-infosites - 4 lcg-infosites --vo gilda tag --is eela-136.super.unam.mx ************************************************************** 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 .... Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info • This tool allows the users to query, in a deeper way, the BDII • It requires the environment variable LCG_GFAL_INFOSYS to be set to the value of the BDII to be queried e.g. eela-136.super.unam.mx:2170 • Prints the list of the CEs or SEs satisfying a given query along with a list of specified attributes. Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info SINCE THE LATEST GLUE-SCHEMA UPDATE ONLY “=“ OPERATOR IS SUPPORTED! • 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 Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info options Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 1 List all the attributes Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info - 1 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 .... Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 2 Listing tags of installed software Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info - 2 lcg-info --list-ce --attrs Tag - CE: gilda03.lcca.usp.br:2119/jobmanager-lcgpbs-infinite - Tag 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 LCG-2_6_0 GLITE-3_0_0 AFS CMS-1.1.0 ATLAS-6.0.4 GATE-1.0.0-3 LHCb-1.1.1 IDL-5.4 CMSIM-125 ALICE-4.01.00 ALIEN-1.32.14 Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 3 Listing all the CEs with their FreeCPUsand TotalJobs attributes Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info - 3 lcg-info --list-ce --attrs FreeCPUs,TotalJobs - CE: gilda03.lcca.usp.br:2119/jobmanager-lcgpbs-infinite - FreeCPUs 4 - TotalJobs 0 - CE: gilda03.lcca.usp.br:2119/jobmanager-lcgpbs-long - FreeCPUs 4 - TotalJobs 0 - CE: gilda03.lcca.usp.br:2119/jobmanager-lcgpbs-short - FreeCPUs 4 - TotalJobs 0 - CE: gildace01.roma3.infn.it:2119/jobmanager-lcgpbs-infinite - FreeCPUs 4 - TotalJobs 0 Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Exercise 4 List FreeCPUs and TotalJobs attributes of all the CEs that have TotalCPUs=10 Fourth EELA Tutorial, México City, 28 August - 01 September 2006
lcg-info - 4 lcg-info --list-ce --attrs FreeCPUs,TotalJobs --query TotalCPUs=10 - CE: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-infinite - FreeCPUs 10 - TotalJobs 0 - CE: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-long - FreeCPUs 10 - TotalJobs 0 - CE: grid004.iucc.ac.il:2119/jobmanager-lcgpbs-short - FreeCPUs 10 - TotalJobs 0 Fourth EELA Tutorial, México City, 28 August - 01 September 2006
Questions … Fourth EELA Tutorial, México City, 28 August - 01 September 2006