Re:

Поиск
Список
Период
Сортировка
Искать
От
Rui DeSousa
Тема
Re:
Дата
Msg-id
EA4685AD-1D43-4CDD-B7F7-DEF15AFA13D1@crazybean.net
Ответ на
Re: (Pierre Ochsenbein)
Список
Дерево обсуждения
Pierre Ochsenbein <pierreochsenbein@gmail.com>
Re: Fabio Pardi <f.pardi@portavita.eu>
Re: Rui DeSousa <rui@crazybean.net>
Re: Shreeyansh Dba <shreeyansh2014@gmail.com>
Re: Rui DeSousa <rui@crazybean.net>
Re: Pierre Ochsenbein <pierreochsenbein@gmail.com>
Re: Rui DeSousa <rui@crazybean.net>


> On Nov 5, 2018, at 11:25 AM, Pierre Ochsenbein  wrote:
> 
> but on your stdby you have configure a script to become the primary automatically?

Yes, as soon at the CARP address (i.e. the VIP) is migrated to the standby the database is promoted automatically.  All the existing TCP connections are reset/dropped and the clients reconnect to the new server within seconds. 

You have to researched the best solution for your given OS platform.  There are solutions that are platform agnostic too.  I don’t have a canned one to recommend though.



В списке pgsql-admin по дате отправления
От: Rui DeSousa
Дата:
От: Nikhil Shetty
Дата:
FAQ