Date: Sat, 23 Apr 2005 11:37:40 +0200 From: Feczak Szabolcs <feczo@siodigit.hu> To: freebsd-hackers@freebsd.org Subject: Re: Failover cluster for webserver with dynamic content ? Message-ID: <1114249060.23167.9.camel@localhost.localdomain> In-Reply-To: <200504221811.49439.soralx@cydem.org> References: <1114193265.22867.3.camel@localhost.localdomain> <200504221811.49439.soralx@cydem.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On p, 2005-04-22 at 18:11 -0600, soralx@cydem.org wrote: > > Anyway one step further, my question is > > How can I create a failover cluster with two machines > > for a freebsd webserver with dynamic content > > runing apache with php, and postgresql. > > why can't you have 2 separate machines accessing one mirrored RAID? > can't this give you enough redundancy? I thought about this, but I have several fears with that. First of all which machine would serve the RAID ? If this machine fails, than even though I have the second machine no use of it, since it does not have access to the data anymore. Second: how do I sync the sql database ... even though they use the same filesystem, some caching happens and when one of them writes back earlier what happens when to the other one tries to fsync. Although I do not have deep understanding of the postgresql system I have a fear that this threatens the data consistency.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1114249060.23167.9.camel>