Difference between revisions of "HOWTO15 How to configure the Federated Cloud BDII"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
$ slapd -f /etc/openldap/slapd.conf -h ldap://full.hostname:2170 -d 0 > file-name 2>&1 & | $ slapd -f /etc/openldap/slapd.conf -h ldap://full.hostname:2170 -d 0 > file-name 2>&1 & | ||
=== Refresh the data === | |||
To refresh the data contained in the LDAP server: | |||
# Stop slapd process | |||
# Delete in the database directory all the files (but '''not''' the DB_CONFIG file) | |||
# Run again the slapadd command | |||
# Start again slapd process |
Revision as of 15:30, 24 May 2012
File attached to this wiki page:
- script file for the LDIF (python). Download here.
- Configuration file for the LDAP server. Download here.
- GLUE20.schema file, containing the GLUE20 LDAP definitions. download here.
Note:The configuration file, slapd.conf has been tested with these openldap package:
- openldap-2.4.23-20.el6.x86_64
- openldap-servers-2.4.23-20.el6.x86_64
- openldap-clients-2.4.23-20.el6.x86_64
For other openldap releases it may need to be tuned.
Once you have installed the ldap server you should be able to load the
ldap data with:
$ slapadd -f /etc/openldap/slapd.conf -l cloud-ldif.ldi
and to start the LDAP server with:
$ slapd -f /etc/openldap/slapd.conf -h ldap://full.hostname:2170 -d 0 > file-name 2>&1 &
Refresh the data
To refresh the data contained in the LDAP server:
- Stop slapd process
- Delete in the database directory all the files (but not the DB_CONFIG file)
- Run again the slapadd command
- Start again slapd process