Zookeeper WAN Configuration

2009-07-24 Thread Todd Greenwood
Like most folks, our WAN is composed of various zones, some central processing, some edge, some corp, and some in between (DMZs). In this model, a given Zookeeper server will not have direct connectivity to all of it's peers in the ensemble due to various security constraints. Is this a problem?

Re: Zookeeper WAN Configuration

2009-07-24 Thread Ted Dunning
Each member needs a connection to a quorum. The quorum is ceiling((N+1) / 2) members of the cluster. This guarantees that network partition does not allow two leaders to go on stamping out revisions independent of each other. On Fri, Jul 24, 2009 at 4:23 PM, Todd Greenwood

Re: Zookeeper WAN Configuration

2009-07-24 Thread Flavio Junqueira
Servers in a quorum need to be able to talk to each other to elect a leader. Once a leader is elected, followers only talk to the leader. Of course, if the leader fails, servers in some quorum will need to talk to each other again. If no quorum can be formed, the system is stalled.

RE: Zookeeper WAN Configuration

2009-07-24 Thread Todd Greenwood
Flavio Ted, thank you for your comments. So it sounds like the only way to currently deploy to the WAN is to deploy ZK Servers to the central DC and open up client connections to these ZK servers from the edge nodes. True? In the future, once the Observers feature is implemented, then we should