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

Re: Correct way to load LDIF in mirrormode



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

If the two servers are identical, and you can afford stopping server 1,
you can probably copy the database files.

p.