lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason <hialo...@gmail.com>
Subject How to recovery node
Date Fri, 19 Aug 2016 09:19:39 GMT
I'm new to solrcloud (ver.6.1). So, I'm in tutorial.
I tried to force removing specific node because I was wondering how to
recover a node.
But I can't solve the problem.

Below is my scenario.

> bin/solr -e cloud 
# make 2 nodes with 8983, 8984 port
# collection structure is below
# example/cloud/node1 (with 8983)
#                             /cloudexample_shard1_replica2
#                             /cloudexample_shard2_replica2
# example/cloud/node2 (with 8984)
#                             /cloudexample_shard1_replica1
#                             /cloudexample_shard2_replica1

> java -Dc=gettingstarted -jar post.jar *.xml
# indexing and searching is ok.

> bin/solr stop -p 8984
# force to shutdown node2 and remove example/cloud/node2

> mkdir -p example/cloud/new_node2/solr
> cp example/cloud/node1/solr/solr.xml example/cloud/new_node2/solr
> bin/solr start -c -p 8984 -z localhost:9983 -x
> example/cloud/new_node2/solr

everything is good so far, but after this how should I recover node2 same as
before remove?





--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-recovery-node-tp4292354.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message