lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "SolrCloud" by YonikSeeley
Date Thu, 04 Feb 2010 17:04:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrCloud" page has been changed by YonikSeeley.
The comment on this change is: embedded ensemble example.
http://wiki.apache.org/solr/SolrCloud?action=diff&rev1=25&rev2=26

--------------------------------------------------

  
  As a convenience, we'll have the first server upload the solr config to the cluster.  You
will notice it block until you have actually started the second server.  This is due to zookeeper
needing a quorum before it can operate.
  
- NOTE: this doesn't work yet because the client of the second server checks for the collection
config before the first has finished uploading it, and the first server needs to wait until
the second server starts to establish a quorum to start uploading.
  {{{
  cd example
  java -Dbootstrap_confname=myconf -Dbootstrap_confdir=./solr/conf -DzkRun -DzkHost=localhost:9983,localhost:8574,localhost:9900
 -jar start.jar
@@ -143, +142 @@

  java -Djetty.port=7500 -DhostPort=7500 -DzkHost=localhost:9983,localhost:8574,localhost:9900
-jar start.jar
  }}}
  
+ Now since we are running three embedded zookeeper servers as an ensemble, everything can
keep working even if a server is lost.
+ To demonstrate this, kill the exampleB server by pressing CTRL+C in it's window and then
browse to http://localhost:8983/solr/admin/zookeeper.jsp to verify that the zookeeper service
still works.
  
  == ZooKeeper ==
  Multiple Zookeeper servers running together for fault tolerance and high availability is
called an ensemble.  For production, it's recommended that you run an external zookeeper ensemble
rather than having Solr run embedded servers.  See the [[http://hadoop.apache.org/zookeeper/|Apache
ZooKeeper]] site for more information on downloading and running a zookeeper ensemble.

Mime
View raw message