Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
ize. -- Jack Krupansky -Original Message- From: Yonik Seeley Sent: Thursday, December 06, 2012 11:41 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud On Thu, Dec 6, 2012 at 8:42 PM, Jack Krupansky wrote: And this is precisely why the mystery remains -

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Yonik Seeley
On Thu, Dec 6, 2012 at 8:42 PM, Jack Krupansky wrote: > And this is precisely why the mystery remains - because you're only > describing half the picture! Describe the rest of the picture - including > what exactly those two zks can and can't do, including resolution of ties > and the concept of "

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
-- From: Jack Krupansky Sent: Thursday, December 06, 2012 8:39 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud And this is precisely why the mystery remains - because you're only describing half the picture! Describe the rest of the picture - includin

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
riginal Message- From: Walter Underwood Sent: Thursday, December 06, 2012 8:33 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud Configure an ensemble of three. When one goes down, you still have an ensemble of three, but with one down. The ensemble size is not reset

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Walter Underwood
mber 06, 2012 7:51 PM > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with SolrCloud > > What is the mystery? Two is not more than half of four. Therefore, two > machines is not a quorum for a four machine Zookeeper ensemble. > > wunder > > On Dec 6,

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
From: Walter Underwood Sent: Thursday, December 06, 2012 7:51 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud What is the mystery? Two is not more than half of four. Therefore, two machines is not a quorum for a four machine Zookeeper ensemble. wunder On Dec 6, 201

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Walter Underwood
Original Message- From: Walter Underwood > Sent: Thursday, December 06, 2012 7:30 PM > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with SolrCloud > > The Zookeeper ensemble knows the total size. It does not adjust it each time > that a machine is partition

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
It's still an unresolved mystery, for now. -- Jack Krupansky -Original Message- From: Walter Underwood Sent: Thursday, December 06, 2012 7:30 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud The Zookeeper ensemble knows the total size. It doe

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Walter Underwood
d be fine. I mean whether you start > with 4 and lose 2 or start with 3 and lose 1 is the same, right? > > -- Jack Krupansky > > -Original Message- From: Yonik Seeley > Sent: Thursday, December 06, 2012 6:34 PM > To: solr-user@lucene.apache.org > Subject: Re: Minimum H

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
r you start with 4 and lose 2 or start with 3 and lose 1 is the same, right? -- Jack Krupansky -Original Message- From: Yonik Seeley Sent: Thursday, December 06, 2012 6:34 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud On Thu, Dec 6, 2012 at 5:55 PM,

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Yonik Seeley
On Thu, Dec 6, 2012 at 5:55 PM, Jack Krupansky wrote: > I trust that you have the right answer, Mark, but maybe I'm just struggling > to parse this statement: "the remaining two machines do not constitute a > majority." > > If you start with 3 zk and lose one, you have an ensemble that does not >

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Mark Miller
On Dec 6, 2012, at 2:55 PM, Jack Krupansky wrote: > I mean, there must be some hard-core downside, other than that you can't lose > any more nodes. Nope, not really. You just can't lose any more nodes. Technically, you will also lose a bit of read performance - but write performance generall

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
From: Mark Miller Sent: Thursday, December 06, 2012 5:49 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud 3 is the minimum if you want to allow a node to go down. 1 is the minimum if you want the thing to work at all - but if the 1 goes down, ZooKeeper may stop

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Mark Miller
On Dec 6, 2012, at 2:32 PM, Michael Della Bitta wrote: > I just rethought what I wrote and it doesn't make any sense. :) > > If you have two remaining nodes left when you have a three node ensemble, > how are ties broken? Or does Zookeeper not resolve ties since it doesn't > tolerate partition

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Mark Miller
sky > > -Original Message- From: Otis Gospodnetic > Sent: Thursday, December 06, 2012 4:39 PM > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with SolrCloud > > 1 is the minimum :) > 2 makes no sense. > 3 must be the most common number i

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Michael Della Bitta
upansky wrote: > >> Slightly more recent link: >> http://zookeeper.apache.org/**doc/r3.4.5/zookeeperAdmin.html<http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html> >> >> -- Jack Krupansky >> >> -----Original Message- From: Jack Krupansky >> Sent: Thursday,

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Michael Della Bitta
5/zookeeperAdmin.html<http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html> > > -- Jack Krupansky > > -Original Message- From: Jack Krupansky > Sent: Thursday, December 06, 2012 5:21 PM > > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Yonik Seeley
On Thu, Dec 6, 2012 at 5:21 PM, Jack Krupansky wrote: > If 1 is the minimum, what is the 3 "minimum" all about? The minimum for running an ensemble (a cluster) and having any sort of fault tolerance? > The zk web page does say "Three ZooKeeper servers is the minimum recommended > size for an ens

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Walter Underwood
y more recent link: > http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html > > -- Jack Krupansky > > -Original Message- From: Jack Krupansky > Sent: Thursday, December 06, 2012 5:21 PM > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with So

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
Slightly more recent link: http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Thursday, December 06, 2012 5:21 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud Rewind. If 1 is the

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
tic Sent: Thursday, December 06, 2012 4:39 PM To: solr-user@lucene.apache.org Subject: Re: Minimum HA Setup with SolrCloud 1 is the minimum :) 2 makes no sense. 3 must be the most common number in the zoo. Otis -- Performance Monitoring - http://sematext.com/spm/index.html Search Analytic

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Michael Della Bitta
f > > zookeepers. > > > > -- Jack Krupansky > > > > -Original Message- From: Mark Miller > > Sent: Thursday, December 06, 2012 9:30 AM > > To: solr-user@lucene.apache.org > > Subject: Re: Minimum HA Setup with SolrCloud > > > > >

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Otis Gospodnetic
olr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with SolrCloud > > > It depends on if you are running embedded zk or an external zk ensemble. > > One leader and a replica is all you need for Solr to allow on machine to > go down - but if those same machines are running z

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Thomas Heigl
Thanks a lot guys! On Thu, Dec 6, 2012 at 4:22 PM, Markus Jelsma wrote: > > -Original message- > > From:Yonik Seeley > > Sent: Thu 06-Dec-2012 16:01 > > To: solr-user@lucene.apache.org > > Subject: Re: Minimum HA Setup with SolrCloud > > > > On

RE: Minimum HA Setup with SolrCloud

2012-12-06 Thread Markus Jelsma
-Original message- > From:Yonik Seeley > Sent: Thu 06-Dec-2012 16:01 > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with SolrCloud > > On Thu, Dec 6, 2012 at 9:56 AM, Markus Jelsma > wrote: > > The quorum is the minimun, so it depends on h

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Mark Miller
On Dec 6, 2012, at 6:54 AM, Yonik Seeley wrote: > On Thu, Dec 6, 2012 at 9:56 AM, Markus Jelsma > wrote: >> The quorum is the minimun, so it depends on how many you have running in the >> ensemble. If it's three or four, then two is the quorum > > I think that for 4 ZK servers, then 3 would b

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Yonik Seeley
On Thu, Dec 6, 2012 at 9:56 AM, Markus Jelsma wrote: > The quorum is the minimun, so it depends on how many you have running in the > ensemble. If it's three or four, then two is the quorum I think that for 4 ZK servers, then 3 would be the quorum? -Yonik http://lucidworks.com

RE: Minimum HA Setup with SolrCloud

2012-12-06 Thread Markus Jelsma
> Sent: Thu 06-Dec-2012 15:53 > To: solr-user@lucene.apache.org > Subject: Re: Minimum HA Setup with SolrCloud > > "but if those same machines are running zookeeper, you need 3." > > And one of those 3 can go down? I thought 3 was the minimum number o

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Jack Krupansky
rg Subject: Re: Minimum HA Setup with SolrCloud It depends on if you are running embedded zk or an external zk ensemble. One leader and a replica is all you need for Solr to allow on machine to go down - but if those same machines are running zookeeper, you need 3. You could also run zookee

Re: Minimum HA Setup with SolrCloud

2012-12-06 Thread Mark Miller
It depends on if you are running embedded zk or an external zk ensemble. One leader and a replica is all you need for Solr to allow on machine to go down - but if those same machines are running zookeeper, you need 3. You could also run zookeeper on one external machine and then it would be fine

Minimum HA Setup with SolrCloud

2012-12-06 Thread Thomas Heigl
Hey all, I'm in the process of migrating a single Solr 4.0 instace to a SolrCloud setup for availability reasons. After studying the wiki page for SolrCloud I'm not sure what the absolute minimum setup is that would allow for one machine to go down. Would it be enough to have one shard with one