pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurent FAILLIE <l_faillie@yahoo.com>
To: Pgsql-general List <pgsql-general@lists.postgresql.org>
Subject: Re: Looking for some help with HA / Log Log-Shipping
Date: Wed, 31 Mar 2021 15:38:58 +0000 (UTC)
Message-ID: <166716532.2578826.1617205138799@mail.yahoo.com> (raw)
In-Reply-To: <559493559.2452115.1617186428338@mail.yahoo.com>
References: <559493559.2452115.1617186428338.ref@mail.yahoo.com>
	<559493559.2452115.1617186428338@mail.yahoo.com>

Replying to myself :)
It seems pg_basebackup did all the tricks, even restarting the slave. And it is in standby mode.Do I have anything to do in addition ?
Thanks
 

    Le mercredi 31 mars 2021 à 12:51:29 UTC+2, Laurent FAILLIE <l_faillie@yahoo.com> a écrit :  
 
 Hello,
We are running Postgresql 12 and I'm trying to put in place streaming wal replication.

I followed officiale documentation ( https://www.postgresql.org/docs/12/warm-standby.html ) as well as this tutorial : 
https://scalegrid.io/blog/managing-high-availability-in-postgresql-part-1/                    
What I did is :
* created the master db* create replication role* updated postgresql.conf* finally replicate everything on the salve node using pg_basebackup (with -R option)

But now I'm lost with §26.2.4 Setting up a standby server.
In which file I have to put the primary_conninfo and other options ?
Thanks
Laurent
ps: my goal is to install the PAF
  

view thread (3+ messages)  latest in thread

Message-ID: <166716532.2578826.1617205138799@mail.yahoo.com>
Permalink:  ../166716532.2578826.1617205138799@mail.yahoo.com/
Also on:    postgresql.org/message-id/166716532.2578826.1617205138799@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: l_faillie@yahoo.com
  Subject: Re: Looking for some help with HA / Log Log-Shipping
  In-Reply-To: <166716532.2578826.1617205138799@mail.yahoo.com>
  References: <559493559.2452115.1617186428338.ref@mail.yahoo.com> <559493559.2452115.1617186428338@mail.yahoo.com> <166716532.2578826.1617205138799@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox