From owner-freebsd-newbies@FreeBSD.ORG Mon Feb 14 10:00:27 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 E0A4116A4CE for ; Mon, 14 Feb 2005 10:00:27 +0000 (GMT) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E19343D53 for ; Mon, 14 Feb 2005 10:00:27 +0000 (GMT) (envelope-from gmeijer@palmweb.nl) Received: from guus (simoon.xs4all.nl [213.84.111.205]) by smtp-vbr14.xs4all.nl (8.12.11/8.12.11) with SMTP id j1EA0PZY036012; Mon, 14 Feb 2005 11:00:25 +0100 (CET) (envelope-from gmeijer@palmweb.nl) Message-ID: <042801c5127c$1627a9f0$9600000a@guus> From: "Gerard Meijer" To: "Remi Sandevoir" , References: <03d201c51275$b17537d0$9600000a@guus> <5d54325505021401457171c1d8@mail.gmail.com> <5d54325505021401463a1e47d7@mail.gmail.com> Date: Mon, 14 Feb 2005 11:01:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: real-time mirroring X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 10:00:28 -0000 Hi Remi, Does that mean that you have to run that command every time you update something? Thanks! ----- Original Message ----- From: "Remi Sandevoir" To: Sent: Monday, February 14, 2005 10:46 AM Subject: Re: real-time mirroring On Mon, 14 Feb 2005 10:15:14 +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? 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=/change/`date +%Y-%m-%d_%Hh%Mm` -av /var/web/www/production/ rsyncman@geronimo:/www/ > /tmp/result Rémi. _______________________________________________ freebsd-newbies@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"