Re: Fully-automatic streaming replication failover when master dies?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Fully-automatic streaming replication failover when master dies?
Дата
Msg-id lbt4vk$coa$1@ger.gmane.org
обсуждение исходный текст
Ответ на Fully-automatic streaming replication failover when master dies?  (Dmitry Koterov <dmitry.koterov@gmail.com>)
Список pgsql-general
Dmitry Koterov, 22.01.2014 22:35:
> I googled 1 hour approximately, but have not found a ready solution
> for this. So maybe this feature is in PostgreSQL todo-list, or
> something similar exists somewhere...
>
> Before the actual question, I'd like to give a small analogy. What I
> mostly love in MongoDB is that it supports a fully transparent scheme
> of replication failover. If you have >= 3 MongoDB notes (e.g. 1
> master and 2 replicas), and the master dies, in a couple of seconds a
> replica is AUTOMATICALLY elected as a new master, and all other
> replicas are AUTOMATICALLY begin to follow it. If the dead master is
> back again suddenly, it first appears as a replica, but in a couple
> of seconds it becomes a new master back (because it initially had a
> highest weight assigned), and all replicas become to follow it. All
> these steps are done automatically and transparently. It just works.
>
> So does something similar and more-or-less stable exist for PostgrSQL
> too?

Someone just blogged about this:

http://evol-monkey.blogspot.de/2014/01/setting-up-postgres-automated-failover.html

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

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: Re: Fully-automatic streaming replication failover when master dies?
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: Help with details of what happens when I create a constraint NOT VALID