Date: Mon, 5 Apr 2010 16:32:43 -0500 From: Adam Vande More <amvandemore@gmail.com> To: Maciej Jan Broniarz <gausus@gausus.net> Cc: freebsd-stable@freebsd.org Subject: Re: fault tolerant web servers on freebsd Message-ID: <g2o6201873e1004051432zdcc2ac50oc7fc35c0fe40cc15@mail.gmail.com> In-Reply-To: <4BBA51B9.6010803@gausus.net> References: <1209800810.33861270466947931.JavaMail.root@dagobah.intersec.pl> <4BBA05A2.40706@intertainservices.com> <4BBA1823.1090305@gausus.net> <4BBA4334.1020506@interazioni.it> <4BBA4478.7030302@gausus.net> <20100405164306.hmy4n8pvs4goc8ks@www.goldsword.com> <4BBA51B9.6010803@gausus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 5, 2010 at 4:10 PM, Maciej Jan Broniarz <gausus@gausus.net>wrote: > > Let's say i need to run a few php/sql based web sites and I would like to > maintain uptime of about 99,99% per month. No matter how good the hardware - > it will always fail at some time. My goal is to build a system, that can > maintain that uptime. > > From what You say I need some level of HA system, to maintain the required > uptime. > > So, as I've said earlier (correct me, if I'm wrong) - the setup could look > something like that: > > - 2 web servers with carp > - 2 storage servers with on-line sync mechanism running > - 2 mysql servers with on-line database replication > > (i'm skiping power and network issues at the moment). > > Few people have told me about a setup with linux, drbd and heartbeat which > offers them some level of HA. Has anyone tried anything similar on FreeBSD? > Each HA implementation is different, you still really haven't provided enough details eg are servers running off same switch, or are you going to have latency issues(DRBD and ggate both dislike latency). DB replication doesn't necessarily need to be done via block level replication. Generally speaking, you'll make your storage backend HA first, then build other services off that like iscsi or nfs. There is no single answer to this because there are so many needs and ways to address them. and yes, sysutils/heartbeat works with *BSD and they are in use. There are also other options like http://lethargy.org/~jesus/writes/postgresql-warm-standby-on-zfs-crack -- Adam Vande More
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g2o6201873e1004051432zdcc2ac50oc7fc35c0fe40cc15>