[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How to Clone / move an OpenLDAP instance?
- To: Buchan Milne <bgmilne@staff.telkomsa.net>
- Subject: Re: How to Clone / move an OpenLDAP instance?
- From: Michael March <mmarch@gmail.com>
- Date: Thu, 3 Dec 2009 09:36:00 -0700
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=kzSgV9TG1+FSwgwnJKxI4hTrR6rkfHiwbDRlXBct37E=; b=VG9qW3+cG1Z3pnyXlIlJS/e4jz2zMpZ58HxBaIRm5s3P3+0vwkD+VUEcEF8g3JT3Su RWOND8aAqNroajLegb6jntw/gmqIby+YnYmkDw1FVm8244HVhYKsFYCAhTgAXZHfSzKU H7szWYOW3k6zHbtKipbgU7E1+ZhigvgZJPzfU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HS3JYIAV17jvXzLR+8ZNqC1XauMPxn4Ln5YtcfCQWC+Z0A/71bf2vcmfTbAFY8LXOm 4fqjUp48N1lp7vwkf+J7bSBb4Nb5zFuRJfoQYRlUlZvqoR0S2avQ5iLYQAVuUan2HitM mVrF92HTWZteF3Dwaefm0NQfyDgCL6OmKNT14=
- In-reply-to: <200912031348.42662.bgmilne@staff.telkomsa.net>
- References: <48bc40670912030206m384ecfa9u4261c42d9a3293b6@mail.gmail.com> <200912031348.42662.bgmilne@staff.telkomsa.net>
Thanks for the response.
> On Thursday, 3 December 2009 11:06:54 Michael March wrote:
>> I need to move all the data from one OpenLDAP instance to another
>> (including operational attributes). What is the best way to do that?
>
> slapcat;scp;slapadd
Unfortunately slapadd doesn't maintain operational attributes.
> http://www.openldap.org/doc/admin24/dbtools.html#The%20{{EX:slapcat}}%20program
>
>> My first thought was to tar up all the file in /var/lib/openldap (on
>> Centos) and move that data over but that doesn't seem to be working.
>
> That should work if the software is the same on old and new, but if they differ
> (e.g. architecture - x86 vs x86-64, or old server had newer Berkeley DB
> version) it may not.
Arg.. the old server is running 32bit and the new is 64bit.. Aside
from that everything is the same.
>> Specifically, slapd will not start and no errors are spitting out.
>
> Did you increase debugging?
[root@localhost ldap]# slapd -d 256
@(#) $OpenLDAP: slapd 2.3.43 (Nov 6 2008 02:53:24) $
brewbuilder@hs20-bc1-5.build.redhat.com:/builddir/build/BUILD/openldap-2.3.43/openldap-2.3.43/build-servers/servers/slapd
bdb_db_open: unclean shutdown detected; attempting recovery.
bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)
Expect poor performance for suffix dc=acme,dc=com.
Segmentation fault
[root@localhost ldap]#
> Regards,
> Buchan
>
--
<admiral>
Michael F. March ----- mmarch@gmail.com
Ph: (415)462-1910 ---- Fax: (602)296-0400
P.O. Box 2254 ---- Phoenix, AZ 85002-2254
"Seriously" - HSR