bdiiconf-gen.pl
Introduction
Top level
BDII server republishes information from site BDIIs.
In order to do this, top level
BDII server uses a list of URIs
pointing to site BDIIs. Top level
BDII downloads this list
periodically from a
central location.
Operation
The list of site
BDII URIs is generated by the
bdiiconf-gen.pl script
using the information in
GOCDB.
The script itself runs from
cron
every 30 minutes on
gridsite
producing publicly available
URI list. This list
contains all certified, production LCG and OSG sites. Two other lists are created:
- bdii-osg.conf - containing all OSG sites, and
- bdii-lcg.conf - containing all certified, production LCG sites (OSG sites are not included). These two are used by Laurence Field for OSG.
Generation script also
adds and
excludes
some sites from the list using static files from
the
conf directory.
Some
additional OSG sites are appended to the URI list using
get_osg_sites.sh script.
Logs are available in the
log
directory. If the generation fails for some reason, old version of the list is not overwritten
and continues to be used.
Another cron job (maintained by Laurence Field) downloads the URI list
and makes it available on the
central location.
This location is used for historical reasons (it used to contain a manually created
list of grid sites).
Maintenance
The source code for the bdiiconf-gen.pl script is available in
CVS.
The rest of the files (config, cron) are available only on gridsite.
New files are created without execution permissions but they can be made executable using
web form.
NOTE: Since gridsite uses certificate authentication and authorisation
you need to have your certificate loaded into the browser and your certificate
subject listed in the appropriate .gacl file on the server. Otherwise you
get "403 Forbidden" error.