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 1imJqI-000619-Ch for pgsql-general@arkaria.postgresql.org; Tue, 31 Dec 2019 15:53:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1imJqH-0006hP-6p for pgsql-general@arkaria.postgresql.org; Tue, 31 Dec 2019 15:53:57 +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 1imJqG-0006hI-Q1 for pgsql-general@lists.postgresql.org; Tue, 31 Dec 2019 15:53:56 +0000 Received: from mail-dm6nam12olkn2070.outbound.protection.outlook.com ([40.92.22.70] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1imJq8-0006ID-FC for pgsql-general@lists.postgresql.org; Tue, 31 Dec 2019 15:53:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U916T2d8bQNP2qwBeKNy4Y2ypOigol5WPcOpcdzv777Cm4TIXEJbM7YfJLPLVzirYrS0WIDPpci2Z0kh0x29SHD0iJzQrsAtWfj1LeKTzbN4H6m7n/e7FqlJgHwFJJUrSOrXd8aem8Jz5sf02gDfEIdOCYFqQzi5Opd1ZWW8mikIuzqVdqKAyAhQEuNipVqxvlqtbK6JtCUQsUrLh8/dhnCaHZxuM519KuisUY4XZfpj8R4Aj5MYEvaw2UlfCIt1DnA5cDuNsOf+JwKP7Hgk0i9xpHnCS89UEgg8ev6NGd4tgZVm56I0YXMPIsmBFfXtOC6ZFrO/zyXiXu4FhPSKAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=95V/WjNvoGEA6O6pOWFGn5mULf5qPcNUZQzO5lbJ9rs=; b=hIJGylCA9Q56+xOFQ8FOvQkXncFqqMBaeL6MFZxcTrWl8wtm3zjxKh+SEVvrt6Ap0B7DyoUJmS1dpmWdR11uT40GwMhOjGnCpgKhttk/hy4Xr25ZlQrimDonor8iXUJHB2DWso60+8aiY7fGR3TYLcVGHjBuK1DwQLxrKWJOWYL30uXsDrvYpZXFA4Wt6EuGqWh3RVu/orljqcUT9FLsGumyj2/3zsmuO0RJ/txntVAdkQEXmSIooIikdroeanTFGe/hJ6vvykP5Zu4XI3jRIJXLrTqkbF2mXPkX3R3UszwawMEk4qUtkx+cltR4a77Gj0q9Tp5T/1rUu0VdVuM7TA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BN8NAM12FT013.eop-nam12.prod.protection.outlook.com (10.13.182.58) by BN8NAM12HT080.eop-nam12.prod.protection.outlook.com (10.13.183.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.9; Tue, 31 Dec 2019 15:53:45 +0000 Received: from MN2PR01MB5903.prod.exchangelabs.com (10.13.182.55) by BN8NAM12FT013.mail.protection.outlook.com (10.13.182.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.9 via Frontend Transport; Tue, 31 Dec 2019 15:53:45 +0000 Received: from MN2PR01MB5903.prod.exchangelabs.com ([fe80::25bd:785d:b022:76ff]) by MN2PR01MB5903.prod.exchangelabs.com ([fe80::25bd:785d:b022:76ff%5]) with mapi id 15.20.2581.007; Tue, 31 Dec 2019 15:53:45 +0000 From: Girish Kumar To: =?iso-8859-1?Q?Fabr=EDzio_de_Royes_Mello?= CC: "pgsql-general@lists.postgresql.org" Subject: Re: Need auto fail over cluster solution for PostGres Thread-Topic: Need auto fail over cluster solution for PostGres Thread-Index: AQHVvy2aCMwlutnz4E6o0b38gsNzyKfS4qOAgAGC6nk= Date: Tue, 31 Dec 2019 15:53:45 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:2E10D557C9ED6221D937EC13DAAD5AB1F604936CED9882046C5FE7864CD39C35;UpperCasedChecksum:F2F492D1B85A6EC030D9EB97095F509F07D6DDE5D1ABF5A0F03CD324C75576F9;SizeAsReceived:7086;Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [IlMjxli2O67LtuuIMmTKM0IYhA+TRDwc] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 6222f2bc-4ea0-4aa2-0dc0-08d78e099e66 x-ms-traffictypediagnostic: BN8NAM12HT080: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: q42wIM2akZ40WoJumf8oiPtHqI2C+blOxh5A6My4TaN5y1k0I7pGuE92R3jXqXMycV7Le4gLWX6XSX/P28QYvUCTkLot7zkBAws4RQQjD7rRQDPQeUDxRo7dXh2lcF3AVH+wfnBVXFS8ti1frEhtwHRE80Bb+8wSC4mLiF87SHZNBvvKnQQsZ8TMJzWGjnWPSJW9vTAtMxQD4F8gU8JrcmabkRARQOMfBjlZ0sOi0Ig= x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_MN2PR01MB59030F1C25B050CB3E901FACF4260MN2PR01MB5903prod_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 6222f2bc-4ea0-4aa2-0dc0-08d78e099e66 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Dec 2019 15:53:45.8893 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM12HT080 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_MN2PR01MB59030F1C25B050CB3E901FACF4260MN2PR01MB5903prod_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If it's on Windows, does Windows Fail over cluster supports Postgres auto f= ailover? I need a solution where secondary node becomes primary when primar= y fails and vice versa automatically without any manual intervention ( this= is exactly how AAG works with SQL server on Windows) Regards, Girish kumar Get Outlook for Android ________________________________ From: Fabr=EDzio de Royes Mello Sent: Monday, December 30, 2019 10:15:09 PM To: Girish Kumar Cc: pgsql-general@lists.postgresql.org Subject: Re: Need auto fail over cluster solution for PostGres Em seg., 30 de dez. de 2019 =E0s 13:30, Girish Kumar > escreveu: > > Hello, > > I need to setup an auto fail over cluster for Postgres similar to Always = Available Group(AAG) provided by Microsoft for SQL Server. Any suggestions?= Prefer open source solutions(On Ubuntu) > Some FOSS options: https://github.com/zalando/patroni https://github.com/sorintlab/stolon https://github.com/ClusterLabs/PAF Regards, -- Fabr=EDzio de Royes Mello Timbira - http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento --_000_MN2PR01MB59030F1C25B050CB3E901FACF4260MN2PR01MB5903prod_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
If it's on Windows, does Windows Fail over cluster supports Postgres auto f= ailover? I need a solution where secondary node becomes primary when primar= y fails and vice versa automatically without any manual intervention ( this= is exactly how AAG works with SQL server on Windows)

Regards,
Girish kumar


From: Fabr=EDzio de Royes M= ello <fabrizio@timbira.com.br>
Sent: Monday, December 30, 2019 10:15:09 PM
To: Girish Kumar <girish_kumar@live.in>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postg= resql.org>
Subject: Re: Need auto fail over cluster solution for PostGres
 

Em seg., 30 de dez. de 2019 =E0s 13:30, Girish Kumar <girish_kumar@live.in> escreveu:
>
> Hello,
>
> I need to setup an auto fail over cluster for Postgres similar to Alwa= ys Available Group(AAG) provided by Microsoft for SQL Server. Any suggestio= ns? Prefer open source solutions(On Ubuntu)
>

Some FOSS options:

https://github.com/zalando/p= atroni
https://github.com/sorintla= b/stolon
https://github.com/ClusterLa= bs/PAF

Regards,

--
   Fabr=EDzio de Royes Mello         Timbira = - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Trein= amento
--_000_MN2PR01MB59030F1C25B050CB3E901FACF4260MN2PR01MB5903prod_--