Discussion:
switch master/slve replication
Antonio Conte
2018-06-27 03:26:37 UTC
Permalink
hi all,

I have to switch a master/replica in rolling replication.

How I can be sure the replication is totally done ? it's
enough to run

/usr/lib/cyrus/sync_client -v -A

from master ? and then, which operation I have to do ?

thanks in advance
--
Never try to teach a pig to sing.
It wastes your time and annoys the pig.
Bron Gondwana
2018-06-27 10:34:21 UTC
Permalink
Yep, that will be enough. The only thing it might not catch is if there
are users on the replica which aren't present on the master (for
whatever reason)... in that case, they will remain on the replica still.
Bron.
Post by Antonio Conte
hi all,
I have to switch a master/replica in rolling replication.
How I can be sure the replication is totally done ? it's
enough to run
/usr/lib/cyrus/sync_client -v -A
from master ? and then, which operation I have to do ?
thanks in advance
--
Never try to teach a pig to sing.
It wastes your time and annoys the pig.
----
Cyrus Home Page: http://www.cyrusimap.org/
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Bron Gondwana, CEO, FastMail Pty Ltd
***@fastmailteam.com
Antonio Conte
2018-06-27 11:42:45 UTC
Permalink
Post by Bron Gondwana
Yep, that will be enough. The only thing it might not catch is if
there are users on the replica which aren't present on the master (for
whatever reason)... in that case, they will remain on the replica still.
ok I check, but I don't think I have other user on replica.

thanks a lot for reply

Antonio
--
Never try to teach a pig to sing.
It wastes your time and annoys the pig.
Loading...