Re: how to fail over slave to master

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Pepe TD Vo <pepevo(at)yahoo(dot)com>
Cc: Amine Tengilimoglu <aminetengilimoglu(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: how to fail over slave to master
Date: 2020-12-28 19:09:50
Message-ID: EB6C684E-31DE-4C3D-A96A-3561529F9A6D@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Dec 28, 2020, at 11:54 AM, Pepe TD Vo <pepevo(at)yahoo(dot)com> wrote:
>
> Version 12 and can you show me step by step what needs to do? I found a document in version 10 to promote salve to master with pg_ctl and create recovery.conf. Recovery.conf is not existed in version 12 but in version 1.

1) The parameters that used to be set in recovery.conf are instead set in postgresql.conf in 12 & above.

2) They are set on your replica; otherwise it would not come up as a replica. They are not needed in a master.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pepe TD Vo 2020-12-28 19:24:03 Re: how to fail over slave to master
Previous Message Pepe TD Vo 2020-12-28 18:54:59 Re: how to fail over slave to master