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 1gk8Jr-0005aI-Vt for pgsql-general@arkaria.postgresql.org; Thu, 17 Jan 2019 14:06:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gk8Jp-0003NI-IY for pgsql-general@arkaria.postgresql.org; Thu, 17 Jan 2019 14:06:53 +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 1gk8Jp-0003NB-AY for pgsql-general@lists.postgresql.org; Thu, 17 Jan 2019 14:06:53 +0000 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gk8Jn-0008Kf-8U for pgsql-general@postgresql.org; Thu, 17 Jan 2019 14:06:52 +0000 Received: from firost (unknown [81.66.185.171]) (Authenticated sender: ioguix) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 1AE5DB005B1; Thu, 17 Jan 2019 15:06:45 +0100 (CET) Date: Thu, 17 Jan 2019 15:06:44 +0100 From: "Jehan-Guillaume (ioguix) de Rorthais" To: AI Rumman Cc: pgsql-general General Subject: Re: Postgres Automated Failover Message-ID: <20190117150644.78fdf8fc@firost> In-Reply-To: References: X-Mailer: Claws Mail 3.17.1 (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 Thu, 17 Jan 2019 08:32:48 -0500 AI Rumman wrote: > Hi, > > I am planning to use Postgresql with TimescaleDb extension. I have to > design a system similar to AWS RDS which supports automated failover, > transparent minor version upgrades etc. > In early days, I worked with PgPool II to enable heartbeat between the > Postgres servers. Is there any new tool to achieve the same by which I can > design a transparent failover system for Postgres? There is multiple HA solutions, none are "transparent failover" though. They are just automated-failover. A rollback-ed transaction because of failover will never be transparent from the application point of view. Look at Patroni or PAF, depending on what you want to achieve.