nirav patel created SOLR-9338:
---------------------------------
Summary: Solr cloud setup for 2 node cluster using embedded
zookeepr
Key: SOLR-9338
URL: https://issues.apache.org/jira/browse/SOLR-9338
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: documentation
Affects Versions: 6.1
Reporter: nirav patel
I recently started using solr. I explored quite a bit into solr core over
single machine. But I struggled a lot when I wanted to start 2 node solr server
with embedded zookeeper. Well cause there is no documentation for it. I think
anyone who want to run solr as a cloud would like to set it up on more then one
cluster and play around with collections, admin UI to get realistic learning of
a solr cloud.
Here are simple steps to achieve this:
Run following on node where you want to start embedded zookeeper
./bin/solr start -cloud
All other nodes:
./bin/solr start -cloud -m 4g -z <node_with_zookeeper>:<zookeeper_port>
Also all command line utility like solr and post can use a decent
documentation. Lot of options and commands are not even visible through call to
`solr -help` . e.g. I didn't know till now that -healthcheck is a command!
I know there's a rich solr API which is invaluable for development and
production use but anyone who just picking up and wants to play around CLI is a
great way.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]