WAL replication question

Поиск
Список
Период
Сортировка
От Keith Ouellette
Тема WAL replication question
Дата
Msg-id 417C5AF7C228B94490192951394BEFE7AD3FD6@AIPHLEXDAG01B.airgas.com
обсуждение исходный текст
Список pgsql-novice

I am relatively new to PostgreSQL and have a question on WAL replication. I have two servers with one designated as Master. Both Master and Slave are configured simularly, with exception of the recovery.conf file only exists on the Slave. 

 

For failover, I am using the trigger file capability to "promote" the Slave in the event that the Master fails. That seems to work well. The question I have is when the former Master comes back on line, is there a way to make it a slave (adding the recovery.conf file) without restarting the PostgreSQL process? I currently do this with a restart, which works well, but we are using Pacemaker and the PostgreSQL resource goes away and takes the node down until it comes up. We would rather the node not go down if possible.

 

Is there a way to do this? Thank you in advance.

 

Keith

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Determine the name of the calling function
Следующее
От: Jack Kaufman
Дата:
Сообщение: Re: Determine the name of the calling function