Re: Switchover of Master and Slave roles - Mailing list pgsql-admin

From Simon Riggs
Subject Re: Switchover of Master and Slave roles
Date
Msg-id BANLkTinEcZbDJjqr_cV-ku5z8PUFgKnPRQ@mail.gmail.com
Whole thread Raw
In response to Re: Switchover of Master and Slave roles  (Ray Stell <stellr@cns.vt.edu>)
Responses Re: Switchover of Master and Slave roles  (Jerry Sievers <gsievers19@comcast.net>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: Re: Switchover of Master and Slave roles
Next
From: A J
Date:
Subject: Sync replication waits for only 1 slave