pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: Ray Stell <stellr@cns.vt.edu>
Cc: A J <s5aly@yahoo.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Switchover of Master and Slave roles
Date: Tue, 7 Jun 2011 20:46:47 +0100
Message-ID: <BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com> (raw)
In-Reply-To: <20110607194139.GB3861@cns.vt.edu>
References: <693391.31715.qm@web120020.mail.ne1.yahoo.com>
	<20110607181244.GA3861@cns.vt.edu>
	<264025.13168.qm@web120005.mail.ne1.yahoo.com>
	<4DEE2B49020000250003E2A2@gw.wicourts.gov>
	<349220.32155.qm@web120008.mail.ne1.yahoo.com>
	<20110607194139.GB3861@cns.vt.edu>

On Tue, Jun 7, 2011 at 8:41 PM, Ray Stell <stellr@cns.vt.edu> wrote:
> On Tue, Jun 07, 2011 at 11:59:07AM -0700, A J wrote:
>> We then rely on filesystem tools (or other third party tools) to get the
>> original master in sync with the new master efficiently and then make it join as
>> slave.
>
> the doc would not be corrupted by an additional few words that stated as such:
>
> "To return to normal operation, a standby server must be recreated using
> external tools such as rsync, either on the former primary system when
> it comes up, or on a third, possibly new, system."

You need repmgr: http://www.repmgr.org/

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



view thread (11+ messages)  latest in thread

Message-ID: <BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com>
Permalink:  ../BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com

 · 

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: simon@2ndQuadrant.com, stellr@cns.vt.edu, s5aly@yahoo.com, Kevin.Grittner@wicourts.gov
  Subject: Re: Switchover of Master and Slave roles
  In-Reply-To: <BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com>
  References: <693391.31715.qm@web120020.mail.ne1.yahoo.com> <20110607181244.GA3861@cns.vt.edu> <264025.13168.qm@web120005.mail.ne1.yahoo.com> <4DEE2B49020000250003E2A2@gw.wicourts.gov> <349220.32155.qm@web120008.mail.ne1.yahoo.com> <20110607194139.GB3861@cns.vt.edu> <BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com>

* 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