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 >
