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

Re: Correct way to load LDIF in mirrormode

Peter Mogensen wrote:
> masarati@aero.polimi.it wrote:
>> - load server 1 using slapadd with option -S (the SID of server 1) and -w
>> - slapcat server 1
>> - slapadd server 2 using the slapcat from server 1
>> this ensures you have consistent entryCSN and contextCSN
> Ahh...
> That's of course right.
> But that will also more than double the time needed to load a backup on 
> a mirrormode setup.

This procedure should only be needed if the LDIF doesn't already contain
correct CSNs. If you're loading a backup from a 2.4 slapcat you can just
slapadd it on all servers at once.

> It already takes over 2 hours to load the database on server 1.
> Is there really no way around this load-dump-load procedure?

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/