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 Enrico Trucco <tr...@gmail.com> on 2014/11/14 13:41:49 UTC

One ZooKeeper and many Solr clouds

Hello

I am considering to start using Solr Cloud and to share a single ZooKeeper
between different Solr clouds and eventually other software.

In all the examples I see online, the configuration of a Solr cloud is
stored in the root node of ZooKeeper.
I was wandering if it is possible to specify the node under which Solr
stores its configuration.
For example, let's suppose that i have 2 Solr clouds (solr1 and solr2)
and another software sharing the same zookeeper instance and storing files
under other1.

I would like to have 3 nodes like
/solr1
/solr2
/other1
Each of them containing files of a single entity.
I will manage isolation through ZooKeeper ACL functionalities.

Is there a way to achieve this?

Regards
Enrico

Re: One ZooKeeper and many Solr clouds

Posted by Enrico Trucco <tr...@gmail.com>.
Thank you very much, Jürgen.


2014-11-14 13:51 GMT+01:00 "Jürgen Wagner (DVT)" <
juergen.wagner@devoteam.com>:

>  Hello Enrico,
>   you may use the chroot feature of Zookeeper to root the different
> SolrCloud instances differently. Instead of zoohost1:2181, you can use
> zoohost1:2181/cluster1 as the Zookeeper location. Unless there is a load
> issue with high rates of updates and other data traffic, a single Zookeeper
> ensemble can very well handle multiple SolrCloud instances.
>
> https://wiki.apache.org/solr/SolrCloud#Zookeeper_chroot
>
> Best regards,
> --Jürgen
>
>
>
> On 14.11.2014 13:41, Enrico Trucco wrote:
>
> Hello
>
> I am considering to start using Solr Cloud and to share a single ZooKeeper
> between different Solr clouds and eventually other software.
>
> In all the examples I see online, the configuration of a Solr cloud is
> stored in the root node of ZooKeeper.
> I was wandering if it is possible to specify the node under which Solr
> stores its configuration.
> For example, let's suppose that i have 2 Solr clouds (solr1 and solr2)
> and another software sharing the same zookeeper instance and storing files
> under other1.
>
> I would like to have 3 nodes like
> /solr1
> /solr2
> /other1
> Each of them containing files of a single entity.
> I will manage isolation through ZooKeeper ACL functionalities.
>
> Is there a way to achieve this?
>
> Regards
> Enrico
>
>
>
>
> --
>
> Mit freundlichen Grüßen/Kind regards/Cordialement vôtre/Atentamente/С
> уважением
> *i.A. Jürgen Wagner*
> Head of Competence Center "Intelligence"
> & Senior Cloud Consultant
>
> Devoteam GmbH, Industriestr. 3, 70565 Stuttgart, Germany
> Phone: +49 6151 868-8725, Fax: +49 711 13353-53, Mobile: +49 171 864 1543
> E-Mail: juergen.wagner@devoteam.com, URL: www.devoteam.de
> ------------------------------
> Managing Board: Jürgen Hatzipantelis (CEO)
> Address of Record: 64331 Weiterstadt, Germany; Commercial Register:
> Amtsgericht Darmstadt HRB 6450; Tax Number: DE 172 993 071
>
>
>

Re: One ZooKeeper and many Solr clouds

Posted by "Jürgen Wagner (DVT)" <ju...@devoteam.com>.
Hello Enrico,
  you may use the chroot feature of Zookeeper to root the different
SolrCloud instances differently. Instead of zoohost1:2181, you can use
zoohost1:2181/cluster1 as the Zookeeper location. Unless there is a load
issue with high rates of updates and other data traffic, a single
Zookeeper ensemble can very well handle multiple SolrCloud instances.

https://wiki.apache.org/solr/SolrCloud#Zookeeper_chroot

Best regards,
--Jürgen


On 14.11.2014 13:41, Enrico Trucco wrote:
> Hello
>
> I am considering to start using Solr Cloud and to share a single ZooKeeper
> between different Solr clouds and eventually other software.
>
> In all the examples I see online, the configuration of a Solr cloud is
> stored in the root node of ZooKeeper.
> I was wandering if it is possible to specify the node under which Solr
> stores its configuration.
> For example, let's suppose that i have 2 Solr clouds (solr1 and solr2)
> and another software sharing the same zookeeper instance and storing files
> under other1.
>
> I would like to have 3 nodes like
> /solr1
> /solr2
> /other1
> Each of them containing files of a single entity.
> I will manage isolation through ZooKeeper ACL functionalities.
>
> Is there a way to achieve this?
>
> Regards
> Enrico
>


-- 

Mit freundlichen Grüßen/Kind regards/Cordialement vôtre/Atentamente/С
уважением
*i.A. Jürgen Wagner*
Head of Competence Center "Intelligence"
& Senior Cloud Consultant

Devoteam GmbH, Industriestr. 3, 70565 Stuttgart, Germany
Phone: +49 6151 868-8725, Fax: +49 711 13353-53, Mobile: +49 171 864 1543
E-Mail: juergen.wagner@devoteam.com
<ma...@devoteam.com>, URL: www.devoteam.de
<http://www.devoteam.de/>

------------------------------------------------------------------------
Managing Board: Jürgen Hatzipantelis (CEO)
Address of Record: 64331 Weiterstadt, Germany; Commercial Register:
Amtsgericht Darmstadt HRB 6450; Tax Number: DE 172 993 071