Re: real-time mirroring
"Gerard Meijer" <[email protected]> Mon, 14 Feb 2005 11:01:00 +0100
| Newsgroups | gmane.os.freebsd.newbies |
|---|---|
| Message-ID | <042801c5127c$1627a9f0$9600000a@guus> |
Hi Remi, Does that mean that you have to run that command every time you update something? Thanks! ----- Original Message ----- From: "Remi Sandevoir" <[email protected]> To: <[email protected]> Sent: Monday, February 14, 2005 10:46 AM Subject: Re: real-time mirroring On Mon, 14 Feb 2005 10:15:14 +0100, Gerard Meijer <[email protected]> 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. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "[email protected]"