On 8/16/2014 8:11 AM, waqas sarwar wrote: >> Thank you so much. You helped alot. One more question is that can i use only >> one zookeeper server to manage 3 solr servers, or i've to configure 3 >> zookeeper servers for each. >And zookeeper servers should be stand alone or >> better to use same solr server machine ?>>Best Regards,>Waqas >>
I think Erick basically said the same thing as this, in a slightly different way: If you want zookeeper to be fault tolerant, you must have at least three servers running it. One zookeeper will work, but if it goes down, SolrCloud doesn't function properly. Three are needed for full redundancy. If one of the three goes down, the other two will still function as a quorum. You can use the same servers for Zookeeper and Solr. This *can* be a source of performance problems, but that will usually only be a problem if you put a major load on your SolrCloud. If you do put them on the same server, I would recommend putting the zk database on a separate disk or disks -- the CPU requirements for Zookeeper are very small, but it relies on extremely responsive I/O to/from its database. As Erick said, we strongly recommend that you don't use the embedded ZK -- this starts up a zookeeper server in the same Java process as Solr. If Solr is stopped or goes down, you also lose zookeeper. Thanks, Shawn