Re: Have any tricks not to recreate a standby server to switch to the former primary? - Mailing list pgsql-general

From Dimitri Fontaine
Subject Re: Have any tricks not to recreate a standby server to switch to the former primary?
Date
Msg-id m2zkrdg52m.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Have any tricks not to recreate a standby server to switch to the former primary?  (Josh Kupershmidt <schmiddy@gmail.com>)
List pgsql-general
Josh Kupershmidt <schmiddy@gmail.com> writes:
> From this description, it sounds like you're trying to shortcut the
> process of bringing your old primary server (server A) up-to-date with
> the currently-running server (server B). In order to bring server A
> up-to-date with B, you'll need to follow *all* the steps on that wiki
> page to set server A up as a warm standby of B, particularly the
> pg_start_backup(); rsync'ing of PGDATA over to A, etc.

See repmgr for a way to mitigate than by using 2 standby servers:

  http://projects.2ndquadrant.com/repmgr
  https://github.com/greg2ndQuadrant/repmgr
  http://groups.google.com/group/repmgr

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support

pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Re: UUID column as pimrary key?
Next
From: Dimitri Fontaine
Date:
Subject: Re: Updated Latch Patch