Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rFb0H-00ApgA-Rt for pgsql-admin@arkaria.postgresql.org; Tue, 19 Dec 2023 14:23:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rFb0F-001XQP-TR for pgsql-admin@arkaria.postgresql.org; Tue, 19 Dec 2023 14:23:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rFb0F-001XPv-AJ for pgsql-admin@lists.postgresql.org; Tue, 19 Dec 2023 14:23:23 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rFb0C-00Co18-RP for pgsql-admin@lists.postgresql.org; Tue, 19 Dec 2023 14:23:22 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 4F1DF65B09; Tue, 19 Dec 2023 14:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1702995768; bh=m2TaAn15PhZjj4cYkPhgliy8IHIDV5a4cok2D3Xn4/g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fB9m7o7hWI9N+98OVKfYRug0MLqtJZoq13rKfHTE5OoXDlHkopsTwSeoQiztP7UmN IvqkOo0cpFQ43YN5Sf/9JpQpBoy7J919bCmJSluKJDrxJjadROUMT64Ec24pHo4K1P rwwJilgjqMtcZMDskWY2nge5pFx4dyRBcR9jWT3D6B4Cz17xw6SLhZ5HTN3IAY82Lv 32vxgEkaN/rnH/AHTlgP5zP4sO4pCmJE2UtMOWDJcmULGNvYgpXwtYWRkn1qvpI5eQ S3Me59EBRb/+YV/AyrR7ddb5VfPi2fHdwsGQWwRAPKD7ZLWmmcaduW7upuz0ghZ9+q UmVLBavm63WEA== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UTk8Nb_aJpui; Tue, 19 Dec 2023 14:22:48 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id E640E658BC; Tue, 19 Dec 2023 14:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1702995768; bh=m2TaAn15PhZjj4cYkPhgliy8IHIDV5a4cok2D3Xn4/g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fB9m7o7hWI9N+98OVKfYRug0MLqtJZoq13rKfHTE5OoXDlHkopsTwSeoQiztP7UmN IvqkOo0cpFQ43YN5Sf/9JpQpBoy7J919bCmJSluKJDrxJjadROUMT64Ec24pHo4K1P rwwJilgjqMtcZMDskWY2nge5pFx4dyRBcR9jWT3D6B4Cz17xw6SLhZ5HTN3IAY82Lv 32vxgEkaN/rnH/AHTlgP5zP4sO4pCmJE2UtMOWDJcmULGNvYgpXwtYWRkn1qvpI5eQ S3Me59EBRb/+YV/AyrR7ddb5VfPi2fHdwsGQWwRAPKD7ZLWmmcaduW7upuz0ghZ9+q UmVLBavm63WEA== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: Need inputs on postgresql HA with consul cluster From: Scott Ribe In-Reply-To: Date: Tue, 19 Dec 2023 07:22:37 -0700 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Rambabu V X-Mailer: Apple Mail (2.3774.300.61.1.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Dec 19, 2023, at 7:12=E2=80=AFAM, Rambabu V = wrote: >=20 > Hi Team, >=20 > We have implemented postgresql HA with Patroni + Consul cluster on = Docker based PostgreSQL Setup. >=20 > We are seeing the issue below. >=20 > our consul cluster built with 3 nodes, if consul cluster completely = down, Patroni triggering failover. > Is there any option to prevent this failure even if the consul cluster = is down also? >=20 > and also any effective alternative for HA for docker based PostgreSQL = setup? How do you expect to have working HA without working networking?