[Dovecot] database failover
Nick Edwards
nick.z.edwards at gmail.com
Mon Dec 12 13:25:14 EET 2011
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
interface, as we use linux HA solution, so if the heartbeat fails it
ignores it, and other alerting will notify us eventually if it stays down,
not optimum I know, in fact darn right messy, but it'll suffice until
Dovecot offers such a solution.
On Sat, Dec 10, 2011 at 8:18 PM, Robert Schetterer <robert at schetterer.org>wrote:
> 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 upon as time, but it was only due to a dovecot
> > bug, that has since been fixed, is that so?
> > The wiki shows no information of failover, just load sharing, or is it an
> > undocumented feature, or can dovecot not do failover, if not, can it be
> > made so?
> >
> > Trying to cut down on network traffic, postfix does this nicely, I
> thought
> > dovecot did too.
> >
>
> as far i know recent dovecot cant do it
> youre right postfix does
>
> you can do a master-master setup i.e with mysql
> solving this
> works nice here, but might not be the best solution
> perhaps ldap, or other databases are better
> --
> Best Regards
>
> MfG Robert Schetterer
>
> Germany/Munich/Bavaria
>
More information about the dovecot
mailing list