Information System: Hands On - PowerPoint PPT Presentation

About This Presentation
Title:

Information System: Hands On

Description:

used to obtain VO-specific information on Grid resources ... GLUE schema, the root of the Directory Information Tree (DIT) is always: o=grid. ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 19
Provided by: mosu4
Category:
Tags: dit | hands | information | on | system

less

Transcript and Presenter's Notes

Title: Information System: Hands On


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
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)

3
lcg-infosites
  • The lcg-infosites command
  • used to obtain VO-specific information on Grid
    resources

lcg-infosites --vo ltvogt ltoptiongt -v ltverbositygt
-f ltsitegt --is ltbdiigt
--vo ltvogt the name of the VO to which the
information to print is related
(mandatory) ltoptiongt 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 ltbdiigt the BDII to query. If not
specified, the BDII defined in the environment
variable LCG_GFAL_INFOSYS will be queried. -f
ltsitegt restricts the information printed to the
specified site (it applies only to options rb,
dli, vobox and fts).
4
lcg-infosites Exercise 1
Obtaining information about CE's
ui03 /home/liplisbon/goncalo gt export
LCG_GFAL_INFOSYSi2g-ii01.lip.pt2170 ui03
/home/liplisbon/goncalo gt echo LCG_GFAL_INFOSYS
i2g-ii01.lip.pt2170
ui03 /home/liplisbon/goncalo gt lcg-infosites
--vo itut ce (--is i2g-ii01.lip.pt) CPU Free
Total Jobs Running Waiting
ComputingElement ---------------------------------
------------------------- 22 22 0
0 0 ce-ieg.bifi.unizar.es2119
/jobmanager-lcgpbs-itut 19 11 0
0 0 ce.i2g.cesga.es2119/jobmana
ger-lcgpbs-itutgrid 20 7 0
0 0 ce.i2g.cyf-kr.edu.pl2119/jobman
ager-pbs-itut 60 40 0 0
0 i2g-ce01.lip.pt2119/jobmanager-lcgsge
-itutgridsdj
Try with options -v 0 , -v 1, -v 2
5
lcg-infosites Exercise 2
Obtaining information about SE's
ui03 /home/liplisbon/goncalo gt lcg-infosites
--vo itut se Avail Space(Kb) Used Space(Kb) Type
SEs -------------------------------------------
--------------- 105347036 4905124
n.a se-ieg.bifi.unizar.es 3358560
7163032 n.a se.i2g.cesga.es 1357000000
0 16420000000 n.a dpm.cyf-kr.edu.pl 11
25000376 6577596 n.a
i2gse01.ifca.es 491960000 n.a
n.a i2gse.ui.savba.sk 1369635410
202322620 n.a dcache01.lip.pt 1369635410
202322620 n.a dcache01.lip.pt 7295
5452 59984 n.a
i2g-se01.lip.pt 4378670000 301310000
n.a se1.egee.man.poznan.pl
6
lcg-infosites Exercise 3
Obtaining information about services
ui03 /home/liplisbon/goncalo gt lcg-infosites
--vo itut rb --is i2g-ii01.lip.pt i2g-rb02.lip.pt
7772 ui03 /home/liplisbon/goncalo gt
lcg-infosites --vo itut lfc --is
i2g-ii01.lip.pt lfc01.lip.pt ui03
/home/liplisbon/goncalo gt lcg-infosites --vo itut
dli --is i2g-ii01.lip.pt http//lfc01.lip.pt8085/
Obtaining information about software tags
ui03 /home/liplisbon/goncalo gt lcg-infosites
--vo atlas tag is ii02.lip.pt .... Name of the
CE ce02.lip.pt VO-atlas-production-12.0.3
1 VO-atlas-production-12.0.6
VO-atlas-production-12.0.7
VO-atlas-production-12.0.95
VO-atlas-production-13.0.20
VO-atlas-production-13.0.30
VO-atlas-production-13.0.30.1
7
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_INFOSYSi2g-ii01.lip.pt2170
  • Prints the list of the CE's, SE's, services or
    sites satisfying a given query

8
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 , gt or lt, and the
cuts are AND'ed. The cuts are comma-separated and
spaces are not allowed.
9
lcg-info Exercise 1
List all the attributes
ui03 /home/liplisbon/goncalo gt 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 GlueSLArchitectureT
ype ServiceID GlueService
GlueServiceUniqueID ServiceOwner
GlueService GlueServiceOwner
ServiceURI GlueService
GlueServiceURI ServiceType
GlueService GlueServiceType
..... SiteSupport GlueSite
GlueSiteUserSupportContact SiteName
GlueSite GlueSiteName
SiteAdmin GlueSite
GlueSiteSysAdminContact ..... SMPSize
GlueSubCluster GlueHostArchitectur
eSMPSize Processor GlueSubCluster
GlueHostProcessorModel OSVersion
GlueSubCluster GlueHostOperatingSystem
Version ..... VORunningJobs GlueVOView
GlueCEStateRunningJobs
VOTotalJobs GlueVOView
GlueCEStateTotalJobs VOWorstRespTime
GlueVOView GlueCEStateWorstResponseTim
e
10
lcg-info Exercise 2
Listing some CE attributes TotalCPUs,FreeCPUs,OS
ui03 /home/liplisbon/goncalo gt lcg-info
-list-ce --attrs TotalCPUs,FreeCPUs,OS ..... -
CE ce.i2g.cyf-kr.edu.pl2119/jobmanager-pbs-itut
- TotalCPUs 20 - FreeCPUs
13 - OS Scientific Linux
CERN - CE ce.i2g.cyf-kr.edu.pl2119/jobmanager-p
bs-iusct - TotalCPUs 20 - FreeCPUs
13 - OS Scientific
Linux CERN - CE ce02.lip.pt2119/jobmanager-lcgs
ge-atlasgrid - TotalCPUs 48 -
FreeCPUs 6 - OS
ScientificCERNSLC
11
lcg-info Exercise 3
Listing some SE attributes with a filter
ui03 /home/liplisbon/goncalo gt lcg-info
-list-se --attrs SE,SESite,AvailableSpace,UsedSpac
e --vo itut --query 'SElip.pt' - SE
dcache01.lip.pt - SE
dcache01.lip.pt - SESite
LIP-Lisbon - AvailableSpace 1369635410 -
UsedSpace 202322620 - SE
i2g-se01.lip.pt - SE
i2g-se01.lip.pt - SESite
LIPI2G-Lisbon - AvailableSpace 72955452
- UsedSpace 59984
12
lcg-info Exercise 4
List all sites
ui03 /home/liplisbon/goncalo gt 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 - SiteLocation
Lisboa, Portugal - Site PSNC-I2G -
SiteLocation Poznan, Poland
13
lcg-info Exercise 5
List services of a given type Resource Broker
ui03 /home/liplisbon/goncalo gt lcg-info
-list-service --attrs ServiceName,ServiceEndpoint
--query 'ServiceTypeResourceBroker' - Service
i2g-rb02.lip.pt7772 - ServiceName
LIPI2G-Lisbon-rb - ServiceEndpoint
i2g-rb02.lip.pt7772 - Service
rb02.lip.pt7772 - ServiceName
LIP-Lisbon-rb - ServiceEndpoint
rb02.lip.pt7772
14
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 ogrid.
  • At the GRIS level the next entry is either
  • mds-vo-namelocal (for globus-mds service port
    2135).
  • mds-vo-nameresource (for BDII service port
    2170).
  • At the GIIS (site) level
  • mds-vo-nameltSITE NAMEgt (BDII service port 2170)?
  • At top level
  • mds-vo-namelocal (BDII service port 2170)?

15
ldapsearch Exercise 1
Information published by a GRIS globus-mds
ui03 /home/liplisbon/goncalo gt ldapsearch -x -H
ldap//ce02.lip.pt2135 -b mds-vo-namelocal,ogri
d version 2 filter (objectclass)?
requesting ALL ce02.lip.pt2119/jobmanager-l
cgsge-atlasgrid, local, grid dn
GlueCEUniqueIDce02.lip.pt2119/jobmanager-lcgsge-
atlasgrid,mds-vo-namelo cal,ogrid objectClass
GlueCETop objectClass GlueCE objectClass
GlueSchemaVersion objectClass GlueCEAccessControl
Base objectClass GlueCEInfo objectClass
GlueCEPolicy objectClass GlueCEState objectClass
GlueInformationService objectClass
GlueKey GlueCEHostingCluster ce02.lip.pt GlueCENa
me atlasgrid GlueCEUniqueID ce02.lip.pt2119/job
manager-lcgsge-atlasgrid GlueCEInfoGatekeeperPort
2119 GlueCEInfoHostName ce02.lip.pt GlueCEInfoLR
MSType sge .....
16
ldapsearch Exercise 2
Information published by a GRIS BDII
david_at_ui01 david ldapsearch -x -H
ldap//pprod06.lip.pt2170 -b mds-vo-nameresource
,ogrid version 2 filter
(objectclass)? requesting ALL
pprod06.lip.pt2170/bdii-top, resource, grid dn
GlueServiceUniqueIDpprod06.lip.pt2170/bdii-top,M
ds-Vo-nameresource,ogr id objectClass
GlueTop objectClass GlueService objectClass
GlueKey objectClass GlueSchemaVersion GlueService
UniqueID pprod06.lip.pt2170/bdii-top GlueService
Name pprod06.lip.pt-top GlueServiceType
bdii_top GlueServiceVersion 3.9.0 GlueServiceEndp
oint ldap//pprod06.lip.pt2170/mds-vo-namelocal
,ogrid GlueServiceURI pprod06.lip.pt2170/mds-vo
-namelocal,ogrid GlueServiceAccessPointURL
ldap//pprod06.lip.pt2170/mds-vo-namelocal,ogri
d GlueServiceStatus OK .....
17
ldapsearch Exercise 3
Information published by a site GIIS BDII
ui03 /home/liplisbon/goncalo gt ldapsearch -x -H
ldap//site-bdii.lip.pt2170 -b
mds-vo-nameLIP-Lisbon,ogrid version 2
filter (objectclass)? requesting ALL
LIP-Lisbon, grid dn Mds-Vo-nameLIP-Lisbon,ogrid
objectClass GlueTop ce02.lip.pt2119/jobmanag
er-lcgsge-atlasgrid, LIP-Lisbon, grid dn
GlueCEUniqueIDce02.lip.pt2119/jobmanager-lcgsge-
atlasgrid,Mds-Vo-nameLI P-Lisbon,ogrid objectCl
ass GlueCETop objectClass GlueCE objectClass
GlueSchemaVersion objectClass GlueCEAccessControl
Base objectClass GlueCEInfo objectClass
GlueCEPolicy objectClass GlueCEState objectClass
GlueInformationService objectClass
GlueKey GlueCEHostingCluster ce02.lip.pt GlueCENa
me atlasgrid .....
18
ldapsearch Exercise 2
Information published by a Top level BDII
ui03 /home/liplisbon/goncalo gt ldapsearch -x -H
ldap//i2g-ii01.lip.pt2170 -b mds-vo-namelocal,o
grid version 2 filter (objectclass)?
requesting ALL local, grid dn
mds-vo-namelocal,ogrid objectClass GlueTop
BIFI, local, grid dn mds-vo-nameBIFI,mds-vo-name
local,ogrid objectClass GlueTop
ce-ieg.bifi.unizar.es2119/jobmanager-lcgpbs-imain
, BIFI, local, grid dn GlueCEUniqueIDce-ieg.bifi
.unizar.es2119/jobmanager-lcgpbs-imain,mds-vo-n
ameBIFI,mds-vo-namelocal,ogrid .....
19
Questions
Write a Comment
User Comments (0)
About PowerShow.com