From owner-freebsd-stable@FreeBSD.ORG Mon Apr 5 20:08:27 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AAA9106566C for ; Mon, 5 Apr 2010 20:08:27 +0000 (UTC) (envelope-from tonix@interazioni.it) Received: from mx02.interazioni.net (mx02.interazioni.net [80.94.114.204]) by mx1.freebsd.org (Postfix) with ESMTP id E9E298FC1E for ; Mon, 5 Apr 2010 20:08:26 +0000 (UTC) Received: (qmail 52652 invoked by uid 88); 5 Apr 2010 20:08:25 -0000 Received: from unknown (HELO ?192.168.0.102?) (tonix@interazioni.it@94.164.190.76) by relay.interazioni.net with ESMTPA; 5 Apr 2010 20:08:23 -0000 Message-ID: <4BBA4334.1020506@interazioni.it> Date: Mon, 05 Apr 2010 22:08:20 +0200 From: "Tonix (Antonio Nati)" User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Maciej Jan Broniarz , freebsd-stable@freebsd.org References: <1209800810.33861270466947931.JavaMail.root@dagobah.intersec.pl> <4BBA05A2.40706@intertainservices.com> <4BBA1823.1090305@gausus.net> In-Reply-To: <4BBA1823.1090305@gausus.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: fault tolerant web servers on freebsd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 20:08:27 -0000 Maciej Jan Broniarz ha scritto: > W dniu 10-04-05 17:45, Mike Jakubik pisze: >> You may want to check out carp(4). >> >> http://www.freebsd.org/cgi/man.cgi?query=carp >> > > Thanks. Carp is fine, but I still have to figure out how to > synchronize data on disks or in the database. Usign just carp would > leave me with two separate databases containing only parts of users > input. Is there a soulution similar to drbd+heartbeat on Linux? > Geom_gate looks nice, but I have no idea if it has been used in a > production enviroment. Just to use exact words, fault toulerancy is not possible with any FreeBSD/Linux O.S. F.T. means outage can occur in every moment, but all current operation will be always completed by other equipments; so there will not be interrupted/lost operations. The most you can have is HA (High Availability), that means operations currently executed on servers which have outage are interrupted, but new operations will be completed as they will be executed on other equipments. Carp is fine for HA is you have always both db and file storage always available. For DB you can use MySQL replica, cross-replicating local MySQL data among all servers. Each server will keep its own copy, always up to date with other servers. This will make all DB data always available, except data recorded in the last milliseconds. About file storage, you must have an external reliable NFS server. Tonino > All best, > mjb > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------