Re: [Dovecot] database failover

2011-12-12 Thread Jan-Frode Myklebust
On Mon, Dec 12, 2011 at 09:25:14PM +1000, Nick Edwards wrote: > Thanks, we considered options, ruled out master-master for security, and > since everything is with mysql (AAA) we decided not to introduce another > database type, But LDAP master-master is sooo nice :-) and once you have your users

Re: [Dovecot] database failover

2011-12-12 Thread Nick Edwards
Hello Timo, On Sat, Dec 10, 2011 at 8:26 PM, Timo Sirainen wrote: > On 10.12.2011, at 12.07, Nick Edwards wrote: > > > Trying to get dovecot to _only_ use local copy of database, only querying > > another database server (same database, just replicated) if local copy is > > not responding, I hav

Re: [Dovecot] database failover

2011-12-12 Thread Nick Edwards
Thanks, we considered options, ruled out master-master for security, and since everything is with mysql (AAA) we decided not to introduce another database type, we only use a few servers, so we might use a cron job every minute to test for db response and if fails drop interface, returns up interfa

Re: [Dovecot] database failover

2011-12-10 Thread Timo Sirainen
On 10.12.2011, at 12.07, Nick Edwards wrote: > Trying to get dovecot to _only_ use local copy of database, only querying > another database server (same database, just replicated) if local copy is > not responding, I have google fu'd a bit and found my only answer in so far > as dovecot did this o

Re: [Dovecot] database failover

2011-12-10 Thread Robert Schetterer
Am 10.12.2011 11:07, schrieb Nick Edwards: > Trying to get dovecot to _only_ use local copy of database, only querying > another database server (same database, just replicated) if local copy is > not responding, I have google fu'd a bit and found my only answer in so far > as dovecot did this once

[Dovecot] database failover

2011-12-10 Thread Nick Edwards
Trying to get dovecot to _only_ use local copy of database, only querying another database server (same database, just replicated) if local copy is not responding, I have google fu'd a bit and found my only answer in so far as dovecot did this once upon as time, but it was only due to a dovecot bug