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) across
colos to keep them in sync. Usually the data requirement across colos is
very small and they are usually able to do that by copying data across with
there own bridge process.
Hope that helps.
On 1/14/10 12:12 PM, "Vijay" <vijay2...@gmail.com> wrote:
> 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. Thats fine...
> but what about the other DC? how many nodes and how will i make it work?