Reverting failover

Sven Schwedas sven.schwedas at
Thu Apr 18 12:09:39 EDT 2013


On 18.04.2013 12:18, Janne Peltonen wrote:
> Hi!
> On Thu, Apr 18, 2013 at 11:59:31AM +0200, Sven Schwedas wrote:
>>> 1) force syncronisation
>>> 3) manually run any remaining synclogs
>> How do I do that / what's the difference between forced sync and a
>> manual sync log run?
> I mean that in the first case, you give a list of all your users (and shared
> mailboxes) to the sync_client command, using -u and -m operating modes,
> respectively. See man sync_client, note also the -f option. You can skip this
> step if you trust that your replica is completely up-to-date. There might have
> been some glitches in the replication at a point or another, so I prefer to
> synchronize all users and shared folders just before the role change, just in
> case. YMMV.
> The manual sync log run means that you just check if there are any outstanding
> entries left in <configdir>/sync/log (where <configdir> is typically
> /var/lib/imap) and if there are, you run the sync_client for that log file
> using mode -r. Like sync_client -r -f /var/lib/imap/sync/log. You see, when you
> shut down Cyrus at step 2, there might've been some new sync events generated
> by imapd/lmtpd/pop3d that the background-running sync_client didn't have time
> to handle before it was shut down.

Okay, thanks. I'll simulate a failover and try those steps.

> --Janne

Mit freundlichen Grüßen, / Best Regards,
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at | +43 (0)680 301 7167

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
Url : 

More information about the Info-cyrus mailing list