[Date Prev][Date Next]
Re: Migrating openldap db backend from ibdm to bdb
<quote who="Asrai khn">
> I want to migrate our openldap db backend which currently using idbm to
> Matt have suggested following steps, would you please kind enough to put
> some more light on few steps
> Migrate to BDB or HDB. Here's the rough idea:
> shutdown slapd
> slapcat -f /path/to/slapd.conf -l mydb.ldif
> vi /path/to/slapd.conf
> Change your database to a new directory.
> Read about tuning, cache sizing, and other stuff.
> Read openldap man pages. ( what to read ;)
> Read oracle's tuning docs for bdb. (we are not using any oracle things)
> Re-Read openldap man pages. (re-read for what :-S
> slapadd -f /path/to/slapd.conf -l mydb.ldif
> Fix permissions on /var/run so the slapd user can write there -- this
> one is pretty easy
> Secondly, to be safe side, if something goes wrong, taking backup of ...
> directory /var/lib/ldap/mydomain.com
> cp -r /var/lib/ldap/mydomain.com /TosomeSafePlace
> is enough to fallback to ibdm?
Above looks about right. Just keep your slapcat export safe, then you can
fall back to any backend, if need be.
> I want minimum downtime, heh frankly I can't aford my ass on fire :P
Hire someone with experience then! ;-)
> Thanks. Askar