From EGIWiki
Jump to: navigation, search
  1. service bdii stop
  2. yum remove glite-BDII glite-yaim-bdii
  3. delete some info-providers and ldif file:
    rm /opt/glite/etc/gip/ldif/stub-site.ldif
    rm /opt/glite/etc/gip/site-urls.conf
    rm /opt/glite/etc/gip/provider/glite-info-provider-site
    rm /opt/glite/etc/gip/provider/glite-info-provider-service-bdii-site-wrapper
    rm /opt/glite/etc/gip/ldif/glite-info-site.ldif
  4. reconfigure with yaim without specifying the BDII_site profile

Set up top-bdii[edit]

LOG files locations[edit]

  • /var/lib/bdii/gip/tmp/gip/log/top-urls.conf/ : Location of the logs of the update script itself
  • /var/log/bdii/bdii-update.log : log file for the bdii-update script (python script)


  • the script /var/lib/bdii/gip/provider/glite-info-provider-top-glue2 collects the GLUE2 informations and launches the following script
  • /opt/glite/libexec/glite-info-provider-ldap : this actually creates the list of ldap servers to contact, and query them
    • Line 406 the if statement is changed to:
       if ($options{g}){
            if ($dn =~ m/GLUE2DomainId=$name,/i) {
                print LOGFILE "ERROR: Skipping recursive entry '$dn'\n";

            if ( $name eq "cloud"){
                #$dn =~ s/o=glue/GLUE2GroupID=cloud,o=glue/i;                                                                                                            
            }elsif ($name eq "grid"){
                $dn =~ s/o=glue/GLUE2GroupID=grid,o=glue/i;
                $dn =~ s/o=glue/GLUE2DomainID=$name,o=glue/i;
    • changed line 255: $bind = "GLUE2DomainId=$site,GLUE2GroupID=cloud,o=glue"; (added GLUE2GroupID=cloud)
  • /usr/sbin/bdii-update : it is the script that performs the glue1.3 and glue2 update, merges the ldif files ecc ecc
    • configuration file: /etc/bdii/bdii.conf
    • How to run it: /usr/bin/python /usr/sbin/bdii-update -c /etc/bdii/bdii.conf -d

other files[edit]

  • /opt/glite/etc/gip/top-urls.conf : file that contains the list of information providers
  • default ldif file to load: /var/lib/bdii/gip/ldif/default.ldif
    • this file contains the default ldap data to prepend to the bdii stuff.
    • Added GLUE2GroupID=cloud