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

Re: Migrating from slapd 2.3 to 2.4





--On May 22, 2012 8:19:22 PM +0300 Nick Milas <nick@eurobjects.com> wrote:

On 22/5/2012 7:48 ÎÎ, Quanah Gibson-Mount wrote:

man slapcat

Thank you Quanah,

You mean slapcat both ends and diff the two ldif files? I am afraid I
don't understand.

If so, are the two output files expected to have exported entries in the
same sequence?

Can you please be more detailed?

I would generally expect a replica to export the database in the same order as the master. But in general, yes, you compare the LDIF generated by the master and the replica. If the replica is out of order in relation to the master, you can use the ldifsort perl utility that's found fairly easily to sort both ldif's into entry order prior to doing the diff.

--Quanah


--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration