11 Jan
2010
11 Jan
'10
4:25 p.m.
Hi,
The idea was to have two identical (well, nearly identical) servers with the same software and data on them, and while the first do its job as SMTP and POP3/IMAP4 server, the second server just get copy of first's current state (that is, copy user db and mail spool). In case of something wrong with 1st server I'll just put its IP on second one and will go on.
Use Heartbeat and DRBD for replication - all mail is synched between the servers.
If first crashes, heartbeat runs "second" as new server for the users.
As dovecot on "second" is only started if "first" is down, there are no issues about inconsistencies.
best regards,
Anton