how to start a replication master-master correctly
Hi all, I currently have one dovecot 2.2.15 working and I would like to add a second master server. If I configure the second server and enable the dsync in both servers, the sync will copy everything from A to B ? I mean, B server won't remove messages in A as it doesn't have anything in its users mailbox?
The second master server will be a cold server just for contingency.
Thanks
That is :-)
But for dsync to work correctly in 2.2.15, You have to enable empty password for connection from your servers, this is strange ... and this wasn't need in previous version (at least 2.2.12)
For example, (and correct me if I'm wrong or if I can disable empty password), add a passdb source :
passdb { driver = static args = nopassword=y allow_nets=127.0.0.1/32,local,IP_OF_SERVER_A,IP_OF_SERVER_B }
Regards, MARIADASSOU Romain
Le 28/11/2014 19:37, Eduardo Casarero a écrit :
Hi all, I currently have one dovecot 2.2.15 working and I would like to add a second master server. If I configure the second server and enable the dsync in both servers, the sync will copy everything from A to B ? I mean, B server won't remove messages in A as it doesn't have anything in its users mailbox?
The second master server will be a cold server just for contingency.
Thanks
That is :-)
But for dsync to work correctly in 2.2.15, You have to enable empty password for connection from your servers, this is strange ... and this wasn't need in previous version (at least 2.2.12)
For example, (and correct me if I'm wrong or if I can disable empty password), add a passdb source :
passdb { driver = static args = nopassword=y allow_nets=127.0.0.1/32,local,IP_OF_SERVER_A,IP_OF_SERVER_B }
Regards, MARIADASSOU Romain
Thanks
Well, it's ok in 2.2.9 for dsync password. Eduardo, if you have debian-based system I suggest you install dovecot from apt
Regards,
CHUNKZ.NET - casual fiddler and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
participants (3)
-
Bertrand Caplet
-
Eduardo Casarero
-
romain