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 jimtronic <ji...@gmail.com> on 2013/03/09 00:46:21 UTC
Multiple Collections in one Zookeeper
Hi,
I have a solrcloud cluster running several cores and pointing at one
zookeeper.
For performance reasons, I'd like to move one of the cores on to it's own
dedicated cluster of servers. Can I use the same zookeeper to keep track of
both clusters.
Thanks!
Jim
--
View this message in context: http://lucene.472066.n3.nabble.com/Multiple-Collections-in-one-Zookeeper-tp4045936.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Multiple Collections in one Zookeeper
Posted by Mark Miller <ma...@gmail.com>.
You want to create both under different root nodes in zk, so that you would have
/cluster1
and
/cluster2
Then you startup with addresses of:
> zookeeper:{port1},zookeeper:{port2}/cluster1
> zookeeper:{port2},zookeeper:{port2}/cluster2
If you are using one of the bootstrap calls on startup, it should create those for you with Solr 4.1, otherwise you have to create the root nodes ahead of time (you can use the zkcli tool we provide).
- mark
On Mar 9, 2013, at 2:38 AM, jimtronic <ji...@gmail.com> wrote:
> Ok, I'm a little confused.
>
> I had originally bootstrapped zookeeper using a solr.xml file which
> specified the following cores:
>
> cats
> dogs
> birds
>
> In my /solr/#/cloud?view=tree view I see that I have
>
> /collections
> /cats
> /dogs
> /birds
> /configs
> /cats
> /dogs
> /birds
>
> When I launch a new server and connect it to zookeeper, it creates all three
> collections. What I'd like to do is move cats to it's own set of boxes.
>
> When I run:
>
> java -DzkHost=zookeeper:9893/cats -jar start.jar
>
> or
>
> java -DzkHost=zookeeper:9893,zookeeper:9893/cats -jar start.jar
>
>
> I get this error:
>
> SEVERE: Could not create Overseer node
>
> For simplicity, I'd like to only have zookeeper ensemble.
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Multiple-Collections-in-one-Zookeeper-tp4045936p4045981.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Re: Multiple Collections in one Zookeeper
Posted by jimtronic <ji...@gmail.com>.
Ok, I'm a little confused.
I had originally bootstrapped zookeeper using a solr.xml file which
specified the following cores:
cats
dogs
birds
In my /solr/#/cloud?view=tree view I see that I have
/collections
/cats
/dogs
/birds
/configs
/cats
/dogs
/birds
When I launch a new server and connect it to zookeeper, it creates all three
collections. What I'd like to do is move cats to it's own set of boxes.
When I run:
java -DzkHost=zookeeper:9893/cats -jar start.jar
or
java -DzkHost=zookeeper:9893,zookeeper:9893/cats -jar start.jar
I get this error:
SEVERE: Could not create Overseer node
For simplicity, I'd like to only have zookeeper ensemble.
--
View this message in context: http://lucene.472066.n3.nabble.com/Multiple-Collections-in-one-Zookeeper-tp4045936p4045981.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Multiple Collections in one Zookeeper
Posted by Michael Della Bitta <mi...@appinions.com>.
Yes, but you'll need to append a sub path on to the zookeeper path for your
second cluster. For ex:
zookeeper1.example.com,zookeeper2.example.com,zookeeper3.example.com/subpath
On Mar 8, 2013 6:46 PM, "jimtronic" <ji...@gmail.com> wrote:
> Hi,
>
> I have a solrcloud cluster running several cores and pointing at one
> zookeeper.
>
> For performance reasons, I'd like to move one of the cores on to it's own
> dedicated cluster of servers. Can I use the same zookeeper to keep track of
> both clusters.
>
> Thanks!
> Jim
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Multiple-Collections-in-one-Zookeeper-tp4045936.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>