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 49960107B8 for ; Tue, 12 Nov 2013 04:46:32 +0000 (UTC) Received: (qmail 70143 invoked by uid 500); 12 Nov 2013 04:46:29 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 70011 invoked by uid 500); 12 Nov 2013 04:46:23 -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 69999 invoked by uid 99); 12 Nov 2013 04:46:22 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 04:46:22 +0000 Received: from localhost (HELO mail-wg0-f49.google.com) (127.0.0.1) (smtp-auth username phunt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 04:46:21 +0000 Received: by mail-wg0-f49.google.com with SMTP id x13so1503547wgg.4 for ; Mon, 11 Nov 2013 20:46:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=2rH5yhcg+9OrTH8PLSCD+Q4+ZlftQfuvoV1fZOfUCLE=; b=Tmb/I7qNjaoWdD4y9wuaJ2vAtsNvkRRSslbRkYNhERFFoIft6beChF8PVsTD7iQDuK TGWkXOxfhixnHvUkJdai4IurGVlr166M1le0aT0u5p4qHSfhh6zI6IKeNvxDSPsK4c3u BhaMjCBO6tdwn788tsuUdqSOGVwTbycmieJRsJy4DPa2MVrOwDuvXtImvGrYLxMDLKWx mWwpvnqStWWbckTNcSLnQ36EPsWBJaDNpMV3oO5/xTyYCGf50eyjem0btN/iEDZHe9oe KKri88mFLsdmszNhVTrPT31c8afluOykgDMBMobYnnFDyWTvQCfixUP+t81LqOxPNKKc /u+g== X-Received: by 10.180.187.113 with SMTP id fr17mr8543214wic.35.1384231579909; Mon, 11 Nov 2013 20:46:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.152.193 with HTTP; Mon, 11 Nov 2013 20:45:59 -0800 (PST) In-Reply-To: References: From: Patrick Hunt Date: Mon, 11 Nov 2013 20:45:59 -0800 Message-ID: Subject: Re: Staggered start of nodes in an ensemble To: UserZooKeeper Content-Type: text/plain; charset=ISO-8859-1 You might also ensure that the vms can communicate over the ports you're using. No firewall say. Have you looked at the logs at all? They might shed more light as well. Patrick On Mon, Nov 11, 2013 at 7:13 PM, kishore g wrote: > can you provide the configurations (zoo.cfg) on each server. From the > description, your server 1 seems to be incorrectly configured. > > thanks, > Kishore G > > > On Mon, Nov 11, 2013 at 8:19 AM, Arindam Mukherjee < > arindam.mukerjee@gmail.com> wrote: > >> Of late I have been bombarding this list with questions and am getting >> a little frustrated at my lack of understanding of ZooKeeper. I am up >> against deadlines that look infeasible now. :( >> >> Anyway, having majorly failed to get going with 3.5.0 (you might see a >> question earlier today), I decided, for the purposes of a PoC to >> create a static 3.4.6 configuration. Say, create max 3 VMs, of which 2 >> are always up. Initially 1 and 2 would be up. I would be listing 3 >> servers in the config - server.1 through server.3. >> >> I brought up the servers on 1 and 2 in that order using "zkServer.sh >> start-foreground". However they failed to connect and form a quorum >> and the foreground server process showed an increasing timeout. Then I >> brought up 3 at which point 2 and 3 were able to connect. >> >> Next I started zkCli.sh from 1 - it failed to connect to any box. >> However the ones on 2 and 3 connected neatly. I am at a little loss to >> explain this. Need help. >> >> Thanks. >> Arindam >>