Return-Path: Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: (qmail 24646 invoked from network); 2 Mar 2011 16:19:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Mar 2011 16:19:44 -0000 Received: (qmail 63303 invoked by uid 500); 2 Mar 2011 16:19:44 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 63148 invoked by uid 500); 2 Mar 2011 16:19:42 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 63140 invoked by uid 99); 2 Mar 2011 16:19:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 16:19:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Mar 2011 16:19:41 +0000 Received: (qmail 23390 invoked by uid 99); 2 Mar 2011 16:19:21 -0000 Received: from localhost.apache.org (HELO mail-ww0-f46.google.com) (127.0.0.1) (smtp-auth username mahadev, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2011 16:19:21 +0000 Received: by wwc33 with SMTP id 33so180489wwc.15 for ; Wed, 02 Mar 2011 08:19:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.171.76 with SMTP id q54mr7083611wel.93.1299082759016; Wed, 02 Mar 2011 08:19:19 -0800 (PST) Received: by 10.216.50.134 with HTTP; Wed, 2 Mar 2011 08:19:18 -0800 (PST) In-Reply-To: <962A45F9-A510-400E-A079-21A339652CA6@sopera.com> References: <962A45F9-A510-400E-A079-21A339652CA6@sopera.com> Date: Wed, 2 Mar 2011 08:19:18 -0800 Message-ID: Subject: Re: Question about Clustered Setup in two data centers From: Mahadev Konar To: user@zookeeper.apache.org Cc: Zsolt Beothy-Elo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Zsolt, Sorry to disappoint but there isnt any way of running zookeeper on 2 machines and calling it reliable. You can run a set of 2 machines for a quorum of 3 but if one of the machine goes down then zookeeper goes down. Also, a data center of 2 has issues since which ever datacenter you place the max part of the quorum in, in case of death will caiuse the ZK cluster to fail. I am assuming you are talking about ZK cross data center. thanks mahadev On Wed, Mar 2, 2011 at 6:57 AM, Zsolt Beothy-Elo w= rote: > Hi all, > in our product we currently implement to use ZooKeeper in conjunction wit= h CXF to dynamically manage available services and endpoints. Unfortunately= one of our customers is not very happy of having to run a minimum of three= ZooKeeper server instances to ensure fail over. The customer has two data = centers in different locations where data and applications are replicated a= nd some big-ip appliance in front of the data centers. If one data center f= ails everything must still be operable. So he would prefer to only have two= =A0instances one in each data center. I would be grateful for some advise = how to best cope with these contradicting requirements. > > Cheers, > Zsolt Beothy-Elo