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 >> 2 server cluster?


Copy link to this message
-
Re: 2 server cluster?
Well... you can set one of the 2 as an observer.  That way you can have a
quorum of one of 2, but you can't have a quorum of the other of two.
 Probably not what you want.

You can also set up a third member who refuses to become leader.  They
basically serve as a tiebreaker.  You can lighten the load on the
tiebreaker by not allowing clients to connect.

On Tue, Sep 11, 2012 at 7:25 PM, Henry Robinson <[EMAIL PROTECTED]> wrote:

> No - ZK needs a majority of nodes to be a quorum. In a 2-node cluster, the
> only majority is of size 2.
>
> Henry
>
> On 11 September 2012 19:23, Eric Pederson <[EMAIL PROTECTED]> wrote:
>
> > Hi all -
> >
> > Is there any way to force ZK to accept 1 of 2 as being quorum?
> >
> > Thanks,
> >
> > -- Eric
> >
>
>
>
> --
> Henry Robinson
> Software Engineer
> Cloudera
> 415-994-6679
>
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