From owner-freebsd-newbies@FreeBSD.ORG Mon Feb 14 09:46:16 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16FB016A4CE for ; Mon, 14 Feb 2005 09:46:16 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D6A443D46 for ; Mon, 14 Feb 2005 09:46:15 +0000 (GMT) (envelope-from remi.sandevoir@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so530691wri for ; Mon, 14 Feb 2005 01:46:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=D2+eBV6K/45DeLC+yjhm+entW99SCBXepyuJ7jl1FMCjJRsRTjnlZ2E4bQaMtu7swv0LbjA2SxMc2yiT4Jf6M6PMUQrWILL0VeKT+4JjhARPvrq2xF8XKha7xFUQ7AkFLivMebZiQu7DVTAi19GUIYUcZdrtNYL9HPEFyaL6rh8= Received: by 10.54.19.29 with SMTP id 29mr33752wrs; Mon, 14 Feb 2005 01:46:14 -0800 (PST) Received: by 10.54.20.60 with HTTP; Mon, 14 Feb 2005 01:46:14 -0800 (PST) Message-ID: <5d54325505021401463a1e47d7@mail.gmail.com> Date: Mon, 14 Feb 2005 09:46:14 +0000 From: Remi Sandevoir To: freebsd-newbies@freebsd.org In-Reply-To: <5d54325505021401457171c1d8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <03d201c51275$b17537d0$9600000a@guus> <5d54325505021401457171c1d8@mail.gmail.com> Subject: Re: real-time mirroring X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Remi Sandevoir List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 09:46:16 -0000 On Mon, 14 Feb 2005 10:15:14 +0100, Gerard Meijer wrot= e: > 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 script= s make changes to the configuration files of the sites, they need to be spr= ead 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? I have the same system with 2 web servers and i use rsync over ssh. I like it because you can backup the modification into a specific dir. An example that i use : /usr/local/bin/rsync --delete-after --backup --backup-dir=3D/change/`date +%Y-%m-%d_%Hh%Mm` -av /var/web/www/production/ rsyncman@geronimo:/www/ > /tmp/result R=E9mi.