From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EbJ4P-0002Ka-2a for garchives@archives.gentoo.org; Sun, 13 Nov 2005 14:43:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jADEg8QU013713; Sun, 13 Nov 2005 14:42:08 GMT Received: from medousa.rus.uni-stuttgart.de (medousa.rus.uni-stuttgart.de [129.69.2.58]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jADEcNTo020509 for ; Sun, 13 Nov 2005 14:38:24 GMT Received: from localhost (localhost [127.0.0.1]) by medousa.rus.uni-stuttgart.de (Postfix) with ESMTP id F13A520C55D for ; Sun, 13 Nov 2005 15:38:23 +0100 (CET) Received: from medousa.rus.uni-stuttgart.de ([127.0.0.1]) by localhost (medousa [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29235-01-65 for ; Sun, 13 Nov 2005 15:38:21 +0100 (CET) Received: from uni-stuttgart.de (mbox.rus.uni-stuttgart.de [129.69.1.9]) by medousa.rus.uni-stuttgart.de (Postfix) with ESMTP id DF3D320C2D0 for ; Sun, 13 Nov 2005 15:38:21 +0100 (CET) X-Virus-Scanned: by mbox.uni-stuttgart.de Received: from [129.69.11.97] (account ruslucas@po2.uni-stuttgart.de HELO mx2.rus.uni-stuttgart.de) by uni-stuttgart.de (CommuniGate Pro SMTP 4.2.8) with ESMTP-TLS id 29531214 for gentoo-user@lists.gentoo.org; Sun, 13 Nov 2005 15:38:21 +0100 Date: Sun, 13 Nov 2005 15:38:20 +0100 (CET) From: Sascha Lucas To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Server Mirroring... In-Reply-To: <02E97941F0AF594D9CF56EE628E3BE1F1348C5@vodka.office.red-herring.net> Message-ID: References: <02E97941F0AF594D9CF56EE628E3BE1F1348C5@vodka.office.red-herring.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at medousa.rus.uni-stuttgart.de X-Spam-Status: No, hits=-4.399 tagged_above=-999 required=5 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: X-Archives-Salt: c0c18677-00ee-4ca0-9afb-256a71e352b3 X-Archives-Hash: 9978b0e75b3516e545a2fe324c5ada9f Hi Mal, > I run a Apache2 webserver and Postfix as per the virtual mailhost > guide... > > For resilience I would like to have two gentoo boxes doing these tasks > for load balancing / redundancy - how can this be achieved? Is there a > tool that will allow replication of the config files / mysql stuff to > allow the boxes to basically be a cluster ? Thats not so easy to answer. Different solutions exists, each with pros and cons. It also depends heavily on the professional grad your solution should be. You can solve this at different Levels: Hardware, OS, application. Hardware is expensive. OS far from perfect (i.e. openssi, openmosix). Applications must be cluster aware, moast aren't. Do you mean http://www.gentoo.org/doc/en/virt-mail-howto.xml? If so you have to manage a bunch of apps: postfix, mysql, cyrus, apache. Just some keywords: easy with postfix: DNS round robin (solution inside DNS Server, nearly all MTAs are aware of this) mysql: not "multi master" ready, just redundancy "master->slave", try postgres apache: behaves in sens of "read only" -> LVS cyrus: moast difficult part (shared storage/CFS,???) -> NAS|SAN+CFS+LVS+?dono? Cluster/HA is a complex area. Perhaps you want a simple not so perfect solotion? Try periodicaly rsynced standby with manual switch over. Sascha. -- gentoo-user@gentoo.org mailing list