Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C99008227 for ; Fri, 26 Aug 2011 16:06:30 +0000 (UTC) Received: (qmail 4098 invoked by uid 500); 26 Aug 2011 16:06:30 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 3942 invoked by uid 500); 26 Aug 2011 16:06:29 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 3934 invoked by uid 99); 26 Aug 2011 16:06:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:06:29 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Camille.Fournier@gs.com designates 204.4.187.100 as permitted sender) Received: from [204.4.187.100] (HELO mxecd01.gs.com) (204.4.187.100) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:06:20 +0000 X-IronPort-AV: E=Sophos;i="4.68,285,1312171200"; d="scan'208";a="723411745" Received: from unknown (HELO mxpcd02-public.ny.fw.gs.com) ([148.86.97.79]) by mxecd01.idz.gs.com with ESMTP; 26 Aug 2011 12:05:58 -0400 From: "Fournier, Camille F." X-sendergroup: RELAYLIST Received: from gshcbdp10ex.firmwide.corp.gs.com ([139.172.27.232]) by cd02-mxp-vip-prod.ny.fw.gs.com with ESMTP; 26 Aug 2011 12:05:58 -0400 Received: from GSCMAMP02EX.firmwide.corp.gs.com ([139.172.184.156]) by gshcbdp10ex.firmwide.corp.gs.com ([139.172.27.232]) with mapi; Fri, 26 Aug 2011 12:05:59 -0400 To: "'user@zookeeper.apache.org'" Date: Fri, 26 Aug 2011 12:05:57 -0400 Subject: RE: Zookeeper on two clusters? Thread-Topic: Zookeeper on two clusters? Thread-Index: Acxj+drBp0DFdBJkT0aeCho0J+R2QAAD7qJw Message-ID: <69D3016305F9084FBD2C4A0DF189BD5C1772539875@GSCMAMP02EX.firmwide.corp.gs.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-retentionstamp: Firmwide Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org As long as the two clusters can ping each other, just set up a single ZK cl= uster spread across the two, 3 or 5 nodes (total, not per cluster). Note th= at if these two clusters are used for business continuity purposes (spread = across 2 data centers), you still risk the outage of the zookeeper if you l= ose one of the data centers (the one containing the majority of the ZK node= s).=20 There's no reason to set up 2 ZK quorums and merge them. C -----Original Message----- From: Aleksey Yakovlev [mailto:aleksey.yakovlev@gmail.com]=20 Sent: Friday, August 26, 2011 10:09 AM To: user@zookeeper.apache.org Subject: Re: Zookeeper on two clusters? Mahadev: I need these two clusters to communicate somehow, because our distributed system works on both of them - so we need some coordination, for example, t= o recover after failures. I could create my own servers/protocols for that, but why - the ZooKeeper does just that, right? The number 5 isn't important here, configuration and communication is Thanks AY On Fri, Aug 26, 2011 at 1:55 AM, Mahadev Konar wro= te: > Aleksey, > I am a little confused. Whats the motivation behind merging the > quorums? Why do you want 5 on each cluster? > > thanks > mahadev > > On Tue, Aug 23, 2011 at 10:24 AM, Aleksey Yakovlev > wrote: > > Hi, > > > > We have two clusters but I can't just ssh from one cluster to another -= I > > have to enter a password, use some authentication, go through a load > > balancer etc > > It would be very useful for us to use the Zookeeper as a common storage > > place for small configuration data, accessible from both these clusters= . > > > > So, I'm thinking about starting like 5 servers on each cluster and merg= e > > them into a single quorum - anybody did that? > > If yes, how to configure this double-side quorum? > > > > (I'm completely new to the Zookeeper) > > > > Thanks > > AY > > >