Download GLITE 3.1 USER GUIDE

Transcript
comprehensive documentation of the SD APIs.
5.3.1. Running a Service Discovery query
In order to use Service Discovery, the user has to set the GLITE SD PLUGIN variable to specify the Information
System(s) to be queried. To use all of the R-GMA, BDII and XML file-based information systems set:
GLITE_SD_PLUGIN="rgma,bdii,file"
The API will then try each in turn until one of them returns something.
The glite-sd-query command allows the listing of basic information about known services. To list detailed
information about all services at a site, use the -s option instead:
glite-sd-query -x -s "cern.ch"
If a user wants to know more details about a specific service of type myproxy located at CERN, the same
command is used with the following options:
> glite-sd-query -t myproxy -s CERN-PROD
Name: myproxy-fts.cern.ch:7512
Type: MyProxy
Endpoint: myproxy-fts.cern.ch:7512
Version: 1.1.0
Name: prod-px.cern.ch:7512
Type: MyProxy
Endpoint: prod-px.cern.ch:7512
Version: 1.1.0
Note: as an alternative to the -s option, the environment variable GLITE SD SITE can be used to restrict the
search to a given site. The value of the variable can be either the name of the site in the GOC DB or the DNS
domain of the site.
Note: the type of service is specified as part of the GLUE schema, and may have a more complex format: for
example, the FTS service has a type of org.glite.FileTransfer.
5.4.
M ONITORING
The ability to monitor resource related parameters is currently considered a necessary functionality in any network.
In such a heterogeneous and complex system as the Grid, this necessity becomes fundamental. A monitoring
system implies the existence of a central repository of operational information (in WLCG/EGEE, the GOCDB).
CERN-LCG-GDEIS-722398
Manuals Series
Page 69