From owner-freebsd-questions Sat Jul 13 13:22:18 2002 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 051F137B400 for ; Sat, 13 Jul 2002 13:22:16 -0700 (PDT) Received: from mail.ipsnetwork.net (mail.ipsnetwork.net [209.202.83.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F74143E65 for ; Sat, 13 Jul 2002 13:22:15 -0700 (PDT) (envelope-from ) Received: (from apache@localhost) by mail.ipsnetwork.net (8.11.1/8.11.1) id g6DKN0A23446; Sat, 13 Jul 2002 16:23:00 -0400 (EDT) Date: Sat, 13 Jul 2002 16:23:00 -0400 (EDT) Message-Id: <200207132023.g6DKN0A23446@mail.ipsnetwork.net> From: "Nathan Vidican" <> To: questions@freebsd.org Reply-To: nathan@vidican.com Subject: Idea: using CVSUP to mirror websites accross multiple servers... opinions? X-Mailer: NeoMail 1.24 X-IPAddress: 209.202.83.120 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was just thinking of a way to effectively mirror content accross multiple webservers in a load-sharing environment. The webservers are accessed through a single caching machine running in http-acceleration mode. Some sites must run mod_perl and access MySQL databases; these servers do not serve any static content, but are called from the same urls as the static content is, (using re-directs on the cachine machine based on the filename called for eg *.pl). The images, and static pages however must be serviced from any one of many possible webservers, thus creating a redundant environment which can easily adapt to load balance. The problem now of course being the replication of the data held on the multiple servers. I was figuring on keeping a single FTP server for the master copy and then replicating the data accross multiple machines. I'd rather copy than use NFS; so there would not be a single point of failure, (eg: a drive on the ftp server croakes). I was thinking of using rsync; but from the way I understand it rsync just re-downloads the entire tree? Could I not use CVSUP to accomplish the replication of the data? As-in un a CVS server from the FTP server machine, and have the webservers sync the trees they need? Any issues with using CVS and image files? Or binaries alltogether? Any ideas or suggestions for a better method for data replication and synchronization? -- Nathan Vidican Nathan@Vidican.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message