You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by didier deshommes <df...@gmail.com> on 2013/09/18 19:14:36 UTC

Solrcloud - adding a node as a replica?

Hi,
How do I add a node as a replica to a solrcloud cluster? Here is my
situation: some time ago, I created several collections
with replicationFactor=2. Now I need to add a new replica. I thought just
starting a new node and re-using the same zokeeper instance would make it
automatically a replica, but that isn't the case. Do I need to delete and
re-create my collections with the right replicationFactor (3 in this case)
again? I am using solr 4.3.0.

Thanks,
didier

Re: Solrcloud - adding a node as a replica?

Posted by Mugeesh Husain <mu...@gmail.com>.
Hi, kamaci

I have 3 server, solr1, solr2 and solr3

I want to create 3 core in server solr1,and solr2 Not solr 3 in any
core/collection.

I want to create 3 replica wrt to above core, replica would be in server
solr3.

When i create one core using bin/solr create -c abc -shard 1 -replicaFactor
1, it is creating core on server 3 not server 2 or 3.

I want to create replica in following way.
core 1 --- shard1 -replica server(solr1)
                          -replica server(solr3)


core 2 --- shard1 -replica server(solr2)
                          -replica server(solr3)


core 3--- shard1 -replica server(solr1)
                          -replica server(solr3)







--
View this message in context: http://lucene.472066.n3.nabble.com/Solrcloud-adding-a-node-as-a-replica-tp4090890p4243576.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solrcloud - adding a node as a replica?

Posted by Furkan KAMACI <fu...@gmail.com>.
Do not hesitate to ask questions if you have any problems about it.


2013/9/19 didier deshommes <df...@gmail.com>

> Thanks Furkan,
> That's exactly what I was looking for.
>
>
> On Wed, Sep 18, 2013 at 4:21 PM, Furkan KAMACI <furkankamaci@gmail.com
> >wrote:
>
> > Are yoh looking for that:
> >
> >
> http://lucene.472066.n3.nabble.com/SOLR-Cloud-Collection-Management-quesiotn-td4063305.html
> >
> > 18 Eylül 2013 Çarşamba tarihinde didier deshommes <df...@gmail.com>
> > adlı
> > kullanıcı şöyle yazdı:
> > > Hi,
> > > How do I add a node as a replica to a solrcloud cluster? Here is my
> > > situation: some time ago, I created several collections
> > > with replicationFactor=2. Now I need to add a new replica. I thought
> just
> > > starting a new node and re-using the same zokeeper instance would make
> it
> > > automatically a replica, but that isn't the case. Do I need to delete
> and
> > > re-create my collections with the right replicationFactor (3 in this
> > case)
> > > again? I am using solr 4.3.0.
> > >
> > > Thanks,
> > > didier
> > >
> >
>

Re: Solrcloud - adding a node as a replica?

Posted by didier deshommes <df...@gmail.com>.
Thanks Furkan,
That's exactly what I was looking for.


On Wed, Sep 18, 2013 at 4:21 PM, Furkan KAMACI <fu...@gmail.com>wrote:

> Are yoh looking for that:
>
> http://lucene.472066.n3.nabble.com/SOLR-Cloud-Collection-Management-quesiotn-td4063305.html
>
> 18 Eylül 2013 Çarşamba tarihinde didier deshommes <df...@gmail.com>
> adlı
> kullanıcı şöyle yazdı:
> > Hi,
> > How do I add a node as a replica to a solrcloud cluster? Here is my
> > situation: some time ago, I created several collections
> > with replicationFactor=2. Now I need to add a new replica. I thought just
> > starting a new node and re-using the same zokeeper instance would make it
> > automatically a replica, but that isn't the case. Do I need to delete and
> > re-create my collections with the right replicationFactor (3 in this
> case)
> > again? I am using solr 4.3.0.
> >
> > Thanks,
> > didier
> >
>

Re: Solrcloud - adding a node as a replica?

Posted by Furkan KAMACI <fu...@gmail.com>.
Are yoh looking for that:
http://lucene.472066.n3.nabble.com/SOLR-Cloud-Collection-Management-quesiotn-td4063305.html

18 Eylül 2013 Çarşamba tarihinde didier deshommes <df...@gmail.com> adlı
kullanıcı şöyle yazdı:
> Hi,
> How do I add a node as a replica to a solrcloud cluster? Here is my
> situation: some time ago, I created several collections
> with replicationFactor=2. Now I need to add a new replica. I thought just
> starting a new node and re-using the same zokeeper instance would make it
> automatically a replica, but that isn't the case. Do I need to delete and
> re-create my collections with the right replicationFactor (3 in this case)
> again? I am using solr 4.3.0.
>
> Thanks,
> didier
>