From user-return-10043-apmail-zookeeper-user-archive=zookeeper.apache.org@zookeeper.apache.org Thu Apr 14 14:16:29 2016 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 8632B19A6D for ; Thu, 14 Apr 2016 14:16:29 +0000 (UTC) Received: (qmail 12968 invoked by uid 500); 14 Apr 2016 14:16:28 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 12918 invoked by uid 500); 14 Apr 2016 14:16:28 -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 12892 invoked by uid 99); 14 Apr 2016 14:16:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 14:16:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9EFF4C09A7 for ; Thu, 14 Apr 2016 14:16:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.43 X-Spam-Level: * X-Spam-Status: No, score=1.43 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6-CFB71U0pXZ for ; Thu, 14 Apr 2016 14:16:25 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id BBF175F39B for ; Thu, 14 Apr 2016 14:16:24 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id g184so110454620lfb.3 for ; Thu, 14 Apr 2016 07:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=T+ezZUr/+eOYIdlbKzl4DLstTUyeGuv8LKAXNE+kA4s=; b=j+vwKpeKKIojcH26kyg1aDvdjRWG0kE8dYi37qW/GU5ZHzSFqZBNPm/B6Uc6b00YMI xrG+EAEFg6KkW9d8Rr9RL+rMTYqF8VgzBLjHp5tXNH1wzlgvsN2uGwFa8RvstMsYbbdM Tpe933CRAav8lu4o6ewDptPn8GNFqQt0G4fUlfVQk7+4YNQuPSet2D82NB3MvwL2GCtJ iN6OvuHb8aG0kFsy7oP0IVcGrORUx4yV1kZFXoc8pdH3m8+169pmkcgsUcrR2bE2OfuG l9QG78TAejvPsB+rUvqrqN7qyPmODl0oJg7n72nVxkLtcPfqkANdoFqp2elmKw1tmWVU XHfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=T+ezZUr/+eOYIdlbKzl4DLstTUyeGuv8LKAXNE+kA4s=; b=cYEzwbaDYujzy+vsz/nqlrihuYJ2IStReRecZim21DsWhvWiHNEF12o/xEB9TbrFGY ubiJIomgkEyuee5ku0A8Lt+i+ZcKFq5wDF4TiJWY4/dsy5FpXpMZq+DsMajTjlMGiK/z rQ070L+kdJEh5U/lYzO3X+c6eXD3g7k8B+9c40FWX38rH8fzKTr1/bw85wchnq8+SR7w M/HYJ+Di9n5qEZ5Yt+Od7loadoNBktqqhiAG0BCCu90qAtt7odqP0YzmQin81mjhu5gP 4QjbJBAiTmAsxI95jRvTDgvmAy37yk3f7A1eOmsXkOPxiLtOhTxqXxiCOz0e3Q/hmKRN OqpQ== X-Gm-Message-State: AOPr4FXnnmI/D7DEoSTuUHUwqzjwe3t6BoAktPWZ6bhWOo5HBfce04lC29wgGLglIA0GEWLG95n7ikpMsbyo0A== MIME-Version: 1.0 X-Received: by 10.25.90.73 with SMTP id o70mr6662526lfb.80.1460643383750; Thu, 14 Apr 2016 07:16:23 -0700 (PDT) Received: by 10.112.144.102 with HTTP; Thu, 14 Apr 2016 07:16:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Apr 2016 16:16:23 +0200 Message-ID: Subject: Re: Zookeeper mesos-master on different network From: Stefano Bianchi To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a1141893a0838720530728a79 --001a1141893a0838720530728a79 Content-Type: text/plain; charset=UTF-8 Nothing also telnet works. 2016-04-14 16:10 GMT+02:00 Stefano Bianchi : > I tried with telnet and i have connection timed out, but i am able to > connect trough SSH > > 2016-04-14 16:05 GMT+02:00 Stefano Bianchi : > >> Thanks for your reply Flavio. >> Actually, i don't have a DNS, so i am foced to type hosts file, in which >> i have set all the IP addrsses. >> Of course for the note in Network B i have set the Floating IP of the >> other 2 slaves in network A associated to their hostname. Actually i don't >> know if it is correct, but at least if i make a ping from the slave in >> Network B to a slave in A i obtain replies. and vice versa. >> >> 2016-04-14 15:55 GMT+02:00 Flavio Junqueira : >> >>> 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: >>> > >>> > 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: >>> > >>> > NetworkA: >>> > 2 mesos master >>> > 2 mesos slaves >>> > >>> > NetworkB: >>> > 1 mesos master >>> > 1 mesos slave >>> > >>> > I should try to make and interconnection between these two clusters. >>> > >>> > I have set zookeeper configurations such that all 3 masters are >>> competing >>> > for he leadership. I show you the main configurations: >>> > >>> > NetworkA on both 2 masters: >>> > >>> > */etc/zookeeper/conf/zoo.cfg *: at the end of the file >>> > >>> > server.1=192.168.100.54:2888:3888 (master1 on network A) >>> > >>> > server.2=192.168.100.55:2888:3888 (master2 on network A) >>> > >>> > server.3=131.154.xxx.xxx:2888:3888 (Master3 on network B, i have set >>> > floating IP) >>> > >>> > *etc/mesos/zk* >>> > >>> > zk://192.168.100.54:2181,192.168.100.55:2181 >>> ,131.154.xxx.xxx:2181/mesos >>> > >>> > NetorkB: >>> > >>> > */etc/zookeeper/conf/zoo.cfg: at the end of the file:* >>> > >>> > server.1=131.154.96.27:2888:3888 (master1 on network A, i have set >>> floating >>> > IP) >>> > >>> > server.2=131.154.96.32:2888:3888 (master2 on network A, i have set >>> floating >>> > IP) >>> > >>> > server.3=192.168.10.11:2888:3888 (Master3 on network B) >>> > >>> > >>> > *etc/mesos/zk:* >>> > >>> > zk://131.154.zzz.zzz:2181,131.154.yyy.yyy:2181, >>> 192.168.10.11:2181/mesos >>> > >>> > >>> > 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. >>> > >>> > 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? >>> >>> >> > --001a1141893a0838720530728a79--