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 spirtt0 <sp...@gmail.com> on 2014/06/27 15:47:19 UTC
Some questions about Solrcloud
Hi!
I have some question about Solrcloud:
1. Is it possible to update dataimport configuration without full server
restart ? I was tried do that with core reload via API, but configuration
for dataimporthandler wasn't change
2. We want use SolrCloud with 3 replication nodes on separate servers. How
can i managed queries if one node is goes down ? Is it possible to have one
virtual IP that managed queries on new leader node - for HA cluster ?
Thank you !
--
View this message in context: http://lucene.472066.n3.nabble.com/Some-questions-about-Solrcloud-tp4144463.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Some questions about Solrcloud
Posted by Shawn Heisey <so...@elyograg.org>.
On 6/27/2014 7:47 AM, spirtt0 wrote:
> I have some question about Solrcloud:
>
> 1. Is it possible to update dataimport configuration without full server
> restart ? I was tried do that with core reload via API, but configuration
> for dataimporthandler wasn't change
Are you updating a file on the disk, or changing the config in
zookeeper? If you're updating a file on the disk, that doesn't do
*anything* about the config files that are actually used, which are
stored in zookeeper. Generally you'll need to upload a new config with
zkcli. If you are using one of the bootstrap options, then a full
restart of the servlet container might result in the new config getting
uploaded ... but the bootstrap options are not the best way to maintain
configurations. They are intended as a one-time option for converting
from non-cloud to cloud.
> 2. We want use SolrCloud with 3 replication nodes on separate servers. How
> can i managed queries if one node is goes down ? Is it possible to have one
> virtual IP that managed queries on new leader node - for HA cluster ?
Solr doesn't manage IP addresses, that's up to you and your operating
system. If you use the Java client (CloudSolrServer, part of SolrJ), it
will always be aware of the cluster state and it will always work. If
you're not using a cloud-aware client, then you need something like a
load balancer in front of Solr. The software program called haproxy has
been a good load balancer for my Solr install (not running SolrCloud).
Thanks,
Shawn
Re: Some questions about Solrcloud
Posted by Shawn Heisey <so...@elyograg.org>.
On 6/28/2014 10:27 AM, spirtt0 wrote:
> Great. I hope my last questions :) Does zookeeper manage changes in other xml
> config files, except solrconfig.xml and schema.xml ? For example, if i add
> new rule for delta-import to existing dataimport.xml, use zkCli for update
> and reload collection - is it right way to got changes in dataimporthandler
> without restarting SolrCloud ?
Zookeeper holds the entire configuration, including files other than
schema and solrconfig, like the dataimport configuration. Uploading the
config with zkCli and restarting the collection is the way to deal with
changes in those files as well.
Thanks,
Shawn
Re: Some questions about Solrcloud
Posted by spirtt0 <sp...@gmail.com>.
Great. I hope my last questions :) Does zookeeper manage changes in other xml
config files, except solrconfig.xml and schema.xml ? For example, if i add
new rule for delta-import to existing dataimport.xml, use zkCli for update
and reload collection - is it right way to got changes in dataimporthandler
without restarting SolrCloud ?
--
View this message in context: http://lucene.472066.n3.nabble.com/Some-questions-about-Solrcloud-tp4144463p4144580.html
Sent from the Solr - User mailing list archive at Nabble.com.