Re: Auotmated postgres failover

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Auotmated postgres failover
Дата
Msg-id 56A132BA.3070100@hogranch.com
обсуждение исходный текст
Ответ на Auotmated postgres failover  (jwiencek3@comcast.net)
Ответы Re: Auotmated postgres failover  (Andrew Sullivan <ajs@crankycanuck.ca>)
Re: Auotmated postgres failover  (Jehan-Guillaume de Rorthais <ioguix@free.fr>)
Список pgsql-general
On 1/21/2016 11:07 AM, jwiencek3@comcast.net wrote:


I'm looking for a tool to automate PostgreSQL cluster management failover in the event the master database were to become unavailable.   Currently are manually issuing a "pg_ctl promote"  once we become aware that the master database has crashed.


Is repmgr a via solution?  Please pass along experiences with repmgr.

Are there any other  tools available to automatically issue the "promote" in the event of a master database crash?


repmgr is a tool you could use in conjunction with a generic cluster management system like linuxha/heartbeat, vcs, etc.  

the most difficult part is reliably determining that A) the master has crashed, and B) fencing the failed old master so it doesn't wake up and think its still in charge.



-- 
john r pierce, recycling bits in santa cruz

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

Предыдущее
От: jwiencek3@comcast.net
Дата:
Сообщение: Auotmated postgres failover
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: yum packages for 9.5 vs <=9.4