Question regarding Membership Election

2010-01-14 Thread Vijay
Hi, I read about observers in other datacenter, My question is i dont want voting across the datacenters (So i will use observers), at the same time when a DC goes down i dont want to loose the cluster, whats the solution for it? I have to have 3 nodes in primary DC to accept 1 node failure.

Re: Question regarding Membership Election

2010-01-14 Thread Mahadev Konar
Hi Vijay, Unfortunately you wont be able to keep running the observer in the other DC if the quorum in the DC 1 is dead. Most of the folks we have talked to also want to avoid voiting across colos. They usually run two instances of Zookeeper in 2 DC's and copy state of zookeeper (using a bridge)

Re: Question regarding Membership Election

2010-01-14 Thread Henry Robinson
Hi - If you put all your voting nodes in one datacenter, that datacenter becomes a 'single point of failure' for the cluster. If it gets cut off from any other datacenters, the cluster will not be available to those datacenters. If you want to withstand the failure of datacenters, then you need

Re: Question regarding Membership Election

2010-01-14 Thread Vijay
Thanks Mahadev that helps, Is there any hookup's (In zoo keeper) or examples which i can take a look for the bridging process? Regards, /VJ On Thu, Jan 14, 2010 at 12:38 PM, Mahadev Konar maha...@yahoo-inc.comwrote: Hi Vijay, Unfortunately you wont be able to keep running the observer in

Re: Question regarding Membership Election

2010-01-14 Thread Vijay
Hi Falvio, Yes i am concerned about the latency between the DC's (Across continents), We actually have 6 locations but how exactly are we going to do it if we have the 3rd DC? Regards, /VJ On Thu, Jan 14, 2010 at 1:46 PM, Flavio Junqueira f...@yahoo-inc.com wrote: Hi Vijay, I'm just curious: