Achieving quorum with only half of the nodes

2010-07-14 Thread Sergei Babovich
Hi, We are currently evaluating use of ZK in our infrastructure. In our setup we have a set of servers running from two different power feeds. If one power feed goes away so does half of the servers. This makes problematic to configure ZK ensemble that would tolerate such outage. The network p

Re: Achieving quorum with only half of the nodes

2010-07-14 Thread Sergei Babovich
referring to http://hadoop.apache.org/zookeeper/docs/r3.3.1/zookeeperHierarchicalQuorums.html ? ben On 07/14/2010 12:43 PM, Sergei Babovich wrote: Hi, We are currently evaluating use of ZK in our infrastructure. In our setup we have a set of servers running from two different power feeds. If

Re: Achieving quorum with only half of the nodes

2010-07-14 Thread Sergei Babovich
mind would look like to make your setting work. Even if you don't have partitions, variation in message delays can cause inconsistencies in your ZooKeeper cluster. Keep in mind that we make the assumption that quorums intersect. -Flavio On Jul 14, 2010, at 9:43 PM, Sergei Babovich wrote:

Re: Achieving quorum with only half of the nodes

2010-07-15 Thread Sergei Babovich
ently implemented. -Flavio On Jul 14, 2010, at 11:16 PM, Sergei Babovich wrote: Thanks, Flavio, Yep... I see. This is a problem. Any better idea? As an alternative option we could probably consider running single ZK node on EC2 - only in order to handle this specific case. Does it make sense to you?

Re: Achieving quorum with only half of the nodes

2010-07-15 Thread Sergei Babovich
neral because ZK is reliable enough that people forget about it. That means it won't be top of mind in a disaster response. On Thu, Jul 15, 2010 at 10:30 AM, Sergei Babovich wrote: Three power sources obviously would solve the problem. Unfortunately at this moment it does not seem to be fe