I really recommend you use the new-style core discovery, if for no
other reason than this style is deprecated in 5.0. See:
https://wiki.apache.org/solr/Solr.xml%204.4%20and%20beyond

FWIW,
Erick

On Sun, Sep 7, 2014 at 8:51 AM, Jakov Sosic <jso...@gmail.com> wrote:
> Hi guys,
>
>
> I'm trying to set up new solr cloud, with two core's, each with two shards
> and two replicas.
>
> This is my solr.xml:
>
> <?xml version="1.0" encoding="UTF-8" ?>
>   <solr persistent="true"
>         zkHost="10.200.1.104:2181,10.200.1.105:2181,10.200.1.106:2181">
>     <cores adminPath="/admin/cores"
>            defaultCoreName="mycore1"
>            host="${host:}" hostPort="${jetty.port:}"
>            hostContext="${hostContext:}"
>            zkClientTimeout="${zkClientTimeout:15000}">
>       <core name="mycore1" instanceDir="mycore1" numShards="2"/>
>       <core name="mycore2" instanceDir="mycore2" numShards="2"/>
>     </cores>
> </solr>
>
> But when I start everything, I can see 4 cores (each for 1 shard) are green
> in solr01:8080/solr/#/~cloud, but replicas are in yellow, RECOVERING state.
>
> How can I fix them to go from Recovering to Active?

Reply via email to