Solr Vesrion: 4.3
Solr Cloud

Machine 1: 
running 2 shards - 
shard 1: java -Dbootstrap_confdir=./solr/collection1/conf
-Dcollection.configName=myconf -DzkRun -DnumShards=2 -jar start.jar
shard 2: java -Djetty.port=7574 -DzkHost=localhost:9983 -jar start.jar

Machine 2:
Running 2 replicas - 
Shard 1 replica: java -Djetty.port=8900 -DzkHost=machine_1_IP:9983 -jar
start.jar
Shard 2 replica: java -Djetty.port=7500 -DzkHost= machine_1_IP:9983 -jar
start.jar

Replica 1 is identified in the cloud.
Replica 2 has an error:  

ERROR - 2013-06-25 15:17:27.807; org.apache.solr.common.SolrException; 
Error while trying to recover.
core=collection1:org.apache.solr.client.solrj.SolrServerException: 
Server refused connection at: MACHINE_1_IP:7574/solr
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java
:406)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java
:180)
        at
org.apache.solr.cloud.RecoveryStrategy.sendPrepRecoveryCmd(RecoveryStrategy.
java:202)
        at
org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:346)
        at
org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:223)

Thanks

-----Original Message-----
From: Jan Høydahl [mailto:jan....@cominvent.com] 
Sent: Tuesday, June 25, 2013 3:42 PM
To: solr-user@lucene.apache.org
Subject: Re: Several Machines Communication Failure

Hi,

We cannot help you based on this brief email.

Please provide a much more detailed description. Version of Solr, SolrCloud
or not. How exactly have you done this move? Relevant configuration
snippets, relevant log snippets of what goes wrong...

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

25. juni 2013 kl. 12:36 skrev "Ophir Michaeli" <micha...@wesee.com>:

> Hi,
> 
> I have a 2 Solr shards and 2 replicas running on the same machine ok.
> When I try to put each shard/replica on another machine (and set the ips
> accordingly) it fails, or work slowly, and fails sometimes.
> Any explanation for this behavior? 
> 
> Thanks
> 

Reply via email to