Presentation is loading. Please wait.

Presentation is loading. Please wait.

Information System: Hands On

Similar presentations


Presentation on theme: "Information System: Hands On"— Presentation transcript:

1 Information System: Hands On
EGEE & Int.EU.Grid Tutorial Lisbon, 12th December 2007 Gonçalo Borges, Jorge Gomes, Mário David LIP Lisboa

2 gLite and INT.EU.GRID training for end-users
Outline In order to query directly the IS two high level tools are provided: lcg-infosites lcg-info These tools should be OK for common user needs These tools hide the complexity of raw LDAP queries (ldapsearch) gLite and INT.EU.GRID training for end-users

3 gLite and INT.EU.GRID training for end-users
lcg-infosites The lcg-infosites command used to obtain VO-specific information on Grid resources lcg-infosites --vo <vo> <option> -v <verbosity> -f <site> --is <bdii> --vo <vo>: the name of the VO to which the information to print is related (mandatory); <option>: specifies what information has to be printed. It can take the following values: ce, se, all, closeSE, tag, lfc, lfcLocal, rb, dli, dliLocal, vobox, fts --is <bdii>: the BDII to query. If not specified, the BDII defined in the environment variable LCG_GFAL_INFOSYS will be queried. -f <site>: restricts the information printed to the specified site (it applies only to options rb, dli, vobox and fts). gLite and INT.EU.GRID training for end-users

4 lcg-infosites: Exercise 1
Obtaining information about CE's [ui03] /home/liplisbon/goncalo > export LCG_GFAL_INFOSYS=i2g-ii01.lip.pt:2170 [ui03] /home/liplisbon/goncalo > echo $LCG_GFAL_INFOSYS i2g-ii01.lip.pt:2170 [ui03] /home/liplisbon/goncalo > lcg-infosites --vo itut ce (--is i2g-ii01.lip.pt) #CPU Free Total Jobs Running Waiting ComputingElement ce-ieg.bifi.unizar.es:2119/jobmanager-lcgpbs-itut ce.i2g.cesga.es:2119/jobmanager-lcgpbs-itutgrid ce.i2g.cyf-kr.edu.pl:2119/jobmanager-pbs-itut i2g-ce01.lip.pt:2119/jobmanager-lcgsge-itutgridsdj Try with options: -v 0 , -v 1, -v 2 gLite and INT.EU.GRID training for end-users

5 lcg-infosites: Exercise 2
Obtaining information about SE's [ui03] /home/liplisbon/goncalo > lcg-infosites --vo itut se Avail Space(Kb) Used Space(Kb) Type SEs n.a se-ieg.bifi.unizar.es n.a se.i2g.cesga.es n.a dpm.cyf-kr.edu.pl n.a i2gse01.ifca.es n.a n.a i2gse.ui.savba.sk n.a dcache01.lip.pt n.a i2g-se01.lip.pt n.a se1.egee.man.poznan.pl gLite and INT.EU.GRID training for end-users

6 lcg-infosites: Exercise 3
Obtaining information about services [ui03] /home/liplisbon/goncalo > lcg-infosites --vo itut rb --is i2g-ii01.lip.pt i2g-rb02.lip.pt:7772 [ui03] /home/liplisbon/goncalo > lcg-infosites --vo itut lfc --is i2g-ii01.lip.pt lfc01.lip.pt [ui03] /home/liplisbon/goncalo > lcg-infosites --vo itut dli --is i2g-ii01.lip.pt Obtaining information about software tags [ui03] /home/liplisbon/goncalo > lcg-infosites --vo atlas tag –is ii02.lip.pt [....] Name of the CE: ce02.lip.pt VO-atlas-production VO-atlas-production VO-atlas-production VO-atlas-production VO-atlas-production VO-atlas-production VO-atlas-production gLite and INT.EU.GRID training for end-users

7 gLite and INT.EU.GRID training for end-users
lcg-info Query the BDII, in a deeper way, the BDII It requires to set LCG_GFAL_INFOSYS to the value of the BDII to be used: export LCG_GFAL_INFOSYS=i2g-ii01.lip.pt:2170 Prints the list of the CE's, SE's, services or sites satisfying a given query gLite and INT.EU.GRID training for end-users

8 gLite and INT.EU.GRID training for end-users
lcg-info: Usage lcg-info --list-ce [--bdii bdii] [--vo vo] [--sed] [--debug] [--query query] [--attrs list] --list-se --list-service --list-site lcg-info -list-attrs lcg-info -help The query syntax is the following: attr1 op1 value1, ... , attrN opN valueN where attrN is an attribute name, op is =, >= or <=, and the cuts are AND'ed. The cuts are comma-separated and spaces are not allowed. gLite and INT.EU.GRID training for end-users

9 List all the attributes
lcg-info: Exercise 1 List all the attributes [ui03] /home/liplisbon/goncalo > lcg-info -list-attrs Attribute name Glue object class Glue attribute name [.....] TotalCPUs GlueCE GlueCEInfoTotalCPUs MaxRunningJobs GlueCE GlueCEPolicyMaxRunningJobs MaxCPUTime GlueCE GlueCEPolicyMaxCPUTime [....] Accesspoint GlueCESEBind GlueCESEBindCEAccesspoint Root GlueSA GlueSARoot AvailableSpace GlueSA GlueSAStateAvailableSpace ArchType GlueSL GlueSLArchitectureType ServiceID GlueService GlueServiceUniqueID ServiceOwner GlueService GlueServiceOwner ServiceURI GlueService GlueServiceURI ServiceType GlueService GlueServiceType SiteSupport GlueSite GlueSiteUserSupportContact SiteName GlueSite GlueSiteName SiteAdmin GlueSite GlueSiteSysAdminContact SMPSize GlueSubCluster GlueHostArchitectureSMPSize Processor GlueSubCluster GlueHostProcessorModel OSVersion GlueSubCluster GlueHostOperatingSystemVersion VORunningJobs GlueVOView GlueCEStateRunningJobs VOTotalJobs GlueVOView GlueCEStateTotalJobs VOWorstRespTime GlueVOView GlueCEStateWorstResponseTime gLite and INT.EU.GRID training for end-users

10 Listing some CE attributes: TotalCPUs,FreeCPUs,OS
lcg-info: Exercise 2 Listing some CE attributes: TotalCPUs,FreeCPUs,OS [ui03] /home/liplisbon/goncalo > lcg-info -list-ce --attrs TotalCPUs,FreeCPUs,OS [.....] - CE: ce.i2g.cyf-kr.edu.pl:2119/jobmanager-pbs-itut - TotalCPUs - FreeCPUs - OS Scientific Linux CERN - CE: ce.i2g.cyf-kr.edu.pl:2119/jobmanager-pbs-iusct - CE: ce02.lip.pt:2119/jobmanager-lcgsge-atlasgrid - TotalCPUs - FreeCPUs - OS ScientificCERNSLC gLite and INT.EU.GRID training for end-users

11 Listing some SE attributes with a filter
lcg-info: Exercise 3 Listing some SE attributes with a filter [ui03] /home/liplisbon/goncalo > lcg-info -list-se --attrs SE,SESite,AvailableSpace,UsedSpace --vo itut --query 'SE=*lip.pt*' - SE: dcache01.lip.pt - SE dcache01.lip.pt - SESite LIP-Lisbon - AvailableSpace - UsedSpace - SE: i2g-se01.lip.pt - SE i2g-se01.lip.pt - SESite LIPI2G-Lisbon - AvailableSpace - UsedSpace gLite and INT.EU.GRID training for end-users

12 gLite and INT.EU.GRID training for end-users
lcg-info: Exercise 4 List all sites [ui03] /home/liplisbon/goncalo > lcg-info -list-site --attrs SiteLocation - Site: BIFI - SiteLocation Zaragoza, Spain - Site: CESGA-I2G - SiteLocation Santiago de Compostela, Spain - Site: CYFRONET-I2G - SiteLocation Cracow, Poland - Site: FZK-I2G - SiteLocation Karlsruhe, Germany - Site: ICM - SiteLocation Warsaw, Poland - Site: IFCA-I2G - SiteLocation Santander, Spain - Site: IISAS-I2G - SiteLocation Bratislava, Slovakia - Site: LIP-Lisbon - SiteLocation Lisboa, Portugal - Site: LIPI2G-Lisbon - Site: PSNC-I2G - SiteLocation Poznan, Poland gLite and INT.EU.GRID training for end-users

13 List services of a given type:
lcg-info: Exercise 5 List services of a given type: Resource Broker [ui03] /home/liplisbon/goncalo > lcg-info -list-service --attrs ServiceName,ServiceEndpoint --query 'ServiceType=ResourceBroker' - Service: i2g-rb02.lip.pt:7772 - ServiceName LIPI2G-Lisbon-rb - ServiceEndpoint i2g-rb02.lip.pt:7772 - Service: rb02.lip.pt:7772 - ServiceName LIP-Lisbon-rb - ServiceEndpoint rb02.lip.pt:7772 gLite and INT.EU.GRID training for end-users

14 gLite and INT.EU.GRID training for end-users
ldapsearch The LDAP servers can be queried directly with the ldapsearch command. For the LDAP implementation of the GLUE schema, the root of the Directory Information Tree (DIT) is always: o=grid. At the GRIS level the next entry is either: mds-vo-name=local (for globus-mds service port 2135). mds-vo-name=resource (for BDII service port 2170). At the GIIS (site) level: mds-vo-name=<SITE NAME> (BDII service port 2170)‏ At top level: mds-vo-name=local (BDII service port 2170)‏ gLite and INT.EU.GRID training for end-users

15 Information published by a GRIS: globus-mds
ldapsearch: Exercise 1 Information published by a GRIS: globus-mds [ui03] /home/liplisbon/goncalo > ldapsearch -x -H ldap://ce02.lip.pt:2135 -b mds-vo-name=local,o=grid version: 2 # # filter: (objectclass=*)‏ # requesting: ALL # ce02.lip.pt:2119/jobmanager-lcgsge-atlasgrid, local, grid dn: GlueCEUniqueID=ce02.lip.pt:2119/jobmanager-lcgsge-atlasgrid,mds-vo-name=lo cal,o=grid objectClass: GlueCETop objectClass: GlueCE objectClass: GlueSchemaVersion objectClass: GlueCEAccessControlBase objectClass: GlueCEInfo objectClass: GlueCEPolicy objectClass: GlueCEState objectClass: GlueInformationService objectClass: GlueKey GlueCEHostingCluster: ce02.lip.pt GlueCEName: atlasgrid GlueCEUniqueID: ce02.lip.pt:2119/jobmanager-lcgsge-atlasgrid GlueCEInfoGatekeeperPort: 2119 GlueCEInfoHostName: ce02.lip.pt GlueCEInfoLRMSType: sge [.....] gLite and INT.EU.GRID training for end-users

16 Information published by a site GIIS: BDII
ldapsearch: Exercise 3 Information published by a site GIIS: BDII [ui03] /home/liplisbon/goncalo > ldapsearch -x -H ldap://site-bdii.lip.pt:2170 -b mds-vo-name=LIP-Lisbon,o=grid version: 2 # # filter: (objectclass=*)‏ # requesting: ALL # LIP-Lisbon, grid dn: Mds-Vo-name=LIP-Lisbon,o=grid objectClass: GlueTop # ce02.lip.pt:2119/jobmanager-lcgsge-atlasgrid, LIP-Lisbon, grid dn: GlueCEUniqueID=ce02.lip.pt:2119/jobmanager-lcgsge-atlasgrid,Mds-Vo-name=LI P-Lisbon,o=grid objectClass: GlueCETop objectClass: GlueCE objectClass: GlueSchemaVersion objectClass: GlueCEAccessControlBase objectClass: GlueCEInfo objectClass: GlueCEPolicy objectClass: GlueCEState objectClass: GlueInformationService objectClass: GlueKey GlueCEHostingCluster: ce02.lip.pt GlueCEName: atlasgrid [.....] gLite and INT.EU.GRID training for end-users

17 Information published by a Top level BDII
ldapsearch: Exercise 2 Information published by a Top level BDII [ui03] /home/liplisbon/goncalo > ldapsearch -x -H ldap://i2g-ii01.lip.pt:2170 -b mds-vo-name=local,o=grid version: 2 # # filter: (objectclass=*)‏ # requesting: ALL # local, grid dn: mds-vo-name=local,o=grid objectClass: GlueTop # BIFI, local, grid dn: mds-vo-name=BIFI,mds-vo-name=local,o=grid # ce-ieg.bifi.unizar.es:2119/jobmanager-lcgpbs-imain, BIFI, local, grid dn: GlueCEUniqueID=ce-ieg.bifi.unizar.es:2119/jobmanager-lcgpbs-imain,mds-vo-n ame=BIFI,mds-vo-name=local,o=grid [.....] gLite and INT.EU.GRID training for end-users

18 gLite and INT.EU.GRID training for end-users
Questions gLite and INT.EU.GRID training for end-users


Download ppt "Information System: Hands On"

Similar presentations


Ads by Google