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_shard_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 pointing
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=shard5 [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é Bois-Crettez

Search technology, Kelkoo
http://www.kelkoo.com/


Kelkoo SAS
Société par Actions Simplifiée
Au capital de € 4.168.964,30
Siège social : 8, rue du Sentier 75002 Paris
425 093 069 RCS Paris

Ce message et les pièces jointes sont confidentiels et établis à l'attention 
exclusive de leurs destinataires. Si vous n'êtes pas le destinataire de ce 
message, merci de le détruire et d'en avertir l'expéditeur.

Reply via email to