Re: PGBOUNCER FAILOVER AND HIGH AVAILABILITY

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: PGBOUNCER FAILOVER AND HIGH AVAILABILITY
Дата
Msg-id 9558122d82fc8fa0215c3d8861d59774f654c0f4.camel@cybertec.at
обсуждение исходный текст
Ответ на PGBOUNCER FAILOVER AND HIGH AVAILABILITY  (Peter Wainaina <petwah17@gmail.com>)
Список pgsql-admin
On Fri, 2020-05-15 at 23:56 -0400, Peter Wainaina wrote:
> Hello hope you well ,want to implement the below:
>  a) Pg-bouncer to detect a promoted standby database automatically
>  b) High availability by having more than pg-bouncer

That is not pgBounder's job.

For high availability, run a pg_bouncer on each standby.

Use libpg's HA features to make the client connect to the right one:

"host=host1,host2 port=port1,port2 target_session_attrs=read-write"

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: Holger Jakobs
Дата:
Сообщение: Re: pgadmin4 container install: volume mapping not working
Следующее
От: Raj kumar
Дата:
Сообщение: GSSAPI encryption support