zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McKenzie <mckenzie....@gmail.com>
Subject Re: Running Zookeeper in 2 machines
Date Tue, 05 Nov 2013 04:52:51 GMT
You need a minimum of 3 ZK instances to have any redundancy, because when
an instance fails the remaining instances need to be able to form a quorum.
To do this, more than half of the instances need to be able to communicate
with each other.

You can certainly run multiple instances on a single host though if that's
what you want, you just need to modify the configuration so that the ports
don't conflict between instances.

On Tue, Nov 5, 2013 at 3:38 PM, erolagnab <trung.n.k@gmail.com> wrote:

> Hi,
> Just wondering is it possible to run zookeeper in 2 machine so when one
> machine dies, zookeeper is still up?
> I've tried to run 3 zookeeper instances each machine but it doesn't work.
> Thanks,
> Ero
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Running-Zookeeper-in-2-machines-tp7579232.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message