next up previous contents
Next: Query Examples Up: Grid Progress and Usage Previous: Access   Contents


Grid Information via ldap

Grid information is managed by the MDS (Monitoring & Discovery) Service built on OpenLDAP, therefore users must have a minimal knowledge of ldap queries to get information from and about the Grid.
More information on ldap is available at the sites:
http://www.openldap.org/,
http://www.redbooks.ibm.com/

in the latter site search for ldap.

The general ldap query command is of the following type:
$ ldabsearch \
-LLL \ suppress/reduce log info
-x \ simple authentication
-H ldap://server.site:port \ Ldap server name & port (new syntax)
-h server.site \ server site (old syntax)
-p prot no. \ port number (old syntax)
-b dn-base \ search starting point
objectclass=OBJ \ filter
attribute \ return attribute
-s scope \ set scope

The fields are described by man ldapsearch. Scope field allowed values are:
-s base|one|sub
that specify the scope of the search as a base object, one-level, or subtree search. The default is sub.

To search ldap information you must know the dns of the ldap server and the related port number. Verify also that the -x option is present otherwise the command fails with authentication errors.

As most information on Grid services is published using ldap, problems reaching the LDAP server result in information loss. Typical failure cases and messages are:



Subsections
next up previous contents
Next: Query Examples Up: Grid Progress and Usage Previous: Access   Contents
luvisetto 2003-07-25