bootstrapping replication

Eric Doutreleau Eric.Doutreleau at it-sudparis.eu
Mon May 10 14:46:50 EDT 2010


thanks for the advice

gfor the bail out i hadn't the same number of partition in the master 
and in the replica.

then i have another question
i have 13 partitions on the master server.
can i have only one on the replica or should i have the same number of 
partition?

Le 10/05/2010 18:01, Wesley Craig a écrit :
> On 10 May 2010, at 08:31, Eric Doutreleau wrote:
>> /usr/lib/cyrus-imapd/sync_client -v -m user.doutrele
>>
>> i got
>>
>> MAILBOXES user.doutrele
>> Error from do_mailboxes(): bailing out!
>>
>> the replica server is empty. Should i put him in sync with the master
>> bedore starting replications?
>
> Depending on load, I'd advise pre-sync-ing all of your users & shared
> mailboxes prior to starting rolling replication, e.g.:
>
> sync_client -luv user1 user2 ...
> sync_client -lmv shared.mailbox1 shared.mailbox2 ...
>
> Then start rolling replication. This will prevent rolling replication
> from getting so far behind that it thrashes. Mailboxes will still not be
> entirely in sync at this point, so insert user and mailbox events into
> the rolling replication log:
>
> cyr_synclog -u user
>
> Regarding the bail out, take a look at the logs on both the backend and
> the replica.
>
> :wes


More information about the Info-cyrus mailing list