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 9525910BF4 for ; Fri, 8 Nov 2013 15:31:28 +0000 (UTC) Received: (qmail 73687 invoked by uid 500); 8 Nov 2013 15:31:27 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 73657 invoked by uid 500); 8 Nov 2013 15:31:27 -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 72947 invoked by uid 500); 8 Nov 2013 15:31:25 -0000 Delivered-To: apmail-hadoop-zookeeper-user@hadoop.apache.org Received: (qmail 72644 invoked by uid 99); 8 Nov 2013 15:31:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 15:31:25 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 15:31:19 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Veo1S-0004T4-V9 for zookeeper-user@hadoop.apache.org; Fri, 08 Nov 2013 07:30:58 -0800 Date: Fri, 8 Nov 2013 07:30:58 -0800 (PST) From: "michael.boom" To: zookeeper-user@hadoop.apache.org Message-ID: <1383924658938-7579282.post@n2.nabble.com> Subject: Manually replicating ZK MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi! I have a ZK instance running on a machine and would like to increase this to instances o 3 different machines. Would it be possible to simply copy the dataDir of the currently running instance on the 2 new machines, update the configuration for all three instances (adding the hosts&ports of all ) and then restarting all 3 ZK instances? Would this work? -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/Manually-replicating-ZK-tp7579282.html Sent from the zookeeper-user mailing list archive at Nabble.com.