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 1F4B7DB12 for ; Sat, 1 Sep 2012 20:46:29 +0000 (UTC) Received: (qmail 74317 invoked by uid 500); 1 Sep 2012 20:46:28 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 74291 invoked by uid 500); 1 Sep 2012 20:46:28 -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 74283 invoked by uid 99); 1 Sep 2012 20:46:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2012 20:46:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of peter.litvak@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2012 20:46:23 +0000 Received: by qafk1 with SMTP id k1so1637480qaf.15 for ; Sat, 01 Sep 2012 13:46:02 -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=QVpfFbpV3PiYrseFihCwxQsl93KvFrXAlYDl58Cw+6Y=; b=uAnxzpQQmIgRVT/ukyKTl5Sxj+4xeuBqaQ75f+3O5p4ppDARRO90BI1pw0MX68Fhxf oMDnazMxPZxC2X52yU/S0ieMgkZ6dBZTs4xn3cEkAsJ3eXHzMs7NtErF8sjZbNN1jOis 1S22WUQTH8bEOTRGfvbBwyZR5J3/aEodSoU/0FSlsrddrR+BRf2+optssYY0u7edfat8 DO2FtuPVx+PsvWNnWYGMhWLYtG/LlOMk+obYmglCU322xxIre4bfBTk6nUvHWrQ2o6aH c70g6bY+aaUCOp+bq27q7l+z5pEgO4PVys4RMPQMHZM9X+2SFVOzUJTPTSETRncfpGAN LsYg== MIME-Version: 1.0 Received: by 10.224.186.130 with SMTP id cs2mr26577267qab.22.1346532362597; Sat, 01 Sep 2012 13:46:02 -0700 (PDT) Received: by 10.49.131.66 with HTTP; Sat, 1 Sep 2012 13:46:02 -0700 (PDT) Received: by 10.49.131.66 with HTTP; Sat, 1 Sep 2012 13:46:02 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 Sep 2012 16:46:02 -0400 Message-ID: Subject: Re: is it possible to run multiple servers on the same machine and have data replication working? From: Peter Litvak To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=485b397dd68d26b59204c8a9ffb3 X-Virus-Checked: Checked by ClamAV on apache.org --485b397dd68d26b59204c8a9ffb3 Content-Type: text/plain; charset=ISO-8859-1 Hmm, then something else is wrong, I don't get data replication across the servers. I'm wondering what could be the problem. On Sep 1, 2012 4:42 PM, "Hartmut Lang" wrote: > Hi Peter, > > running multiple instances on the same machine is no problem. > You just have to use different config-files (zoo.cfg), and set different > data-dirs in them (dataDir=...). > > Hartmut > > > 2012/8/31 Patrick Hunt > > > Take a look at this: https://github.com/phunt/zkconf If you run it > > with --count=x (see the examples) it will generate the proper configs, > > as well as a start script to run all locally. > > > > Patrick > > > > On Fri, Aug 31, 2012 at 1:05 PM, Peter Litvak > > wrote: > > > Hi All, > > > > > > There is an explanation on how to run multiple instances of the > zookeeper > > > server on the same machine (in getting started) but that seems doesn't > > > allow data replication between those servers. > > > Is there a way to achieve a data replication among servers running on > the > > > same machine? > > > > > > I suspect that the answer is NO, just wanted to make sure. > > > > > > Thank you, > > > Peter > > > --485b397dd68d26b59204c8a9ffb3--