Hello.

We are currently using a Postfix master/master 2 node cluster,
load-balanced with ldirectord as a resource in Pacemaker/OpenAIS.

Seems very stable and works well so far. We use SLES11 HAE.

I've attached the config I use.

HTH.
Darren

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ciro Iriarte
Sent: 14 September 2009 17:30
To: General Linux-HA mailing list
Subject: [Linux-HA] eMail server cluster

Hi, i'm planning to build a postfix+cyrus Active/Active cluster and
would like to know if anybody has done something similar. My main
doubt is about using ClusterIP or a loadbalancer with LVS in front of
the two nodes. LVS would imply a third machine and i'm not sure how
the origin of the outgoing connections (IP address) is handled by
ClusterIP.

Any comments?.

-- 
Ciro Iriarte
http://cyruspy.wordpress.com
--
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
node OGG-MAIL-01
node OGG-MAIL-02
primitive Virtual-IP ocf:heartbeat:IPaddr2 \
        params lvs_support="true" ip="10.167.22.100" cidr_netmask="24" 
broadcast="10.167.22.255" \
        op monitor interval="1m" timeout="10s" \
        meta migration-threshold="10"
primitive ldirectord ocf:heartbeat:ldirectord \
        params configfile="/etc/ha.d/ldirectord.cf" \
        op monitor interval="2m" timeout="20s" \
        meta migration-threshold="10"
primitive Postfix ocf:heartbeat:postfix \
        op monitor interval="1m" timeout="10s" \
        meta migration-threshold="10"
primitive STONITH-1 stonith:external/ibmrsa-telnet \
        params ip_address="10.167.22.12" nodename="OGG-MAIL-01" 
password="PASSWORD" username="USERID"
primitive STONITH-2 stonith:external/ibmrsa-telnet \
        params ip_address="10.167.22.22" nodename="OGG-MAIL-02" 
password="PASSWORD" username="USERID"
group Load-Balancing Virtual-IP ldirectord
clone Posfix-Clone Postfix \
        meta target-role="Started"
location Prefer-Node1 ldirectord \
        rule $id="prefer-node1-rule" 100: #uname eq OGG-MAIL-01
location l-st-1 STONITH-1 -inf: OGG-MAIL-01
location l-st-2 STONITH-2 -inf: OGG-MAIL-02
property $id="cib-bootstrap-options" \
        dc-version="1.0.3-0080ec086ae9c20ad5c4c3562000c0ad68374f0a" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        start-failure-is-fatal="false" \
        stonith-action="reboot" \
        stonith-enabled="true" \
        last-lrm-refresh="1252926099"

Attachment: ifcfg-lo
Description: ifcfg-lo

Attachment: ldirectord.cf
Description: ldirectord.cf

Attachment: sysctl.conf
Description: sysctl.conf

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to