Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 696499AAD for ; Wed, 29 Feb 2012 09:20:57 +0000 (UTC) Received: (qmail 52208 invoked by uid 500); 29 Feb 2012 09:20:54 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 52146 invoked by uid 500); 29 Feb 2012 09:20:54 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 52137 invoked by uid 99); 29 Feb 2012 09:20:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 09:20:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.104.219.146] (HELO ironport2.kelkoo.com) (193.104.219.146) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 09:20:49 +0000 Received: from unknown (HELO DC1SRVEXC.ds.corp.kelkoo.net) ([10.76.97.31]) by ironport2-ex.kelkoo.net with ESMTP; 29 Feb 2012 10:20:27 +0100 Received: from gnb-kel-corp-wks-129.gnb.corp.kelkoo.net (10.76.76.228) by DC1SRVEXC.ds.corp.kelkoo.net (10.76.97.31) with Microsoft SMTP Server id 8.3.106.1; Wed, 29 Feb 2012 10:20:42 +0100 Message-ID: <4F4DEDDA.0@kelkoo.com> Date: Wed, 29 Feb 2012 10:20:26 +0100 From: Andre Bois-Crettez User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: "solr-user@lucene.apache.org" Subject: Re: Building a resilient cluster References: In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You have to run ZK on a at least 3 different machines for fault tolerance (a ZK ensemble). http://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_sha= rd_replicas_and_zookeeper_ensemble Ranjan Bagchi wrote: > Hi, > > I'm interested in setting up a solr cluster where each machine [at least > initially] hosts a separate shard of a big index [too big to sit on the > machine]. I'm able to put a cloud together by telling it that I have (to > start out with) 4 nodes, and then starting up nodes on 3 machines pointin= g > at the zkInstance. I'm able to load my sharded data onto each machine > individually and it seems to work. > > My concern is that it's not fault tolerant: if one of the non-zookeeper > machines falls over, the whole cluster won't work. Also, I can't create = a > shard with more data, and have it work within the existing cloud. > > I tried using -DshardId=3Dshard5 [on an existing 4-shard cluster], but it > just started replicating, which doesn't seem right. > > Are there ways around this? > > Thanks, > Ranjan Bagchi > > -- Andr=C3=A9 Bois-Crettez Search technology, Kelkoo http://www.kelkoo.com/ Kelkoo SAS Soci=C3=A9t=C3=A9 par Actions Simplifi=C3=A9e Au capital de =E2=82=AC 4.168.964,30 Si=C3=A8ge social : 8, rue du Sentier 75002 Paris 425 093 069 RCS Paris Ce message et les pi=C3=A8ces jointes sont confidentiels et =C3=A9tablis = =C3=A0 l'attention exclusive de leurs destinataires. Si vous n'=C3=AAtes pa= s le destinataire de ce message, merci de le d=C3=A9truire et d'en avertir = l'exp=C3=A9diteur.