pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: E <eml@dmn.io>
To: pgsql-general@lists.postgresql.org
Subject: BDR: moving a node
Date: Sun, 25 Aug 2019 18:11:39 +0200
Message-ID: <51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io> (raw)

Hello,

As a preamble, I'm running PostgreSQL 9.4 BDR on a Debian 9.

I'm moving a node to a new host. This is the node from which I started 
BDR and had a second replicate join it.

I browsed the list archive, Googled all I could, found some threads and 
Github issues, but came up with a grant total of no concrete answers.

When I say "moving", I mean I'm copying the entire filesystem with 
PostgreSQL shut down, so I assume my data integrity is taken care of. 
All I imagine I need to do is replace the DSN on the second node, which 
in my carelessness, I set up using an IP address and not an FQDN.
I looked up Node Management Functions in the doc,   but cannot come up 
with the final set of instructions to perform an update of the DSN.

What is the process to update the DSN? I assume I'll have to relay the 
changes in my pg_hba.conf, but do not understand, and don't want to 
tinker, with BDR before obtaining some educated advice.

I apologize if my question comes across as dumb. I understand I have to 
update bdr.bdr_connections, but how, and what do I restart? What about 
the server that was moved, any updates needed there?

thanks for your help!





view thread (2+ messages)  latest in thread

Message-ID: <51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io>
Permalink:  ../51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io/
Also on:    postgresql.org/message-id/51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io

 · 

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: eml@dmn.io
  Subject: Re: BDR: moving a node
  In-Reply-To: <51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io>
  References: <51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io>

* 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