From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 10:25:18 2005 Return-Path: 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 39EF916A4CE for ; Fri, 22 Apr 2005 10:25:18 +0000 (GMT) Received: from szerver.siodigit.hu (ns.siodigit.hu [194.143.225.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id C45C243D48 for ; Fri, 22 Apr 2005 10:25:15 +0000 (GMT) (envelope-from feczo@siodigit.hu) Received: from feczo.sdi.hu ([192.168.0.217]) by szerver.siodigit.hu with esmtp (Exim 4.50 (FreeBSD)) id 1DOvLT-000B1H-Ev for freebsd-questions@freebsd.org; Fri, 22 Apr 2005 12:25:11 +0200 From: Feczak Szabolcs To: freebsd-questions@freebsd.org In-Reply-To: <1113994179.19383.28.camel@localhost.localdomain> References: <20050419164003.518F716A507@hub.freebsd.org> <1113945712.81725.8.camel@zappa.Chelsea-Ct.Org> <1113994179.19383.28.camel@localhost.localdomain> Content-Type: text/plain Organization: =?ISO-8859-1?Q?Si=F3digit?= Kft. Date: Fri, 22 Apr 2005 12:29:10 +0200 Message-Id: <1114165750.22199.12.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Spam-Score: -5.9 (-----) X-Spam-Report: Spam detection software: the administrator of that system for details.done> On k, 2005-04-19 at 17:21 -0400, Paul Mather wrote: > > to what you describe using geom_gate for the remote component. See > > ggated(8) Note>theboth > execute the requested operation. > > Anyway one step further, my question is > How can I create a failover cluster with two machines > php, and postgresql. > > I read about CARP, but more experienced people advised me to use > DNS-LB since its more reliable with service type They made a point with > that to me. > > Im trying to syncronize the found describing master and slave on the > same machine. I got slony communicate between the two, but on updates > nothing happens on the access needed .. hm I will see > > If on failure the switching is done with DNS-LB and the SQL is in sync > Im nearly OK, but since I have file uploads on the webserver as well, > I need a shared volume which available to both of them and after > one is out the other still has ideas about what happens > when this ... and what happens whan that ... scenarios > > All I want is a higher availability with two machines than one > and without messing up the consistency of the data of course. > Im not after chasing nearly 100% ... the policy/expectation serving data (nearly there) where the other stopped. > > If anyone did Content analysis details: (-5.9 points, 5.0 required) pts rule name description -------------------------------------------------- -3.3 ALL_TRUSTED Did not pass through any untrusted hosts 1% [score: 0.0000] Subject: Re: Failover cluster for webserver with dynamic content ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 10:25:18 -0000 No answer for days ... does it mean it can not be done correctly ? On sze, 2005-04-20 at 12:49 +0200, Feczak Szabolcs wrote: > On k, 2005-04-19 at 17:21 -0400, Paul Mather wrote: > > to what you describe using geom_gate for the remote component. See > > ggated(8) and ggatec(8) for how to set up an use a geom_gate provider. > > > Note that the geom_mirror + geom_gate synchronisation would be one-way. > > Bad luck, I would like to have something that creates a layer over the > two volume of the machines, and when this higher layer accessed both > execute the requested operation. > > Anyway one step further, my question is > How can I create a failover cluster with two machines > for a freebsd webserver with dynamic content > runing apache with php, and postgresql. > > I read about CARP, but more experienced people advised me to use > DNS-LB since its more reliable with service type pings (HTTP GET) > than simple is the machine answers for TCP SYN. They made a point with > that to me. > > Im trying to syncronize the postgresql database with Slony, no luck > yet, all the examples I found describing master and slave on the > same machine. I got slony communicate between the two, but on updates > nothing happens on the slave. I access the master on unix socket, > maybe other type of access needed .. hm I will see > > If on failure the switching is done with DNS-LB and the SQL is in sync > Im nearly OK, but since I have file uploads on the webserver as well, > I need a shared volume which available to both of them and after > one is out the other still has access to the data. > > Maybe Im complettly wrong I have no clear ideas about what happens > when this ... and what happens whan that ... scenarios > > All I want is a higher availability with two machines than one > and without messing up the consistency of the data of course. > Im not after chasing nearly 100% ... the policy/expectation is > if one fails the other should automatically continue the > serving data (nearly there) where the other stopped. > > If anyone did something like that, and aware of some solution without > buying expensive HA hardware, please share us. > Hope this is possible at all. > >