On 1 Mar 2012, at 11:25, Stefan Schloesser wrote:

> My setup would involve 2 loadbalancer and 2 nodes. Are you saying that 
> running GlusterFs on both nodes using its replication feature is easier + 
> more reliable than DRBD + ocfs2 + pacemaker?

I can't compare reliability as I've never used DRBD, but gluster has worked 
fine for me for several years. Historically I've always found heartbeat etc 
very difficult to deal with, so I try to use it in as simple a way as possible, 
i.e. just managing a single IP.

> And you use the haproxy/stunnel to monitor availability of the nodes (apache) 
> ?

Yes, haproxy is pretty good at that and it works beautifully (and it has a nice 
status page too). My two nodes are set up identically with sysctl set to allow 
binding to non-local addresses so haproxy can be set to listen on the floating 
IP even when it's not on the local machine. stunnel is a very simple thing - 
it's just a pipe really. You could use pound instead (it has SSL integrated), 
but I prefer haproxy's config system. One key thing is that the servers don't 
have to DO anything at failover time - the software is all already up and 
running (and easily testable since it has its own IP), it just starts receiving 
traffic when it gets the floating IP. I happen to be running proxies and web 
servers on the same nodes, but you could split them up if you want - haproxy is 
extremely fast and uses almost no resources.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK info@hand CRM solutions
[email protected] | http://www.synchromedia.co.uk/



_______________________________________________
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