pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: postgres in HA constellation
Date: Thu, 5 Oct 2006 14:41:54 -0400
Message-ID: <20061005184154.GE8826@phlogiston.dyndns.org> (raw)
In-Reply-To: <20061005042417.87F0FC027@ogo.rapideye.de>
References: <20061005042417.87F0FC027@ogo.rapideye.de>

On Thu, Oct 05, 2006 at 04:24:17AM -0000, Sebastian Reitenbach wrote:
> 
> I just have one data center, no remote far away replication is needed.

If it is at all feasible with your budget, I'd think _very strongly_
about replicating using Slony inside your data centre _too_.  The
shared storage answer is nice, but it is _really really really_ easy
to shoot yourself in the foot with a rocket propelled grenade with
that arrangement.  Very careful administration might prevent it, but
there is a reason that none of the corporate people will guarantee
two machines will never accidentally mount the same file system at
once: in a shared-disc-only system, it's impossible to be 100%
certain that the other machine really is dead and not coming back. 
Very tricky scripts could of course lower the risk. 

If you're really going to have all that data, it's going to be a
major pain to restore in the event of such corruption.  In addition,
your recovery will only be to the last dump.  That's why I suggest
replicating, either with Slony or something else, as a belt that will
nicely complement the suspenders of your shared-disc failover.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what 
you told them to.  That actually seems sort of quaint now.
		--J.D. Baldwin



view thread (15+ messages)  latest in thread

Message-ID: <20061005184154.GE8826@phlogiston.dyndns.org>
Permalink:  ../20061005184154.GE8826@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20061005184154.GE8826@phlogiston.dyndns.org

 · 

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: ajs@crankycanuck.ca
  Subject: Re: postgres in HA constellation
  In-Reply-To: <20061005184154.GE8826@phlogiston.dyndns.org>
  References: <20061005042417.87F0FC027@ogo.rapideye.de> <20061005184154.GE8826@phlogiston.dyndns.org>

* 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