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

Re: Running ldif2ldbm while slapd is still running - possible ?



I remember trying out Critical Angle's a few years ago, which
was based on Sleepycat DB2, and it let permitted you to use
ldif2ldbm whilst slapd was running... I wonder how it
worked?


-- Luke

>From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
>Subject: Re: Running ldif2ldbm while slapd is still running - possible ?
>To: "Jochen Tuchbreiter" <jochen@tuchbreiter.de>
>Cc: <openldap-stable@OpenLDAP.org>
>Date: Sat, 10 Jun 2000 08:34:07 -0700
>
>At 11:52 AM 6/10/00 +0200, Jochen Tuchbreiter wrote:
>>My Idea ist to simlpy run ldif2lbm in the background while slapd is still
>>running. Of course ldif2lbm would have to create the database in a different
>>directory and slapd would have to run in read-only mode during this time.
>>After ldif2ldbm is done I am planning on simply copying the new db-dir to
>>the old one, overwriting the db-files.
>>
>>Is this possible / do you consider this to be "safe" ?
>
>No.  You have to bring slapd down, swap in the new DB, and restart
>slapd.
>

--
Luke Howard | Darwin Developer | PADL Software Pty Ltd
www.padl.com | lukeh@darwin.apple.com | lukeh@padl.com