QueryingBDII: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
=== Get the list of top-bdii's === | === Get the list of top-bdii's === | ||
<pre>lcg-infosites --vo all bdii_top</pre> | <pre> | ||
lcg-infosites --vo all bdii_top | |||
</pre> | |||
=== Get the list of VOs supported by the CEs from a given country === | |||
Example for UK : | |||
<pre> | |||
ldapsearch -x -h top-bdii.cern.ch -p 2170 -b o=grid "(&(objectclass=GlueCE)(GlueCEUniqueID=*.ac.uk*))" | grep "GlueCEAccessControlBaseRule: VO:" | sort | uniq | cut -d: -f3 | |||
</pre> |
Revision as of 12:57, 23 September 2016
What you will find on this page
Some useful commands, mainly based on ldapsearch, to extract meaningful information from BDII.
Some useful links to documentation
https://wiki.egi.eu/wiki/USG_Using_LDAP_Search
http://gridinfo.web.cern.ch/developers/resource-bdii
Useful commands
Get the list of top-bdii's
lcg-infosites --vo all bdii_top
Get the list of VOs supported by the CEs from a given country
Example for UK :
ldapsearch -x -h top-bdii.cern.ch -p 2170 -b o=grid "(&(objectclass=GlueCE)(GlueCEUniqueID=*.ac.uk*))" | grep "GlueCEAccessControlBaseRule: VO:" | sort | uniq | cut -d: -f3