Instructions on how to use the bdii configuration tool. Usage: ./bdiiconf.pl -i configuration file [-o output file] [-d] This script reads an input configuration file which can contain 3 types of information; include statements, exclude statements and references to ldap servers. The intention is that it will make it easier to modify the ldap servers accessed by a BDII. The directives are as follows; INCLUDE EXCLUDE An input file with the following lines; INCLUDE ../lcg2-production-sites.conf INCLUDE ../lcg2-test-sites.conf would simply merge the lists of ldap servers in each file, removing duplicates. In order to add the SITE-A ldap server to the list, you could do the following; INCLUDE ../lcg2-production-sites.conf INCLUDE ../lcg2-test-sites.conf SITE-A ldap://SITE-A and if one of the included files had this line SITE-B ldap://SITE-B but SITE-B should be excluded from your BDII, the conf file becomes; INCLUDE ../lcg2-production-sites.conf INCLUDE ../lcg2-test-sites.conf SITE-A ldap://SITE-A EXCLUDE SITE-B Note the following; Files included by the script can contain INCLUDE and EXCLUDE statements of their own. An EXCLUDE statement is only valid for the file within which it is defined, or anything included by that file. The script will follow INCLUDE statements which refer to URLs, eg INCLUDE http://path/extra.conf However, no INCLUDEs or EXCLUDEs will be honoured in such a file. The -d flag is used for debugging.