Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Running Zookeeper in 2 machines


Copy link to this message
-
Re: Running Zookeeper in 2 machines
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.
cheers
On Tue, Nov 5, 2013 at 3:38 PM, erolagnab <[EMAIL PROTECTED]> 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.
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB