On 08/11/2012 01:18 PM, Stan Hoeppner wrote:
On 8/11/2012 11:52 AM, Daniel Parthey wrote:
Nikolaos Milas wrote:
On 10/8/2012 4:47 πμ, Stan Hoeppner wrote:
That begs the question, what is your definition of a "Highly Available Mail Server"? What is it that you actually want to accomplish? In some detail please.
- Under normal conditions, mail2.example.com is a full mirror of mail1.example.com; when any mail message is added/viewed/moved/removed etc. to any user's folder or any folder is added/viewed/moved/removed etc. at mail1.example.com, we want it to be automatically and directly (in real time) added/viewed/moved/removed etc. to mail2.example.com too. In other words, we need continuous, real-time sync.
Can I do this and how? You might have a look at DRBD (distributed replicated block device) which provides a high available block device with fully synchronous mirroring:
http://www.drbd.org/home/mirroring
Dovecot can then simply work with the filesystem residing on the highly avilable DRBD volume. But to be clear, for a true HA setup with full active/active nodes, this must be a cluster filesystem (GFS2/OCFS2).
A good solution for kvm + drbd is this:
http://pve.proxmox.com/wiki/Two-Node_High_Availability_Cluster