BDII00

This machine was setup by Mona.
[root@bdii00 var]# rpm -qa | grep glite
glite-version-3.1.0-1.slc4
glite-info-plugin-fcr-1.0.0-3
glite-yaim-core-4.0.5-7
glite-BDII-3.1.10-0
glite-info-update-endpoints-1.0.0-5
glite-info-templates-1.0.0-8
glite-info-generic-2.0.2-3
glite-yaim-bdii-4.0.4-6
glite-info-provider-service-1.0.0-6
glite-info-provider-ldap-1.2.0-1

/opt/glite/yaim/bin/yaim -c -s /root/config/hepbdii-site-info.def -n BDII_site
Here is the site-info.def file (from bdii00) and the history.

For completeness here are the official instructions and bits of the yaim guide and the yaim configuration variables are also relevant.

Initial Problem: gfe02 shows up as classic SE

ldapsearch -x -d7 ldap://bdii00.hep.ph.ic.ac.uk:2170 -b mds-vo-name=UKI-LT2-IC-HEP,o=grid | perl -00pe 's/\r*\n //g'
(the perl at the end is for nicer formatting)

on bdii00 in /opt/bdii/var/bdii.log error message reads:
==> slapadd: dn="GlueServiceUniqueID=httpg://gfe02.hep.ph.ic.ac.uk:8443/srm/managerv1,Mds-Vo-name=UKI-LT2-IC-HEP,o=grid"
(line=1163): (19) attribute 'GlueServiceStatus' cannot have multiple values
==> slapadd:
dn="GlueServiceUniqueID=httpg://gfe02.hep.ph.ic.ac.uk:8443/srm/managerv1,Mds-Vo-name=UKI-LT2-IC-HEP,o=grid"
(line=1164): (19) attribute 'GlueServiceStatus' cannot have multiple values

This is fixed by editing /opt/glite/etc/gip/ldif/static-file-dSE.ldif on gfe02. The line "GlueServiceStatus: OK " had appeared twice in a row for srm/managerv2. Previous versions of the BDI00 software ignored this.

After fixing this error a new error appears:
==> slapadd: dn="GlueServiceUniqueID=httpg://gfe02.hep.ph.ic.ac.uk:8443/srm/managerv2,Mds-Vo-name=UKI-LT2-IC-HEP,o=grid" (line=1221):
(65) object class 'GlueSchemaVersion' requires attribute 'GlueSchemaVersionMajor'

This was fixed by adding (best guess, I have not been able to work out how these files got into this state)
GlueSchemaVersionMajor: 1
GlueSchemaVersionMinor: 2
at the end of the section describing dn: GlueServiceUniqueID=httpg://gfe02.hep.ph.ic.ac.uk:8443/srm/managerv2,mds-vo-name=local,o=grid

The machine is now working fine (famous last words).