zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Manually replicating ZK
Date Tue, 12 Nov 2013 05:45:15 GMT
That should work. Make sure you update the myid file appropriately.

Easier though you might just add the two new servers with consistent
configuration across all three. First start the original server, then
start 1 of the new servers, wait for it to form a quorum with server
1, then start server 3. No need to copy the datadirs.


On Fri, Nov 8, 2013 at 7:30 AM, michael.boom <my_sky_mc@yahoo.com> wrote:
> Hi!
> I have a ZK instance running on a machine and would like to increase this to
> instances o 3 different machines.
> Would it be possible to simply copy the dataDir of the currently running
> instance on the 2 new machines, update the configuration for all three
> instances (adding the hosts&ports of all ) and then restarting all 3 ZK
> instances?
> Would this work?
> --
> View this message in context: http://zookeeper-user.578899.n2.nabble.com/Manually-replicating-ZK-tp7579282.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

View raw message