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 1hhBFP-0003cK-G7 for pgsql-general@arkaria.postgresql.org; Sat, 29 Jun 2019 11:10:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hhBFN-0002pn-7l for pgsql-general@arkaria.postgresql.org; Sat, 29 Jun 2019 11:10:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hhBFM-0002pg-R5 for pgsql-general@lists.postgresql.org; Sat, 29 Jun 2019 11:10:20 +0000 Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hhBFF-0004mS-MC for pgsql-general@lists.postgresql.org; Sat, 29 Jun 2019 11:10:19 +0000 Received: from firost (unknown [109.9.175.182]) (Authenticated sender: ioguix) by smtp2-g21.free.fr (Postfix) with ESMTPSA id ED4FD2003AE; Sat, 29 Jun 2019 13:10:06 +0200 (CEST) Date: Sat, 29 Jun 2019 13:09:58 +0200 From: "Jehan-Guillaume (ioguix) de Rorthais" To: Devendra Y Cc: pgsql-general@lists.postgresql.org Subject: Re: Automatic Failover in PostgreSQL using PAF/repmgr Message-ID: <20190629130958.42b6f22b@firost> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, 29 Jun 2019 00:34:13 +0530 Devendra Y wrote: > Dear Experts, > > I have configured Wal replication (standby) in PostgreSQL as Master and > slave. And I have also configured Logical replication (standby) in > PostgreSQL as Master and slave for different application's. > > Now I am trying to integrate the Failover part to Automatic Failover using > PAF (Postgresql automatic Failover) or repmgr. Well, this requires a lot a time to understand, setup and master the automatic failover you are building. First advice: consider Patroni as well. Second advice: in regard with PAF, read documentations, cookbooks and quick starts on its official website. Come back to the list with specific question. Good luck !