X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id DF7E0D1C9C3 for ; Tue, 29 Jul 2003 20:25:09 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 96482-02 for ; Tue, 29 Jul 2003 17:24:11 -0300 (ADT) Received: from trade-india.com (ns5.trade-india.com [66.234.10.13]) by svr1.postgresql.org (Postfix) with SMTP id A04EFD1C9C0 for ; Tue, 29 Jul 2003 17:25:02 -0300 (ADT) Received: (qmail 1695 invoked by uid 0); 29 Jul 2003 20:24:29 -0000 Received: from mallah@trade-india.com by ns5.trade-india.com by uid 502 with qmail-scanner-1.15 (uvscan: v4.1.60/v4171. Clear:. Processed in 4.862272 secs); 29 Jul 2003 20:24:29 -0000 Received: from unknown (HELO trade-india.com) (203.145.130.142) by ns5.trade-india.com with SMTP; 29 Jul 2003 20:24:23 -0000 Message-ID: <3F26D81C.7010701@trade-india.com> Date: Wed, 30 Jul 2003 01:55:00 +0530 From: Rajesh Kumar Mallah User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ragnar_Kj=F8rstad?= Cc: Renney Thomas , pgsql-admin@postgresql.org Subject: Re: Replication/Failover/HA solution References: <3F1C6503.9080205@cris.com> <20030729151611.GB21461@vestdata.no> In-Reply-To: <20030729151611.GB21461@vestdata.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/300 X-Sequence-Number: 9640 Ragnar Kjørstad wrote: >On Mon, Jul 21, 2003 at 06:11:15PM -0400, Renney Thomas wrote: > > >>I am having a hard time selecting a Replication/Failover/HA solution for >>PGSQL. What is troubling is the number of solutions available in various >>states of development. Does the fact that dbmirror and rserv appear in >>the contrib directory, mean that they should be looked upon with more >>legitimacy? Any suggestions? >> >> > >One possibility is to run postgresql (regular postgresql - no patches >required) controlled by heartbeat (http://www.linux-ha.org/) on two >nodes. Heartbeat will then make sure that only one of the nodes are >active at any time. > >You will have to put the databases on shared storage; either something >like a shared SCSI RAID, or a software replication device like drdb or >md+nbd. > I think it has been pointed out many times in the list the running postgresql on a shared storage is dangerous. Regds Mallah. > >Make sure you have proper fencing in place, so you don't end up in a >situation where both nodes are active and modifying your database. > >You should probably subscribe to the linux-ha mailinglist if you want to >take this approach. > > > > >