Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1v7M-0003Ls-6B for pgsql-general@arkaria.postgresql.org; Sun, 25 Aug 2019 16:11:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i1v7K-0007QG-Kc for pgsql-general@arkaria.postgresql.org; Sun, 25 Aug 2019 16:11:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1v7K-0007Q9-AF for pgsql-general@lists.postgresql.org; Sun, 25 Aug 2019 16:11:46 +0000 Received: from parker.dmn.io ([176.10.115.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i1v7H-00015K-Ha for pgsql-general@lists.postgresql.org; Sun, 25 Aug 2019 16:11:45 +0000 Received: from authenticated-user (parker.dmn.io [176.10.115.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by parker.dmn.io (Postfix) with ESMTPSA id E52053F3CD for ; Sun, 25 Aug 2019 16:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dmn.io; s=mail; t=1566749500; bh=SpwoxVBPlC1gyJohVeXcCZzulXNfPpAu2Kz9q92x89c=; h=Date:From:To:Subject:From; b=C4ivIJq+5Tj0EBygFQ7tsmustpH5TksHld8Wcvp3yuzAlVikXTSnae4GZCQBQX+hL l2ySGolszplFvXZBM1k+hIrLl/FdaPgDDdrFj3DduWLzwKSQuvWpvUmX6+R/jZ9FTN 1WzVqNxpJjwFvUZ5nbi3/j+Ot/RwSsNR18olKU+b+yGHW0wwRJNaEWF0MhR+h7Qapx GC4ovYG0jFI48AyvLTJnL5Dwq4Q6QAtWLh//N1tYqbCGIh5PRUFfXGH82TnsBkPTCt qqaj6+QH1Bjg70R0Soh7rhpf7Lh/c1eunSdSaitBbr/w8TKRXx4b+dO9uzbvGkW5WA 9Jx2Kc1uzYjKQ== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 25 Aug 2019 18:11:39 +0200 From: E To: pgsql-general@lists.postgresql.org Subject: BDR: moving a node Message-ID: <51873f6b4bb7f78c54613fec7dcdd3d5@dmn.io> X-Sender: eml@dmn.io List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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!