Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19E7F19983 for ; Thu, 14 Apr 2016 13:55:28 +0000 (UTC) Received: (qmail 30085 invoked by uid 500); 14 Apr 2016 13:55:27 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 30033 invoked by uid 500); 14 Apr 2016 13:55:27 -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 30009 invoked by uid 99); 14 Apr 2016 13:55:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 13:55:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8B5E11A13B1 for ; Thu, 14 Apr 2016 13:55:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.72 X-Spam-Level: X-Spam-Status: No, score=-0.72 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tRaqnyh4PfBh for ; Thu, 14 Apr 2016 13:55:24 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 1D4025F24D for ; Thu, 14 Apr 2016 13:55:23 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id u206so126977008wme.1 for ; Thu, 14 Apr 2016 06:55:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=mw+Otf77axFHzrwz1b/JfxqJpUwjzHoWHWGsNqoNvA8=; b=g5tJ7X6AsVceMVW6uH902KluSqT6yS0U7RQFgt4OIm5bjm5uI9Z+GH9391uddw+s+o 82GCMKUC6hTew25/9PfCMKg7lumhYozmS7+JJVxvNnvN+GGeVuRpI1IAFQjVhkFiqbsn Os3pP6ffyI58T9eyuLrun3CQ4eG6oV3z2AjJcok6PYPd2cN/FzZU+q0lgPus/ZiYZJ9W FNswI4rrkW13aoKTFH/sZZ3MKrWiFFLbkErjzDFcJQtWuVG9h4v09Yr/QBdNDWUH0RnL VieDp+WBe6lT++jmQWa4nL6m4daC92B19ES7PKZyvPejbkJMJADQfbSzlzJD8+GgHoXi d27A== X-Gm-Message-State: AD7BkJJGxiXKKsH0lMISXGP0OhVi7HxR9WXP3dT+WO8gA9EbwKl/kpIA3HPy5slw/CREZQ== X-Received: by 10.28.125.8 with SMTP id y8mr38847361wmc.87.1460642122555; Thu, 14 Apr 2016 06:55:22 -0700 (PDT) Received: from [192.168.1.64] (host86-165-77-128.range86-165.btcentralplus.com. [86.165.77.128]) by smtp.gmail.com with ESMTPSA id m67sm33477298wma.3.2016.04.14.06.55.21 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Apr 2016 06:55:22 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Zookeeper mesos-master on different network From: Flavio Junqueira In-Reply-To: Date: Thu, 14 Apr 2016 14:55:19 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.2104) Have you made sure that a slave in net B is able to telnet or ssh to the = leader machine in net A? Is it possible that the client port is blocker = from B to A? -Flavio > On 14 Apr 2016, at 14:09, Stefano Bianchi = wrote: >=20 > Hi all > i'm working on OpenStack and i have build come virtual machines and 2 > different networks with it. > I have set two mesos clusters: >=20 > NetworkA: > 2 mesos master > 2 mesos slaves >=20 > NetworkB: > 1 mesos master > 1 mesos slave >=20 > I should try to make and interconnection between these two clusters. >=20 > I have set zookeeper configurations such that all 3 masters are = competing > for he leadership. I show you the main configurations: >=20 > NetworkA on both 2 masters: >=20 > */etc/zookeeper/conf/zoo.cfg *: at the end of the file >=20 > server.1=3D192.168.100.54:2888:3888 (master1 on network A) >=20 > server.2=3D192.168.100.55:2888:3888 (master2 on network A) >=20 > server.3=3D131.154.xxx.xxx:2888:3888 (Master3 on network B, i have set > floating IP) >=20 > *etc/mesos/zk* >=20 > = zk://192.168.100.54:2181,192.168.100.55:2181,131.154.xxx.xxx:2181/mesos >=20 > NetorkB: >=20 > */etc/zookeeper/conf/zoo.cfg: at the end of the file:* >=20 > server.1=3D131.154.96.27:2888:3888 (master1 on network A, i have set = floating > IP) >=20 > server.2=3D131.154.96.32:2888:3888 (master2 on network A, i have set = floating > IP) >=20 > server.3=3D192.168.10.11:2888:3888 (Master3 on network B) >=20 >=20 > *etc/mesos/zk:* >=20 > = zk://131.154.zzz.zzz:2181,131.154.yyy.yyy:2181,192.168.10.11:2181/mesos >=20 >=20 > the 3 masters seems to work fine, if i stop mesos-master service on = one of > them, there is the rielection, so they are behaving as one single = cluster > with 3 masters. > I have no problems with masters, but with slaves. > I have currenty set up slaves setting the /etc/mesos/zk exactly as i = shown > above in a coherent way. >=20 > Now the leader s one master which is on the Network A, and only the = slaves > on Network A can connect to it, but i need to connect also the slave = on the > other network. > Do you have suggestions?