Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - Can Observers be reconfigured in a DR situation?


Copy link to this message
-
Re: Can Observers be reconfigured in a DR situation?
César Álvarez Núñez 2012-07-10, 07:39
Yes you can. Just edit the zoo.cfg from the  backup DC, comment the lines
relative to the nodes in the primary DC and the observer peer type.

In this way you can start a new ZK ensemble with just the 3 servers on
backup DC.

But be aware that due to latency issues the backup DC could not have the
latest changes from the active DC.

You will also need to update each client "connection string" to use only
the servers from the backup DC.

/Sent from my GP0.
El 09/07/2012 23:16, "Raj N" <[EMAIL PROTECTED]> escribió:

> Let's say you have 2 DCs, primary and secondary. The primary DC has a 3
> node zookeeper quorum. And the secondary DC has 3 nodes that are observers.
> Is it possible in a DR scenario(primary down) to make the 3 observer nodes
> the new quorum?
>
> Thanks
> -Raj
>