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 1hK6a0-00077z-Vs for pgsql-admin@arkaria.postgresql.org; Fri, 26 Apr 2019 19:32:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hK6Z1-0003IO-H9 for pgsql-admin@arkaria.postgresql.org; Fri, 26 Apr 2019 19:31:15 +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 1hK6Z1-0003IH-3g for pgsql-admin@lists.postgresql.org; Fri, 26 Apr 2019 19:31:15 +0000 Received: from adriana.opensysperu.com ([54.39.16.225]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hK6Yx-0005J2-9b for pgsql-admin@postgresql.org; Fri, 26 Apr 2019 19:31:13 +0000 Received: from localhost (localhost [IPv6:::1]) by adriana.opensysperu.com (Postfix) with ESMTP id 0265E3AC0B2E; Fri, 26 Apr 2019 14:31:08 -0500 (-05) Received: from adriana.opensysperu.com ([IPv6:::1]) by localhost (adriana.opensysperu.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id 360Ffr0lEPOz; Fri, 26 Apr 2019 14:31:06 -0500 (-05) Received: from localhost (localhost [IPv6:::1]) by adriana.opensysperu.com (Postfix) with ESMTP id C66143AC0B3D; Fri, 26 Apr 2019 14:31:06 -0500 (-05) X-Virus-Scanned: amavisd-new at opensysperu.com Received: from adriana.opensysperu.com ([IPv6:::1]) by localhost (adriana.opensysperu.com [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id rT22Gx7Kc1bE; Fri, 26 Apr 2019 14:31:06 -0500 (-05) Received: from adriana.opensysperu.com (adriana.opensysperu.com [54.39.16.225]) by adriana.opensysperu.com (Postfix) with ESMTP id 86BE53AC0B15; Fri, 26 Apr 2019 14:31:06 -0500 (-05) Date: Fri, 26 Apr 2019 14:31:06 -0500 (PET) From: Alvaro Aguayo Garcia-Rada To: arvind chikne Cc: pgsql-admin Message-ID: <830470972.37306.1556307066419.JavaMail.zimbra@opensysperu.com> In-Reply-To: References: <1685622703.28234.1556205395426.JavaMail.zimbra@opensysperu.com> <1839171235.34990.1556287063510.JavaMail.zimbra@opensysperu.com> <907244669.36885.1556302559444.JavaMail.zimbra@opensysperu.com> Subject: Re: BDR MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_8bc3b6eb-2336-4031-bc5e-29c326fbbc7f" X-Mailer: Zimbra 8.8.12_GA_3803 (ZimbraWebClient - GC72 (Linux)/8.8.12_GA_3794) Thread-Topic: BDR Thread-Index: BWM3nipV0qvewh1L8ewXLNIOtUjz/g== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=_8bc3b6eb-2336-4031-bc5e-29c326fbbc7f Content-Type: multipart/related; boundary="=_0fe85f6d-8cc1-40bd-9a97-8d3c6a531c4d" --=_0fe85f6d-8cc1-40bd-9a97-8d3c6a531c4d Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit In the bdr_nodes table, you only have one node. BDR will not work on a single node, you need a minimum of 2 nodes. Saludos, Alvaro Aguayo Jefe de Operaciones Open Comb Systems E.I.R.L. (+51-1) 337-7813 Anexo 4002 www.ocs.pe ----- Original Message ----- From: "arvind chikne" To: "Alvaro Aguayo Garcia-Rada" Cc: "pgsql-admin" Sent: Friday, 26 April, 2019 14:22:24 Subject: Re: BDR See the output of both [image: image.png] [image: image.png] On Fri, Apr 26, 2019 at 11:46 PM Alvaro Aguayo Garcia-Rada < aaguayo@opensysperu.com> wrote: > Hi. > > Two important things: > > 1. Check you logs on both servers. There's probably some error there > related to BDR replication. > > 2. Check the BDR nodes tables("SELECT * FROM bdr.bdr_nodes;"). Important: > Passwords are stores in this table; censor them before sending message. > > Saludos, > > Alvaro Aguayo > Jefe de Operaciones > Open Comb Systems E.I.R.L. > > (+51-1) 337-7813 Anexo 4002 > www.ocs.pe > > ----- Original Message ----- > From: "arvind chikne" > To: "Alvaro Aguayo Garcia-Rada" > Cc: "pgsql-admin" > Sent: Friday, 26 April, 2019 13:03:22 > Subject: Re: BDR > > Hi Alvaro, > > I am done with the configuration but when ever i tried to create and table > in my database its giving me following error in both server > > ERROR: No peer nodes or peer node count unknown, cannot acquire global > lock > HINT: BDR is probably still starting up, wait a while > > > On Fri, Apr 26, 2019 at 7:27 PM Alvaro Aguayo Garcia-Rada < > aaguayo@opensysperu.com> wrote: > > > Hi. > > > > There are two versions of BDR. The 1.x branch is reaching EOL in > December > > 2019; that version will only work with a patched version of PostgreSQL > 9.4. > > > > The other branch is BDR 3.x. I'm not currently which PG version it works > > with(10 or 11), but it works without needing any patch, just the plugin. > > The bad part is that version is not publicly available, and you may need > to > > contact 2ndQuadrant in order to get prices ( > > https://www.2ndquadrant.com/en/resources/postgres-bdr-2ndquadrant/ ) > > > > Saludos, > > > > Alvaro Aguayo > > Jefe de Operaciones > > Open Comb Systems E.I.R.L. > > > > (+51-1) 337-7813 Anexo 4002 > > www.ocs.pe > > > > ----- Original Message ----- > > From: "arvind chikne" > > To: "Alvaro Aguayo Garcia-Rada" > > Cc: "pgsql-admin" > > Sent: Friday, 26 April, 2019 01:43:55 > > Subject: Re: BDR > > > > Thanks Alvaro for such a good document, > > Would it be possible to have bdr on postgres 10 > > > > On Thu, Apr 25, 2019 at 8:46 PM Alvaro Aguayo Garcia-Rada < > > aaguayo@opensysperu.com> wrote: > > > > > Hi. > > > > > > Check the official documentation. It has a quick start guide with > simple > > > steps to follow. > > > > > > http://bdr-project.org/docs/stable/quickstart.html > > > > > > Saludos, > > > > > > Alvaro Aguayo > > > Jefe de Operaciones > > > Open Comb Systems E.I.R.L. > > > > > > (+51-1) 337-7813 Anexo 4002 > > > www.ocs.pe > > > > > > ----- Original Message ----- > > > From: "arvind chikne" > > > To: "pgsql-admin" > > > Sent: Thursday, 25 April, 2019 07:24:46 > > > Subject: BDR > > > > > > Hi All, > > > > > > Can any one suggest me the best way to configure the BDR, any step by > > step > > > doc or link would be appreciated. > > > > > > I already followed the below link > > > > > > > > > > > > https://medium.com/@yenthanh/multi-master-replication-for-postgresql-databases-with-postgres-bdr-eb6d8b1bc189 > > > > > > > https://gist.github.com/RafaelMCarvalho/4d5cce26a45d1d5f87d0643a699d41c2 > > > > > > -- > > > *Thanks & Regards* > > > Arvind rao chikne > > > 9818979986 > > > *Think Green!!!* Please consider your environmental responsibility > before > > > printing this e-mail > > > > > > > > > -- > > *Thanks & Regards* > > Arvind rao chikne > > 9818979986 > > *Think Green!!!* Please consider your environmental responsibility before > > printing this e-mail > > > > > -- > *Thanks & Regards* > Arvind rao chikne > 9818979986 > *Think Green!!!* Please consider your environmental responsibility before > printing this e-mail > -- *Thanks & Regards* Arvind rao chikne 9818979986 *Think Green!!!* Please consider your environmental responsibility before printing this e-mail --=_0fe85f6d-8cc1-40bd-9a97-8d3c6a531c4d-- --=_8bc3b6eb-2336-4031-bc5e-29c326fbbc7f--