Mike -

Thank you, this was very helpful. I've doing some research and
experimenting.

As currently configured solr is launched as a service. I looked at the
sol.in.sh file in /etc/default and we are running using a list of servers
for the zookeeper cluster.

so I think that is translated to -z zookeeper1,zookeeper2,zookeeper3 (these
are defined in the hosts file)

If I understand what I am reading setting a specific configset path would
be done explicitly by adding the path to the end of the zookeeper server
list:

-z zookeeper1,zookeeper2,zookeeper3/solr_dev for example.

However, I'm not sure how to switch the production cluster to explicitly
reference the directory it currently uses. Do I need to setup the directory
first?

As per this?
https://lucene.apache.org/solr/guide/6_6/taking-solr-to-production.html#TakingSolrtoProduction-ZooKeeperchroot

Would I setup say solr_prod, upconfig all the configs, switch over one node
and then migrate over the rest of the nodes , ending with the leader?

Would that then move production to solr_prod as the config base?

Once that is done I would then setup the dev.

Does any of this make sense?

Jim K.


On Thu, Sep 14, 2017 at 4:08 PM Mike Drob <md...@apache.org> wrote:

> When you specify the zk string for a solr instance, you typically include a
> chroot in it. I think the default is /solr, but it doesn't have to be, so
> you should be able to run with -z zk1:2181/sorl-dev and /solr-prod
>
>
> https://lucene.apache.org/solr/guide/6_6/setting-up-an-external-zookeeper-ensemble.html#SettingUpanExternalZooKeeperEnsemble-PointSolrattheinstance
>
> On Thu, Sep 14, 2017 at 3:01 PM, James Keeney <nextves...@gmail.com>
> wrote:
>
> > I have a staging and a production solr cluster. I'd like to have them use
> > the same zookeeper cluster. It seems like it is possible if I can set a
> > different directory for the second cluster. I've looked through the
> > documentation though and I can't quite figure out where to set that up.
> As
> > a result my staging cluster nodes keep trying to add themselves tot he
> > production cluster.
> >
> > If someone could point me in the right direction?
> >
> > Jim K.
> > --
> > Jim Keeney
> > President, FitterWeb
> > E: j...@fitterweb.com
> > M: 703-568-5887 <(703)%20568-5887>
> >
> > *FitterWeb Consulting*
> > *Are you lean and agile enough? *
> >
>
-- 
Jim Keeney
President, FitterWeb
E: j...@fitterweb.com
M: 703-568-5887

*FitterWeb Consulting*
*Are you lean and agile enough? *

Reply via email to