From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MGW63-0000MG-1t for garchives@archives.gentoo.org; Tue, 16 Jun 2009 10:40:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AEB9E031E; Tue, 16 Jun 2009 10:40:53 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id 1F094E031E for ; Tue, 16 Jun 2009 10:40:52 +0000 (UTC) Received: (qmail invoked by alias); 16 Jun 2009 10:40:51 -0000 Received: from static-87-79-89-171.netcologne.de (EHLO symbox) [87.79.89.171] by mail.gmx.net (mp046) with SMTP; 16 Jun 2009 12:40:51 +0200 X-Authenticated: #3423037 X-Provags-ID: V01U2FsdGVkX1/NJKUTbojNUDlCW2bZcSfo5q2Sfj5uQ51GrWnE8u cYT6ycRkqWCoqk Date: Tue, 16 Jun 2009 12:40:46 +0200 From: Renat Golubchyk To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] [OT] RAID 1 over network Message-ID: <20090616124046.7e484352@symbox> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68 X-Archives-Salt: 38ea503b-533c-4e6e-b9bc-ca9ee117c791 X-Archives-Hash: 8dd70180390615794034624bd0e1e7a2 Hi all! Short: What is the best way to setup something similar to RAID 1 over a WAN? Background: Two LAMP servers are located in geographically different locations connected through a load balancer to the net: LAMP A--------LAMP B \ / \ / \ / \ / \ / \ / V load balancer LB | | WAN One purpose of the setup is to have data redundancy. Thus we have to ensure that the data is replicated in a timely manner. Replicating MySQL data is not difficult. The problem is the file system data like uploaded documents and pictures. We can monitor changes in the file system and initiate rsync to copy files over the network, but I think it's not a good solution. What we are after is a network equivalent of RAID 1. Are there any viable solutions that could work over a WAN? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein)