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 CFF0210F54 for ; Thu, 7 Nov 2013 10:21:57 +0000 (UTC) Received: (qmail 49055 invoked by uid 500); 7 Nov 2013 10:21:32 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 48798 invoked by uid 500); 7 Nov 2013 10:21:15 -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 48762 invoked by uid 99); 7 Nov 2013 10:21:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 10:21:10 +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 arindam.mukerjee@gmail.com designates 209.85.220.42 as permitted sender) Received: from [209.85.220.42] (HELO mail-pa0-f42.google.com) (209.85.220.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 10:21:04 +0000 Received: by mail-pa0-f42.google.com with SMTP id kp14so398108pab.15 for ; Thu, 07 Nov 2013 02:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=e9x26fz8upiQoFcwekldBQjRP9MtTEwXD5QdomlqbhM=; b=gMmKqgVw8k80jajitashL7Ih5hle3DSxp3MyQ0mNdAJLUJnHr4XKYGaKt4GpQq5OKx kcDri3/RGJsAk4yX3cFfRJit65TgbLE29Dy3XHB3p4AxrrpjXvfq5nzwOCwmiLjSujV1 jHX9/GFxWcEuZxIhA4KqZi+NThmE7R7WQTEC8ID/0SHHUjNwFrDfbDMtt0r7u883fayi 8ba2senDJZV87Xa8rR5wglt0kRzvZREq4iZcd7MCDnSfZ355p+tSOmC2AN2oFU1uz31G DWHykJm2LWlr6W6oDw4nYT5kjO94aOvdhtbixGdcQMgQIzwZ31aRtL6CiOr8eEOXnts6 +6ew== MIME-Version: 1.0 X-Received: by 10.68.130.169 with SMTP id of9mr8192724pbb.79.1383819643262; Thu, 07 Nov 2013 02:20:43 -0800 (PST) Received: by 10.70.68.1 with HTTP; Thu, 7 Nov 2013 02:20:43 -0800 (PST) Date: Thu, 7 Nov 2013 15:50:43 +0530 Message-ID: Subject: Dynamic membership reconfig From: Arindam Mukherjee To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=047d7b10cac5451b9304ea939e69 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b10cac5451b9304ea939e69 Content-Type: text/plain; charset=ISO-8859-1 I am trying to create a dynamic ZooKeeper cluster of VMs. When each new VM comes up, I want it to join the cluster. I understand something to this effect is in the works but isn't out yet: http://www.slideshare.net/Hadoop_Summit/dynamic-reconfiguration-of-zookeeper What would be a good way to achieve this today? The only thing I can think of is to modify the zoo.conf on each and every VM including the new one, every time a new VM comes up, and then restarting ZK server on all VMs. Is there a better way? Thanks. Arindam --047d7b10cac5451b9304ea939e69--