glite-sd-query — Performs a lookup for a service
glite-sd-query [ -h ] [ -q ] [ -v ] [ -n NAME ] [ -t TYPE ] [ -s SITE ] [ -d PARAM=VALUE ] [ -x ] [ -e ] [ -a ] [ --host ] [ --xml ]
glite-sd-query is a command-line tool for querying information on a given service, or query services matching a given type, site or name.
If no options are used, glite-sd-query will list all services that it has knowledge about.
Print a short help message on parameters and usage, and exit.
Quiet operation.
Increases the verbosity level.
Specify the name of the service to be queried. As names are unique, only one service will be returned.
Specify the type of service to be queried. There might be more than one service corresponding to the given type. For a list of possible types see http://infnforge.cnaf.infn.it/glueinfomodel/index.php/V12/ServiceType
Query services at a given site. This option can be used together with the type option.
Query services which are running on a given host.
Query services which match the given data. Only used if services are querued by type. This option can be used multiple times.
Show extended information about the services.
Print endpoints only.
Do an associated services query. Used when at least one -d is specified.
Print out a services.xml-style xml document to standard output.
GLITE_SD_PLUGIN - sets the type of service discovery implementation to be used. It is a comma separated list of the available plugins (file, bdii, rgma, ...).
Example: export GLITE_SD_PLUGIN=rgma,bdii,file
GLITE_SD_SITE - can be used to set the local site, to be used to find a service nearby.
Example: export GLITE_SD_SITE=cern.ch
GLITE_SD_VO - can be used to set the default VO, to be used to find a friendly service.
Example: export GLITE_SD_VO=EGEE
GLITE_LOCATION is used to look up the default configuration file at GLITE_LOCATION/etc/services.xml. $HOME/.glite/etc/services.xml is also tested and it overrides the default settings.
LCG_GFAL_INFOSYS is used to set the host and port of the BDII service.
Example: export LCG_GFAL_INFOSYS='lxb1386.cern.ch:2170'
Using the host's default R-GMA configuration.