On 23/04/12 15:06, Stephen Burke wrote:
> Testbed Support for GridPP member institutes [mailto:TB-
>> [log in to unmask]] On Behalf Of Christopher J.Walker said:
>> At the GridPP meeting, it was suggested that a list of VOs supported at
>> sites be produced.
>
> for SITE in `ldapsearch -x -h lcg-bdii.cern.ch -p 2170 -b o=grid "(&(objectclass=GlueCE)(GlueCEUniqueID=*.ac.uk*))" | grep GlueCEHostingCluster: | sort | uniq | cut -d: -f2` ; do echo; echo $SITE:; echo; ldapsearch -x -h lcg-bdii.cern.ch -p 2170 -b o=grid "(&(objectclass=GlueCE)(GlueCEHostingCluster=$SITE))" GlueCEAccessControlBaseRule | grep GlueCEAccessControlBaseRule: | sort | uniq | cut -d: -f3; done
>
> Stephen
I've translated Stephen's script into python, and added a bit of glue to
produce html - attached.
GlueCEAccessControlBaseRule has VOMS rules as well as VO rules, so I
used objectClass=GlueCEInfo and 'GlueVOViewLocalID' - which works for
all sites except RALPP.
Is this a problem with RALPP's publishing, or my using GlueVOViewLocalID?
I plan to get Steve Lloyd to add this to his monitoring.
Chris
|