X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 23998D1B4C2 for ; Wed, 10 Dec 2003 17:30:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 86861-02 for ; Wed, 10 Dec 2003 13:29:38 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 6A8C3D1B454 for ; Wed, 10 Dec 2003 13:29:38 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hBAHTbbI012823 for ; Wed, 10 Dec 2003 17:29:37 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hBAHPf9e012365 for pgsql-admin@postgresql.org; Wed, 10 Dec 2003 17:25:41 GMT From: William Yu X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Running Postgres Daemons with same data files Date: Wed, 10 Dec 2003 09:25:42 -0800 Organization: Hub.Org Networking Services Lines: 32 Message-ID: References: <1071030083.16487.55.camel@bharat> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <1071030083.16487.55.camel@bharat> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/136 X-Sequence-Number: 11644 Bhartendu Maheshwari wrote: > Dear Hal, Frank, Oli and all, > > I understand what you all trying to say, I know this is not good way of > designing, but we are planning for using the database for the keeping > mobile transactions and at the same time we need to provided the HA > solutions. The one solution i derive from the discussion that uses one > server and multiple clients but the issue in this if the system in which > database server was running get down the its all the way no use of HA > and load balancing, since without data the other one can't do anything. Here's an important question. What exactly is the thinking behind your load balancing and HA requirements? The reason I'm asking this question is because there's nuances to what high available means. As an example, you've got redundant servers but they're all in the same server room. A fire breaks out and kills everything. Not really HA IMO. Or you have redundant servers in different rooms/buildings hooked up to a NAS unit someplace else. A mover knocks the head off the ceiling fire extinguisher and floods the place (I've seen this happen) killing the NAS device. Again, not very HA. On the otherhand, if all your users are housed in same building as the servers where a fire kills the servers and also stops your users from doing any work, then it's not a problem. The situation my company is in is we have users all over the U.S. connecting to our app so to do HA, we needed to put duplicate servers thousands of miles away from each other. That way, an earthquake in SF or a terrorist attack in D.C. doesn't bring down our app. And since traffic was load balanced between both locations, we needed master-master replication which we had to code in at the app level.