Re: Dovecot HA/Resilience

2020-01-13 Thread Kishore Potnuru
Hi Guys, Could you please provide your inputs on my below query On Fri, Jan 10, 2020 at 5:16 PM Kishore Potnuru wrote: > Thank you all for the replies > > I have the test environment with the same configuration. But I have been > asked to go with same environment for HA/Resilience in

Re: Dovecot HA/Resilience

2020-01-11 Thread Jean-Daniel
If you just want active/standby, you can simply use corosync/pacemaker as other already suggest and don’t use Director. I have a dovecot HA server that uses floating IP and pacemaker to managed it, and it works quite well. The only real hard part is having a HA storage. You can simply use a

Re: Dovecot HA/Resilience

2020-01-10 Thread Adrian Minta
Yes, but it works for small systems if you set IP source address persistence on LB or even better, if you set priority to be Active/Standby. I couldn't find a good example with dovecot director and backend on the same server, so adding another two machines seems overkill for small setups. If

Re: Dovecot HA/Resilience

2020-01-10 Thread Aki Tuomi
Also you should probably use dovecot director to ensure same user sessions end up on same server, as it's not supported to access same user on different backends in this scenario. Aki > On 10/01/2020 19:49 Adrian Minta wrote: > > > > Hello, > > you need to "clone" the first server,

Re: Dovecot HA/Resilience

2020-01-10 Thread Adrian Minta
Hello, you need to "clone" the first server, change the ip address, mount the same maildir storage and use some mechanism to share the accounts database. Then you need to put a TCP load-balancer in front of the servers an you are good to go. This is the easiest solution if you already have

Re: Dovecot HA/Resilience

2020-01-10 Thread Kishore Potnuru
Thank you all for the replies I have the test environment with the same configuration. But I have been asked to go with same environment for HA/Resilience in Live. Yes, I have only one Live server. It is configured in "Maildir" format. The data stores on a Network / Shared Storage (But

Re: Dovecot HA/Resilience

2020-01-09 Thread Sami Ketola
> On 10 Jan 2020, at 9.20, Emmanuel Dreyfus wrote: > > On Fri, Jan 10, 2020 at 09:07:24AM +0200, Aki Tuomi wrote: >> Replication is not supported with mbox. Most features are not. > > It would be nice if the document about replication could tell > what setup works. First step in setting up

Re: Dovecot HA/Resilience

2020-01-09 Thread Emmanuel Dreyfus
On Fri, Jan 10, 2020 at 09:07:24AM +0200, Aki Tuomi wrote: > Replication is not supported with mbox. Most features are not. It would be nice if the document about replication could tell what setup works. -- Emmanuel Dreyfus m...@netbsd.org

Re: Dovecot HA/Resilience

2020-01-09 Thread Aki Tuomi
On 10.1.2020 9.00, Emmanuel Dreyfus wrote: > On Thu, Jan 09, 2020 at 06:51:36PM +0200, Aki Tuomi wrote: >> You can do it using replication, >> https://wiki.dovecot.org/Replication > Last time I tried, it did not work with mbox. Did that change? The > document does not tell about the format. >

Re: Dovecot HA/Resilience

2020-01-09 Thread Emmanuel Dreyfus
On Thu, Jan 09, 2020 at 06:51:36PM +0200, Aki Tuomi wrote: > You can do it using replication, > https://wiki.dovecot.org/Replication Last time I tried, it did not work with mbox. Did that change? The document does not tell about the format. -- Emmanuel Dreyfus m...@netbsd.org

RE: Dovecot HA/Resilience

2020-01-09 Thread Marc Roos
You have only one server? Or is this running on virtualized environment with shared storage etc? It is quite difficult giving advice with such little knowledge of the environment. I am trying to migrate a running server to a new one with different configuration and mailbox format for

RE: Dovecot HA/Resilience

2020-01-09 Thread Marc Roos
17:45 To: Aki Tuomi Cc: dovecot@dovecot.org Subject: Re: Dovecot HA/Resilience Thank you Aki for the reply. But I cannot disturb the version at present as it is a live server and thousands of emails will circulate every hour. Could you please suggest me how to create HA/resilience

Re: Dovecot HA/Resilience

2020-01-09 Thread Aki Tuomi
You can do it using replication, https://wiki.dovecot.org/Replication but since you have no staging/test environment, I would advice you to get one. Aki > On 09/01/2020 18:45 Kishore Potnuru wrote: > > > Thank you Aki for the reply.  > > But I cannot disturb the version at present as it is

Re: Dovecot HA/Resilience

2020-01-09 Thread Kishore Potnuru
Thank you Aki for the reply. But I cannot disturb the version at present as it is a live server and thousands of emails will circulate every hour. Could you please suggest me how to create HA/resilience for the existing environment. I have another server ready with the similar configuration.

Re: Dovecot HA/Resilience

2020-01-09 Thread Aki Tuomi
> On 09/01/2020 18:25 Kishore Potnuru wrote: > > > Hi Dovecot team,  > > I need help in configuring HA/resilence for my dovecot (POP3/IMAP) server. > > I have one RHEL Linux POP3/IMAP server with Dovecot version 2.2.10. I also > installed the postfix(version: 2.6.6) in it. At present it