[Fedora-directory-users] Is it possible to migrate Berkeley 4.2(32bit) based directory to 4.2 (64bit)

Reinhard Nappert rnappert at juniper.net
Mon May 26 15:15:55 UTC 2008


Rich,

I have another question regarding the Berkley 4.2 (32bit) "migration" to
4.2 (64 bit):

First of all, the migration process is fine and the new 64 bit Berkley
DB handles even the old files. The search performance is more or less
the same as it was before. However, the add/delete operation is not
good. The performance decreased by 4 times. The entire build process is
identical (besides the enable-64bit switch). Can you shed some light on
that? Do you have the same experience?

Thanks,
-Reinhard

-----Original Message-----
From: fedora-directory-users-bounces at redhat.com
[mailto:fedora-directory-users-bounces at redhat.com] On Behalf Of Rich
Megginson
Sent: Thursday, April 03, 2008 12:12 PM
To: General discussion list for the Fedora Directory server project.
Subject: Re: [Fedora-directory-users] Is it possible to migrate Berkeley
4.2(32bit) based directory to 4.2 (64bit)

Reinhard Nappert wrote:
>
> Hi,
>
> Does anyone know, if that works?
>
Are you talking about the migration script migrate-ds-admin.pl?  If so,
then yes.  You will first have to export your databases to ldif e.g. for
a Fedora DS 1.0.4 installation:
cd /opt/fedora-ds/slapd-instance/db
../db2ldif -n userRoot -a `pwd`/userRoot.ldif ../db2ldif -n NetscapeRoot
-a `pwd`/NetscapeRoot.ldif ... repeat for each database instance

The migration script will look for a file called
/opt/fedora-ds/slapd-instance/db/<db instance name>.ldif and use that
rather than the binary files.

You should also run the migration script with the -x option to force it
to use cross platform mode.
>
> Thanks,
> -Reinhard
>
> ----------------------------------------------------------------------
> --
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   





More information about the Fedora-directory-users mailing list