Re: [Dovecot] dsync replication questions

2014-04-07 Thread Teemu Huovila
On 04/07/2014 12:22 PM, Simon Fraser wrote: > Thank you. Is it still only the changes that are synced each way, or > the entire mailbox? I'm trying to gauge the performance hit for enabling > this on larger mailboxes. (I could, of course, run some tests, but > someone may already have done that) C

Re: [Dovecot] dsync replication questions

2014-04-07 Thread Simon Fraser
On Fri, 2014-04-04 at 15:41 +0300, Teemu Huovila wrote: > Hi > > On 04/04/2014 03:38 PM, Simon Fraser wrote: > > It does help, thank you. Do you also know what the '-f' option does? > According to the dsync-man page it: > > Makes dsync run in "full sync" mode rather than "fast sync" mode. In fas

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Teemu Huovila
Hi On 04/04/2014 03:38 PM, Simon Fraser wrote: > It does help, thank you. Do you also know what the '-f' option does? According to the dsync-man page it: Makes dsync run in "full sync" mode rather than "fast sync" mode. In fast sync mode dsync might skip syncing a mailbox, if both locations had

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Simon Fraser
On Fri, 2014-04-04 at 15:34 +0300, Teemu Huovila wrote: > -d Use a default location for the replica. As far as I can tell this is > obtained from userdb variable mail_replica. > -N Sync all (visible?) namespaces (only makes sense when syncing with a > remote host, with potentially different name

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Teemu Huovila
On 04/04/2014 12:42 PM, Nikolaos Milas wrote: > Anyone please? > > How can we determine whether we need to configure > "replication_dsync_parameters = -d -N -l 30 -U" as indicated on the wiki2 (or > some variation thereof) or not? I am definitely not Timo, but I will try a short answer based on

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Nikolaos Milas
On 4/4/2014 1:17 μμ, Alan McGinlay wrote: It does appear to be completely undocumented, We would appreciate if Timo can kindly provide us with -at least- some details! I tried looking in the source code but just ended up going in circles (i'm not familiar with it at all). I faced the sa

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Alan McGinlay
On 2014-04-04 11:42, Nikolaos Milas wrote: On 31/3/2014 12:03 μμ, Simon Fraser wrote: On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: >Question 2a: What do options "-d -N -l 30 -U" signify in >"replication_dsync_parameters = -d -N -l 30 -U"? I'd also be interested to know the answer to

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Nikolaos Milas
On 31/3/2014 12:03 μμ, Simon Fraser wrote: On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: >Question 2a: What do options "-d -N -l 30 -U" signify in >"replication_dsync_parameters = -d -N -l 30 -U"? I'd also be interested to know the answer to this part. I found mention of the '-f' o

Re: [Dovecot] dsync replication questions

2014-03-31 Thread Simon Fraser
On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: > Question 2a: What do options "-d -N -l 30 -U" signify in > "replication_dsync_parameters = -d -N -l 30 -U"? I'd also be interested to know the answer to this part. I found mention of the '-f' option, and adding '-f' to that list appears

Re: [Dovecot] dsync replication questions

2014-03-29 Thread Nikolaos Milas
On 28/3/2014 10:40 μμ, Nikolaos Milas wrote: When I started the server (vmail.example.com), mirroring started and completed fine (after a few hours). However, since then, I am not seeing a continued mirroring between the two. I would expect changes to one of the masters to be propagated in r

Re: [Dovecot] dsync replication questions

2014-03-28 Thread Nikolaos Milas
On 28/3/2014 11:58 πμ, Nikolaos Milas wrote: When I started the server (vmail.example.com), mirroring started and completed fine (after a few hours). However, since then, I am not seeing a continued mirroring between the two. I would expect changes to one of the masters to be propagated in r

[Dovecot] dsync replication questions

2014-03-28 Thread Nikolaos Milas
I am running two servers with Dovecot v2.2.12 on CentOS x86_64 (5.10 and 6.5 respectively) and users are virtual over ldap. I have setup our main internal server (vmail.example.com) with dsync replication according to the first part of http://wiki2.dovecot.org/Replication. The second one (vma