From owner-freebsd-questions@FreeBSD.ORG Mon Feb 14 09:49:47 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1196116A4CE for ; Mon, 14 Feb 2005 09:49:47 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A8A43D49 for ; Mon, 14 Feb 2005 09:49:45 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from localhost.circlesquared.com (localhost.circlesquared.com [127.0.0.1])j1E9nq1A083559; Mon, 14 Feb 2005 09:49:54 GMT (envelope-from peter@circlesquared.com) From: Peter Risdon To: Gerard Meijer In-Reply-To: <03f501c51276$bf4f18c0$9600000a@guus> References: <03f501c51276$bf4f18c0$9600000a@guus> Content-Type: text/plain Date: Mon, 14 Feb 2005 09:49:52 +0000 Message-Id: <1108374592.23699.200.camel@lorna.circlesquared.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: "freebsd-questions@freebsd.org" Subject: Re: live mirroring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 09:49:47 -0000 On Mon, 2005-02-14 at 10:22 +0100, Gerard Meijer wrote: > Hi all, > > I have a question. I want to set-up a site on 3 identical FreeBSD servers, using Round Robin to distribute the load. > > The site will be running some .cgi and .php scripts and when those scripts make changes to the configuration files of the sites, they need to be spread automatically to the other two servers. Also when files are uploaded to one server, I need them to automatically upload to the other servers to. > > What is the best program to do this? Or am I looking at it the wrong way and should I do it different? Mirroring is one approach, but here's another: One of the servers holds the data and nfs exports it to the other two. The webroot is on the mounted nfs filesystem. This also eliminates potential data synchronisation problems if you have different filesystems having overlapping/incompatible changes made to them. It lets you invest in one really resilient storage system instead of three possibly inferior ones. Peter.