[ 
https://issues.apache.org/jira/browse/SOLR-9338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402233#comment-15402233
 ] 

Cassandra Targett commented on SOLR-9338:
-----------------------------------------

Looks like there are a couple of improvements being suggested here:

# improve the documentation on starting in SolrCloud mode, particularly on a 
single node
# improve {{bin/solr}} help output

I'd suggest separate issues for each - the more targeted a request for 
improvement, the more likely someone will be able to pick it up and include it 
in a future release.

For the documentation part, there is some documentation for exactly your case. 
The Solr Start Script Reference page calls out starting in SolrCloud mode as a 
special case 
(https://cwiki.apache.org/confluence/display/solr/Solr+Start+Script+Reference#SolrStartScriptReference-SolrCloudMode),
 and points to the Getting Started with SolrCloud page 
(https://cwiki.apache.org/confluence/display/solr/Getting+Started+with+SolrCloud)
 which walks through a detailed example of starting Solr in SolrCloud mode on a 
single machine. I'm sure there are ways that could be easier to find or more 
clear - do you have suggestions that would have helped you [~tenstriker]?

> 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]

Reply via email to