From owner-freebsd-isp Wed Feb 21 16: 3:25 2001 Delivered-To: freebsd-isp@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id EBD0C37B491 for ; Wed, 21 Feb 2001 16:03:18 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f1M03H783990 for freebsd-isp@FreeBSD.ORG.AVP; Thu, 22 Feb 2001 01:03:17 +0100 (CET) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f1M03Gm83984 for freebsd-isp@FreeBSD.ORG; Thu, 22 Feb 2001 01:03:16 +0100 (CET) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.0.14]) by arnold.neland.dk (8.11.1/8.11.0) with SMTP id f1M037x83426 for ; Thu, 22 Feb 2001 01:03:08 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <00e201c09c62$fbd45aa0$0e00a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: Subject: Mirrorred webservers: Updating, logging. Date: Thu, 22 Feb 2001 01:04:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by ns.internet.dk id f1M03Gm83984 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org We're thinking about mirroring our webservers for redundancy. There exist different solutions, however, I have not seen any mentioning on how to update the sites; the customers shouldn't have to update two sites; it should work transparently. Another thing is logging. How do I produce a statistic with eg webalyzer when two or more servers are producing their own logfile? For updating, I think I should assign one server in the cluster the role as master, and restrict the users to only be able to update that server, be it by frontpage, ftp or whatever. Would running rdist or something like that on several GB's of webpages be possible? Or should a daemon watch ftp-logs, and trigger the replication on only changed virtual servers? I'm not sure Frontpage creates a logfile which could be used. Having the customer pressing a button on a cgi to start replicating would be forgotten too often, I think. Regarding logging, I think we should have a separate statistic-server. Each server would generate its own logfile, and once every night transfer the logfile to the stat-server. The statserver would then merge the logfiles from all the mirrors, and feed the combined file to webalizer. Webalizer doesn't like the time in the logfile to go backwards, so the logfiles need to be combined in time-order; they can't be processed sequentially. Comments, please... Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message