How to run a information provider by hand?
A common runtime error within LCG is imcomplete or wrong information being published by a resource into the information system.A common reason for this is that the backend information script is not running correctly for some reason.
However when querying a GRIS all errors from the information scripts are lost. The information scripts can be run by hand to discover the errors.
The configuration file /opt/globus/etc/grid-info-resource-ldif.conf
contains multiple entries with an example being:
dn: Mds-Vo-name=local,o=grid
objectclass: GlobusTop
objectclass: GlobusActiveObject
objectclass: GlobusActiveSearch
type: exec
path: /opt/edg/libexec
base: ceinfo-wrapper.sh
args:
cachetime: 30
timelimit: 20
sizelimit: 50
The intresting attributes here path, base and args. In this case the information script is /opt/edg/libexec/ceinfo-wrapper.sh. In this case the args value is blank but obviously would be an argument to the information provider script is present.
Running this command produces the ldif that you see when ldapsearch'ing the GRIS.
Last modified Thu 29 July 2004 . View page history
Switch to HTTPS . Website Help . Print View . Built with GridSite 1.4.3