pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dani Oderbolz <oderbolz@ecologic.de>
To: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
Cc: Renney Thomas <renney@cris.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Replication/Failover/HA solution
Date: Wed, 30 Jul 2003 13:10:06 +0200
Message-ID: <3F27A78E.1010305@ecologic.de> (raw)
In-Reply-To: <20030729151611.GB21461@vestdata.no>
References: <3F1C6503.9080205@cris.com>
	<20030729151611.GB21461@vestdata.no>

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.
>  
>
Another possibility (which I have not yet tested, but it was mentioned 
in many Magazine Articles
(Linux Magazine, the German iX) is DRBD.
This Tool creates a RAID which is Shared betwenn 2 Nodes.
One Node is the Master and the Other is the Slave (and failover Node).
The Master writes data locally and sends the data over to the slave.
There are 3 Modes of Operation, A with highest Troughput but least 
trust, B with Medium Troughput,
but Acceptable trust, and C with lowest (but still ok) troughput and 
highest trust.

Just check it out here:

http://www.complang.tuwien.ac.at/reisner/drbd/

Regards,
Dani




view thread (15+ messages)  latest in thread

Message-ID: <3F27A78E.1010305@ecologic.de>
Permalink:  ../3F27A78E.1010305@ecologic.de/
Also on:    postgresql.org/message-id/3F27A78E.1010305@ecologic.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oderbolz@ecologic.de, postgres@ragnark.vestdata.no, renney@cris.com
  Subject: Re: Replication/Failover/HA solution
  In-Reply-To: <3F27A78E.1010305@ecologic.de>
  References: <3F1C6503.9080205@cris.com> <20030729151611.GB21461@vestdata.no> <3F27A78E.1010305@ecologic.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox