Configuration of django with master slave replication Postgres

Поиск
Список
Период
Сортировка
От soumitra bhandary
Тема Configuration of django with master slave replication Postgres
Дата
Msg-id MA1PR01MB3548E88AC81FF8E528229AFFE0560@MA1PR01MB3548.INDPRD01.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: Configuration of django with master slave replication Postgres  (Thomas Poty <thomas.poty@gmail.com>)
Список pgsql-admin
Hi
Does anyone have any idea with django how to configure multiple dsn that will automatically switch to new Postgres
masterhost in case of failover happens to previous master and auto promotion of new master is done with repmgr. 


My configuration is as below

Master and asynchronous slave node . Repmgrd is configured to take care of autofailover and promotion of new master
node.

But from application side with django how to make datasource so that it automatically switches to new master node in
caseof failover.  
Please share the steps.


Sent from my iPhone


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

Предыдущее
От: Ramón Bastidas
Дата:
Сообщение: Re: LIMIT OFFSET with DB view vs plain SQL
Следующее
От: Shreeyansh Dba
Дата:
Сообщение: Re: trying to analyze deadlock