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 817E6116F1 for ; Thu, 3 Jul 2014 21:28:23 +0000 (UTC) Received: (qmail 49470 invoked by uid 500); 3 Jul 2014 21:28:22 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 49428 invoked by uid 500); 3 Jul 2014 21:28:22 -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 49411 invoked by uid 99); 3 Jul 2014 21:28:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 21:28:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mckenzie.cam@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 21:28:18 +0000 Received: by mail-lb0-f174.google.com with SMTP id u10so587516lbd.5 for ; Thu, 03 Jul 2014 14:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Eq5+izfmKUvsblOojlfZnb+zbp5bVgs9F8s0mD+NDlE=; b=ZsRjfYE3urgl0SDqeGJhT3NP1HFV86coF9nZZZHf7j9LOHdJ7a3zs+uPdwijXNWGut 8hhxKS06QdI+kraYXTv4i7Pz4WJ4kf4cxdnLOJ60f+y1tY8LcM4OHNm8woe+zPHeSgKS 9NEkIHfudMhdabep16W0bUx6q8OZszi3f0kAeproaHguVG4xHBWdMXQTu76vXz2EntdA 7+jjRbnXPZiBS6/8MRJE5nDQEe9Nf4mY6nw4fbt6rN6HtlVdJleujkS/M/BWf9dQTLtQ Rpp9P1vzEiDSCWJLNxUAZSa1W4LYFblRlkuD8ocMP8qysyBOO8u0gACo+R4GagXXqf4S 1txw== MIME-Version: 1.0 X-Received: by 10.152.30.38 with SMTP id p6mr5202185lah.3.1404422874039; Thu, 03 Jul 2014 14:27:54 -0700 (PDT) Received: by 10.112.236.135 with HTTP; Thu, 3 Jul 2014 14:27:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jul 2014 07:27:53 +1000 Message-ID: Subject: Re: Running Zookeeper in clustered setup/ From: Cameron McKenzie To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=089e0158c61a858b7104fd50ae5c X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c61a858b7104fd50ae5c Content-Type: text/plain; charset=UTF-8 hey Lalit, I'm not familiar with Apache ManifoldCF, but the configuration sounds a bit strange. You've essentially got two independent ZooKeeper clusters set up. They won't communicate with each other at all. I'd presume that if you've got a database shared between your ManifoldCF instances, that you'd also want your ZooKeeper cluster to be shared between these two instances. In this case, you'd normally run your ZooKeeper nodes across both sites (2 + 1, or 3 + 2) and then have both of your client (ManifoldCF) nodes communicate with this cluster. Having said that, there may be a reason that ManifoldCF uses two independent clusters that don't communicate with each other, I'm not sure. cheers Cam On Fri, Jul 4, 2014 at 7:17 AM, lalit jangra wrote: > Hi, > > I am a newbie in Zookeeper are so please apologize for any not so relevant > question asked. > > I am running clustered Apache ManifoldCF on two nodes which are pointing to > same database. But i need synchronization between both nodes so avoid race > condition while both nodes are working together. > > For same, as per Apache ManifoldCF guidelines, i am using Zookeeper to > manage synchronization in cluster.Also as per ManifoldCF & Zookeeper > instructions, i have setup & configured two set of three Zookeeper server > at both nodes which are working fine. > > But i have a clustered setup where both ManifoldCF nodes point to same DB , > i am still clueless about how should i proceed to connect Zookeeper nodes > at both servers to make a single setup. > > Also i am not sure whether it is necessary or not but then the question > arises that how two servers & Zookeeper nodes in cluster will talk to each > other? > > So normally what should be the steps taken once zookeeper servers are setup > to maintain synchronization. > > Regards, > Lalit Jangra. > --089e0158c61a858b7104fd50ae5c--