thedukeness wrote: kiran wrote:
==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6.4 x86_64
- Related log if you're reporting an issue:
I need help to create iRedmail Cluster (HA) in Active / Passive environment.
I have two iRedmail Servers with iRedMail Version 0.8.4 with two different linux distribution version first one is CentOs 5.4 x86_64 and second one is CentOS 6.4 x86_64
Please provide me step by step instructions to create Cluster.
I am going to use these servers for bulk mail purpose and i have proper reverse DNS and DKIM , SPF records if any mail going from this server mail should be delivered to INBOX only on HOTMAIL,YAHOO,GMAIL etc ......
If any one already had this setup please help me.
You can't cluster with two different version of OS, it has to be the exact same. Its best to make a working server, clone it and then add the clustering. Clustering is way to big an issue to describe in a post but you can start here:
if your using VMs just create 2 identical ired servers and run master-master mysql replication.
I say identical because upon a new install, new DB passwords and confs are made, if you ever needed to recover a dead master you would have to manually change all the DB passwords in the confs...not good and a big pain if your in a jam.
Add a 3rd node for a common nfs shared storage mount and you're done.
This way your active-active, obviously you'll need a load balancer Infront of these servers to distribute the and route the traffic.
Ideally, you should run active-passive failover load balancers, active-active ired servers and a fast glusterfs/drdb/zfs active-active storage...
FYI glusterfs is AWFUL for email file performance, even with using smb/nfs.