Re: Switchover of Master and Slave roles

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Switchover of Master and Slave roles
Дата
Msg-id BANLkTimSvtJk9C8pQFwxsPF4G8ssNcYm3A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Switchover of Master and Slave roles  (A J <s5aly@yahoo.com>)
Список pgsql-admin
On Wed, Jun 8, 2011 at 3:59 AM, A J <s5aly@yahoo.com> wrote:
> Ok. So if I understand it correctly, as far as Postgres is concerned the
> 'mirror is broken'. It is a one-time cutover.
> 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.

If the standby is completely sync with the master when failover happens,
and if those two servers share the archive area, you can start new standby
without taking a fresh base backup. You can do that by setting
recovery_target_timeline to 'latest' in the recovery.conf and just starting
new standby.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: Switchover of Master and Slave roles
Следующее
От: "Thorne, Francis"
Дата:
Сообщение: Where are security permissions stored ?