Re: Have any tricks not to recreate a standby server to switch to the former primary?

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Have any tricks not to recreate a standby server to switch to the former primary?
Дата
Msg-id m2zkrdg52m.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Have any tricks not to recreate a standby server to switch to the former primary?  (Josh Kupershmidt <schmiddy@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: UUID column as pimrary key?
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Updated Latch Patch