Postgres Replication Switchback to master in Postgres-9.6

Поиск
Список
Период
Сортировка
От B A, Ramaswamy
Тема Postgres Replication Switchback to master in Postgres-9.6
Дата
Msg-id CF60DBDFE518E5458E46DEAE314CD3E9531444AC@HKW20030007.gbl.ad.hedani.net
обсуждение исходный текст
Ответы Re: Postgres Replication Switchback to master in Postgres-9.6  (Venkata B Nagothi <nag1010@gmail.com>)
Список pgadmin-support

Hi Team

 

I  have setup the Postgres  Hot Standby  with streaming replication with help  of pg_basebackup

I need a help  on switback to old master as master server.

Switchover on Failover

On Failover I am able to make Standby to become primary and continue with command “pg_ctl promot”

Found it is easy process

Switchback

Case, want to switch back old master as  Master server and  move the new Master one as Standby Server.

-          Master is down

-          Promoted slave as master

-          Inserted few records

-          Need to demote the Slave and bring back the Master

What is the correct procedure to sync data between Slave and newly started Master

Is it same process should follow while creating standby?

 

 

Thanks in advance,  your reply will greatly help.

 

Thanks and Regards

Ramaswamy B.A



==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

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

Предыдущее
От: Darren Duncan
Дата:
Сообщение: Re: unsubscribe
Следующее
От: Murtuza Zabuawala
Дата:
Сообщение: Re: Running development version of pgAdmin 4 corrupts the configuration