[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDBM verse BDM





--On Friday, April 02, 2004 10:07 AM -0500 "Kent L. Nasveschuk" <kent@wareham.k12.ma.us> wrote:

Hello Frank,

Just a couple questions regarding, going from ldbm to bdb since bdb
seems to be the a much better backend for OpenLDAP.

I've got 4 OpenLDAP servers 2.1.23 (1 master 3 slaves) with ldbm
backend. If I were to upgrade one at a time any suggestions on how to
proceed with this? A server that went down in the past, I shutdown
slapd, copied the db files to the new installations and restarted slapd
and slurpd. I can't do a direct copy of files with different DB
backends. Use slapcat on the master then ldapadd on the new machine?


slapadd is much faster and more efficient than ldapadd.

You can look at:

<http://www.stanford.edu/services/directory/openldap/configuration/bdb-conf
ig.html>

for some information about the DB_CONFIG file for BDB as well.

<http://www.stanford.edu/services/directory/openldap/configuration/slapd-co
nf-replica.html>

contains information on how I configure my BDB backend replica's.


As far as an upgrade path goes, I'd upgrade the version of OpenLDAP you are using, building it with BDB backend support, and slapadding the DB in from a slapcat export you've done off of one of your other systems, and do that until they are all upgraded.


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
ITSS/TSS/Infrastructure Operations
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html