zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: from zookeper embedded to standalone
Date Tue, 15 Mar 2016 16:37:44 GMT
I was actually referring to ZooKeeper data. If you move your ZooKeeper instance to a different
set of servers, then you'll lose your history. I don't know how Solr copes with such a move,
but sounds risky.

-Flavio
 
> On 15 Mar 2016, at 16:32, Rachid Bouacheria <willix44@gmail.com> wrote:
> 
> Hi Flavio,
> 
> Thank you so much for your reply!
> 
> I did send an email to the solr list...but no reply yet.
> 
> No I am not planning on migrating to Solr to a new set of servers.
> 
> My cluster is comprised of 3 servers with 2 shards currently running with
> with zookeper embedded
> 
> *What I have Currently*
> Server1: Leader + replica1 + replica2 (with zookeper embedded)
> Server2: Leader + replica3 + replica4 (with zookeper embedded)
> Server3: Leader + replica4 + replica5 (with zookeper embedded)
> 
> *What I want to do *
> 
> Server1: Leader + replica1 + replica2
> Server2: Leader + replica3 + replica4
> Server3: Leader + replica4 + replica5
> 
> Server4 :zooper1
> Server5: zooper2
> Server6: zooper3
> 
> The solr data will not be touched.
> 
> 
> I was thinking that I would add server4,server5,server6 to my exiting
> (embedded) ensemble 1st.
> Then remove the embedded zookeper.
> 
> Not sure if it would work..
> Rachid
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Mar 15, 2016 at 9:13 AM, Flavio Junqueira <fpj@apache.org> wrote:
> 
>> Hi Rachid,
>> 
>> Have you asked on the Solr list? They are probably better equipped to
>> answer your question.
>> 
>> On our end, if you are switching to a new set of servers, it is unclear
>> how you're going to safely migrate your data from the old ensemble to the
>> new one. It is also unclear what will happen with in-flight requests. If it
>> is the same set of servers, then I don't se why you'd have issues. We'd
>> need to know more about your setup, though.
>> 
>> -Flavio
>> 
>>> On 15 Mar 2016, at 16:07, Rachid Bouacheria <willix44@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> I am running solr 4.x on 3 servers with zookeper embedded in prod.
>>> 
>>> Each servers has 1 leader and 2 replicas.
>>> 
>>> I want to switch zookeper from embedded to standalone.
>>> 
>>> I want to know if the steps are documented anywhere? I could not find
>> them.
>>> 
>>> I am worried my index will get messed up if in the transition.
>>> 
>>> Thank you very much!
>> 
>> 


Mime
View raw message