So I tried out the 'mirrored' option last night. I setup one box as a standalone, with the intention of an observer as a second box. Unfortunately it complained that there was no quorum. In looking through the ZK code, it's apparent it expects to support observers only when there is an active ensemble (3 or more servers).
Here's the thing: I'm only looking to use leader election for an app at this point, with some potential to store configuration data and some small coordination data between a few applications. Our IT requirements demand I have total redundancy in two datacenters for disaster recovery planning. The more I look at this, the more I think ZooKeeper is beautifully elegant in terms of code/usage, but the deployment aspect just isn't fitting. -----Original Message----- From: Ted Dunning [mailto:[email protected]] Sent: Saturday, February 04, 2012 1:24 AM To: [email protected] Subject: Re: Deployment planning question > You can do that. Just define the mirror as an observer. <snip> >> corporate security restrictions. It sure would be nice for a >> smaller-scale deployment to just have a simple mirrored option, as >> opposed to the mandatory 3 server/quorum requirement. >>
