From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 18:15:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A56713C for ; Mon, 28 Apr 2014 18:15:18 +0000 (UTC) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D1F31E44 for ; Mon, 28 Apr 2014 18:15:18 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id rr13so6164312pbb.0 for ; Mon, 28 Apr 2014 11:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=fj+YddMi82y4USJkqmiz+Q46c8pfWlfLnkwuN+MDVus=; b=c5stQ04pTbIsyp+mJa4LSA5GsVWKlkdqNbCNgmYjmsNeYlNFCdP7/hF05eej8l+EBC Lap7JadAIl+PXOkmeEFyIFRdLbKxsyaa9LgBTpNOrrNUBqLZdwrMJhIyu4n2DWs4lNe+ wshYMxkZ0R2X2vvn1WdGrtjtL3WAKxu40VJ7/nkJRqmdN5ikt6st25tC6/vM7b9SxPip FOQut7Db8zcYp87ZL7LGTMpdrkH4W6dmlN6SvnFRbh81rvxNAvTxwWOOu2q1mRvST8zm 3aMjsZ2RbRyQWqTzgxNQT4fPHKfXhiHIzXRijOxDfAcw0Y7EVnWAMd8kXzeCoHStNrHq 8R+g== X-Received: by 10.66.177.168 with SMTP id cr8mr10207104pac.128.1398708917929; Mon, 28 Apr 2014 11:15:17 -0700 (PDT) Received: from [192.168.40.122] ([209.12.167.3]) by mx.google.com with ESMTPSA id nh8sm36482990pbc.25.2014.04.28.11.15.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 11:15:17 -0700 (PDT) Message-ID: <535E9AB2.9020507@gmail.com> Date: Mon, 28 Apr 2014 11:15:14 -0700 From: Jungle Boogie User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Arthur Chance , "edflecko ." , freebsd-questions@freebsd.org Subject: Re: Synchronized web sites on different FreeBSD servers? References: <535E7B6F.5040204@qeng-ho.org> In-Reply-To: <535E7B6F.5040204@qeng-ho.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 18:15:18 -0000 Hi edflecko, -------------------------------------------------------- From: Arthur Chance Sent: Mon, 28 Apr 2014 17:01:51 +0100 To: edflecko . , freebsd-questions@freebsd.org Subject: Re: Synchronized web sites on different FreeBSD servers? > On 28/04/2014 15:48, edflecko . wrote: >> Forgive me if this is more of an "Apache" question and not a FreeBSD >> question. >> >> I'd like to use two Soekris appliances to host a single web site for a >> small business using Apache in a jail. Each Soekris would be configured >> identically and the web site they host would be as well. >> >> I'd like to know what features FreeBSD has (or Apache, if you'd like to >> comment) to maintain synchronization between the two "servers" so if one of >> the Soekris fails...the other will continue to host the web site without >> service interruption. >> >> Finally, once the failed Soekris is brought back online, how would you >> "re-sync" the two? > > You might find this section on highly available storage from the Handbook > useful. HAST + CARP is a combination aimed at your sort of requirements. > > http://www.freebsd.org/doc/handbook/disks-hast.html http://bsdmag.org/magazine/1853-hast-on-freebsd-how-to-make-storage-highly-availble-by-using-hast http://bsdmag.org/magazine/1854-carp-on-freebsd-how-to-use-devd-to-take-action-on-kernel-events > > There's also a wiki page > > https://wiki.freebsd.org/HAST > > You'll need other people to help you with this though, I've never used it > myself, I only know it exists because I might have a future requirement for it. -- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si