@ https://goc.grid-support.ac.uk/gridsite/db/
For more information see Site Status
Information is collected hierarchically. At each site individual computing and storage elements collect information into a Grid Resource Information Server (GRIS). At each site one element acts as is the Site Grid Index Information Server (GIIS) or site Berkeley DB Information Index (BDII) and collects information from the individual GRISes and propagates them to a top-level database which is also a BDII.
Interrogation of this information can likewise be heirachical. Normally it is sufficient just to interrogate the top level BDII. However more detailed, and due to latencies in the system, more up to date, information can be obtained by querying directly the site GIISes (or site BDIIs) or even the local GRISes.
Commands such as lcg-infosite, lcg-info and ldapsearch use MDS for example:-
lcg-infosites --vo minos.vo.gridpp.ac.uk allwill list all the CEs and SEs MINOS can use.
For more information see Computing and Storage Resources MINOS can use (lcg-infosites)
lcg-info --list-ce --query 'CE=heplnx206.pp.rl.ac.uk*' --attrs TotalJobs,WaitingJobs,RunningJobslists, for the RAL Tier 2 CE (heplnx206) the total, waiting and running jobs for every VO allowed to run there..
For more information see Computing and Storage Attribute Queries (lcg-info)
ldapsearch -x -h site-bdii.gridpp.rl.ac.uk -p 2170 -b 'Mds-Vo-name=RAL-LCG2,o=Grid' '(GlueSALocalID=minos)' \
GlueSARoot GlueSAStateAvailableSpace GlueSAStateUsedSpace
returns the available and used storage space on the RAL Tier 1 SE.
For more information see Raw LDAP Queries (ldapsearch)
R-GMA can be accessed using the command rgma.
R-GMA will eventually replace MDS, but currently both systems are in use.
For more information see R-GMA Queries (rgma)