Re: dovecot proxy/director and high availability design

2015-07-21 Thread James Lott
Right.. I stand corrected On 07/21/2015 12:37 PM, Marcus Rueckert wrote: On Tue, 21 Jul 2015 12:00:39 -0700 James Lott wrote: I think RR DNS is the only viable solution under these circumstances. If you can cope with the fact that failovers won't be seamless, I don't think there's anything wr

Re: dovecot proxy/director and high availability design

2015-07-21 Thread Marcus Rueckert
On Tue, 21 Jul 2015 12:00:39 -0700 James Lott wrote: > I think RR DNS is the only viable solution under these circumstances. > If you can cope with the fact that failovers won't be seamless, I > don't think there's anything wrong with that though. > > On 07/21/2015 11:54 AM, Laz C. Peterson wrot

Re: dovecot proxy/director and high availability design

2015-07-21 Thread Chad M Stewart
On 2015-07-21 02:54 PM, Laz C. Peterson wrote: The consensus seems to say no to RR DNS … I am going to take that into serious consideration. With this proxy setup you describe, what would happen if HAProxy or Dovecot Proxy were to fail? Multiple instances of each. I'll be using SmartOS as th

Re: dovecot proxy/director and high availability design

2015-07-21 Thread James Lott
I think RR DNS is the only viable solution under these circumstances. If you can cope with the fact that failovers won't be seamless, I don't think there's anything wrong with that though. On 07/21/2015 11:54 AM, Laz C. Peterson wrote: The consensus seems to say no to RR DNS … I am going to ta

Re: dovecot proxy/director and high availability design

2015-07-21 Thread Laz C. Peterson
The consensus seems to say no to RR DNS … I am going to take that into serious consideration. With this proxy setup you describe, what would happen if HAProxy or Dovecot Proxy were to fail? I think there is no problem with many moving parts, as long as there is a backup plan in case something

Re: dovecot proxy/director and high availability design

2015-07-20 Thread Chad M Stewart
Round-robin DNS last I checked can be fraught with issues. While doing something else I came up with this idea: Clients --> Load Balancer(HAProxy) --> Dovecot Proxy(DP) --> Dovecot Director(DD) --> MS1 / MS2. When DP checks say user100 it'll find a host=DD-POD1 that returns two IPs, those

Re: dovecot proxy/director and high availability design

2015-07-20 Thread Robert Schetterer
Am 20.07.2015 um 20:04 schrieb Laz C. Peterson: > I’m trying to do this too. But the goal would be simply for automatic > failover to the other datacenter. Everything is working if the server’s > unique hostname is entered, but I want to do something like round robin DNS > that mail clients wi

Re: dovecot proxy/director and high availability design

2015-07-20 Thread Laz C. Peterson
I’m trying to do this too. But the goal would be simply for automatic failover to the other datacenter. Everything is working if the server’s unique hostname is entered, but I want to do something like round robin DNS that mail clients will automatically attempt to connect to the other IP if t