Here is the scenario:
(1) We have 2 live instances of our application, running on 2 different sets
of machines, a preproduction instance and a production instance. As part of
this setup we have 5 ZooKeeper servers running on machines pre-1 thru pre-5.
They have been running for several days.
(2)
I think it would be easier to add the production machines to the cluster one
by one and then remove the pre-production ZK instances from the cluster one
by one.
This gives you continuity that you lack otherwise. Adding machines is a
matter of changing the configuration on each ZK and restarting Z
Hi Satish,
Is the re generation of state in production something that is not
acceptable? Copying over the whole datadir and datalogdir as it is
maintaining the dirctory structure would be necessary.
Also, in general this is a bad idea (just to warn you) since you would have
to be careful with da
In fact, the much, much simpler approach of bringing up the production ZK
cluster and simply writing a program to read from the pre-production cluster
and write to the production one is much more sound. If you can't do that,
you may need to rethink your processes since they are likely to be delica