Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 7AB3E2E0057 for ; Wed, 30 Apr 2008 17:45:09 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 79543-06 for ; Wed, 30 Apr 2008 17:44:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from bifrost.lang.hm (mail.lang.hm [64.81.33.126]) by developer.postgresql.org (Postfix) with ESMTP id 6D2252E0050 for ; Wed, 30 Apr 2008 17:44:56 -0300 (ADT) Received: from asgard.lang.hm (asgard.lang.hm [10.0.0.100]) by bifrost.lang.hm (8.13.4/8.13.4/Debian-3) with ESMTP id m3UKii8I027294; Wed, 30 Apr 2008 13:44:44 -0700 Date: Wed, 30 Apr 2008 13:47:00 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard To: Gernot Schwed cc: pgsql-performance@postgresql.org Subject: Re: Postgres replication In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.691 tagged_above=0 required=5 tests=AWL=-1.208, FS_REPLICA=1.179, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 200804/472 X-Sequence-Number: 29965 On Wed, 30 Apr 2008, Gernot Schwed wrote: > Hi all, > > looking for a HA master/master or master/slave replication solution. Our > setup consists of two databases and we want to use them both for queries. > > > Aside from pgpool II there seems no advisable replication solution. But > the problem seems to be that we will have a single point of failure with > pgpool. slony also has the disadvantage not to cover a real failover > solution. Are there any other manageable and well tested tools/setups for > our scenario? I'm about to setup a similar config and what I was intending to do is to run pgpool on both boxes and use heartbeat (from http://linux-ha.org ) to move an IP address from one box to the other. clients connect to this virtual IP and then pgpool will distribute the connections to both systems from there. David Lang