Re: Switchover of Master and Slave roles

Поиск
Список
Период
Сортировка
Искать
От
Fujii Masao
Тема
Re: Switchover of Master and Slave roles
Дата
Msg-id
BANLkTimSvtJk9C8pQFwxsPF4G8ssNcYm3A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Switchover of Master and Slave roles A J <s5aly@yahoo.com>
Re: Switchover of Master and Slave roles Ray Stell <stellr@cns.vt.edu>
Re: Switchover of Master and Slave roles A J <s5aly@yahoo.com>
Re: Switchover of Master and Slave roles Guillaume Lelarge <guillaume@lelarge.info>
Re: Switchover of Master and Slave roles "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Switchover of Master and Slave roles A J <s5aly@yahoo.com>
Re: Switchover of Master and Slave roles Ray Stell <stellr@cns.vt.edu>
Re: Switchover of Master and Slave roles Simon Riggs <simon@2ndQuadrant.com>
Re: Switchover of Master and Slave roles Jerry Sievers <gsievers19@comcast.net>
Re: Switchover of Master and Slave roles "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Switchover of Master and Slave roles Fujii Masao <masao.fujii@gmail.com>
On Wed, Jun 8, 2011 at 3:59 AM, A J  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
Дата:
От: Thorne, Francis
Дата:
FAQ