NAME
bdii - configuration files
DESCRIPTION
bdii-update.conf
Configuration for bdii-update: a list of source URLs for resource information. Format: one unique name + one URL per line, shell-style commented. For a site-level BDII each name represents a grid resource provided by the site, for a top-level BDII each name represents a whole site.
Typical content of a bdii-update.conf file for a site-level BDII:
CE ldap://ce.example.com:2135/Mds-Vo-name=local,o=GridSE ldap://se.example.com:2135/Mds-Vo-name=local,o=GridRB ldap://rb.example.com:2135/Mds-Vo-name=local,o=Grid
NOTE: when BDII_AUTO_UPDATE is set to yes in bdii.conf, this file will be periodically overwritten with the document referred to by the BDII_UPDATE_URL.
bdii.conf
Configuration set up parameters for bdii, bdii-fwd, and bdii-update. Format:
attribute=value shell variable assignments, with case-sensitive
attributes, shell-style commented
BDII_PORT_READBDII LDAP service port exposed to the outside.Allowed values: 1-65536, but may not overlap withthe BDII_PORTS_WRITETypical value: 2170BDII_PORTS_WRITEPorts used to connect to any of the set of slapd servers thathost the directory content. At any time the port of the mostup-to-date slapd is used as a backend by the bdii-fwd serviceto link to the BDII service port $BDII_PORT_READ. The slapddatabases are updated cyclically, with each instance beingused for up to a few minutes.Allowed values: space separated and quoted list ofnon-identical ports, each between 1-65535,non overlapping with BDII_PORT_READTypical value: "2171 2172 2173"BDII_USERUsername under which the bdii-related processes run.This user will own the slapd databases.Typical value: edguserBDII_BINDDN of the top of the DIT used to publish the information throughthis bdii.Allowed values: any DN that is compatible with the schemasinstalled.Typical values:"Mds-Vo-name=example.com, o=Grid" for a site-level BDII"Mds-Vo-name=local, o=Grid" for a top-level BDIIBDII_PASSWDPassword used to access the backend slapd servers, usedboth to configure the slapd instances and in the bdiiupdate script to access the same.Allowed values: any string, shell meta-characters mustbe escaped.Typical value: site specificBDII_SEARCH_FILTERFilter used in queries to underlying informationsourcesAllowed values: valid LDAP search filterTypical value: '*' (quoted asterisk)BDII_SEARCH_TIMEOUTMaximum amount in seconds to wait for a response froman underlying information source.Allowed values: non-negative integerTypical value: 30BDII_BREATHE_TIMEPeriod between BDII updates in secondsAllowed values: non-negative integerTypical value: 60BDII_AUTO_UPDATEFlag to determine whether or not to periodically refresh thelist of information sources from the $BDII_UPDATE_URL.Allowed values: yes or no.Typical value: usually follows from the role of this BDII,with 'no' for site- and 'yes' for top-level BDIIs.BDII_DIRDirectory used as a base for locating the slapd databasesand logfiles.Allowed values: pathnameTypical value: /opt/bdiiBDII_UPDATE_URLURL of a document containing a bdii-update.conf file.Allowed values: http or https URLTypical value:http://some.host.some.domain/some/path/all-sites.confBDII_PROXYPath to a proxy derived from the host certificate, to be madeavailable to info providers that query secure services.Allowed values: full path to file, or empty to disable thefeatureTypical value: /opt/bdii/var/hostproxy (default)SLAPD_SYSLOG_LEVELLoglevel for the OpenLDAP server. Please see the man page forslapd.conf when specifying this value. Be sure to have thesyslog facility configured to accept log messages from theslapd daemon. A level of 0 disables logging (default).SLAPDPath of the slapd daemon installed by the third-partyopenldap-servers package.Allowed value: path to a valid slapd executableTypical value: /usr/sbin/slapdSLAPADDPath of the slapadd command installed by the third-partyopenldap-servers package.Allowed values: path to a valid slapadd executableTypical value: /usr/sbin/slapadd
Typical content for a top-level BDII:
BDII_PORT_READ=2170BDII_PORTS_WRITE="2171 2172 2173"BDII_USER=edguserBDII_BIND="Mds-Vo-name=local, o=Grid"BDII_PASSWD=secretBDII_SEARCH_FILTER='*'BDII_SEARCH_TIMEOUT=30BDII_BREATHE_TIME=60BDII_AUTO_UPDATE=yesBDII_DIR=/opt/bdii/BDII_UPDATE_URL=http://some.host.some.domain/some/path/all-sites.confSLAPD=/usr/sbin/slapdSLAPADD=/usr/sbin/slapadd
Typical content for a site-level BDII:
BDII_PORT_READ=2170BDII_PORTS_WRITE="2171 2172 2173"BDII_USER=edguserBDII_BIND="Mds-Vo-name=example.com, o=Grid"BDII_PASSWD=secretBDII_SEARCH_FILTER='*'BDII_SEARCH_TIMEOUT=30BDII_BREATHE_TIME=60BDII_AUTO_UPDATE=noBDII_DIR=/opt/bdii/BDII_UPDATE_URL=SLAPD=/usr/sbin/slapdSLAPADD=/usr/sbin/slapadd
schemas
List of schemas describing the contents of the BDII. The schemas are not provided by the BDII system but supplied by other packages. This file contains the pathnames of those external schema files.
Format: one pathname per line, each pointing to a schema file.
Typical content for the schemas file:
/etc/openldap/schema/core.schema/opt/glue/schema/ldap/Glue-CORE.schema/opt/glue/schema/ldap/Glue-CE.schema/opt/glue/schema/ldap/Glue-SE.schema/opt/glue/schema/ldap/Glue-CESEBIND.schema/opt/lcg/schema/ldap/SiteInfo.schema
bdii-fwd.conf
File containing the target port number of the bdii-fwd port forwarding service.
Format: a single integer between 1 - 65535, terminated by a newline.
Typical content: Written automatically by the bdii-update service. Should not be set by the user.