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 B27FE19AE4 for ; Thu, 14 Apr 2016 14:26:43 +0000 (UTC) Received: (qmail 53244 invoked by uid 500); 14 Apr 2016 14:26:43 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 53185 invoked by uid 500); 14 Apr 2016 14:26:43 -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 53173 invoked by uid 99); 14 Apr 2016 14:26:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 14:26:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 59D24C0E0E for ; Thu, 14 Apr 2016 14:26:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id DhStHfOaoUso for ; Thu, 14 Apr 2016 14:26:40 +0000 (UTC) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id AE7C65F242 for ; Thu, 14 Apr 2016 14:26:39 +0000 (UTC) Received: by mail-lf0-f49.google.com with SMTP id j11so110658459lfb.1 for ; Thu, 14 Apr 2016 07:26:39 -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=DVDnLdcUe3KAYfOndK8eibbG29/1tI8IbNxsvcQXj10=; b=JBGrDsIQrLERLgJD+rINBmXqbgx05oyiPrEWawOAep/ZDS4YV9Er/uwZKF4UCDigAJ MV2UpfuAQQF6uwHPkR3qQd8SrGqGEn0BOUx+iUP3d5a0YpDiGQHmLwDS0V4K1+VY1qVC Ih+eZKvWiW8M/OwN0VMYDT0IMUKfpulpeFzkhlXbBRoW9c1feVl14VXstG8uzv1fH7ye kjxf7D1gIHQ8HleKEMrwpZxbCzPbfWR+q1L0HaqKJlKOCygnyWJ1EyFpXp9M/9/n8gl+ g1DRz2MSefokXKlGaFAljSwtlcSNVL69cfOr0YowvtP9dJZXGvQae4xptU4F+Dp2298P 9zHQ== 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=DVDnLdcUe3KAYfOndK8eibbG29/1tI8IbNxsvcQXj10=; b=kXSFYRbZ67ekmoAGqTeaFo2xezOrtOtjl0g8B7c1wy7EtfBQLiBPzaSKzQlw96rHDh bsgHHAhfl3P/HuBPGAfobY10rKImeSGZ+I/msp1x/UdWtaHLTaTYvd1nv3e+qjtIwGRv MvusR/35ik+PTlif8jmmycLZ42kv9UnFVoq/7aFpgDatt9NeCfpzjeBOXRi6Z5zLiAnW 67v8I/4rIfYxyTAbO5txhVRgDDG+IfYNik+lppvRJE0496pAerzmlBETLrO2gf8MQsnq o9CEDGqVPjsVvB1lBmJ2+/eWcwzgMrjIj4HoHPkc3fCq3gYtLTFdSxmbdcLFYKyj16OE Is5g== X-Gm-Message-State: AOPr4FVNaQzAoq6lET0bWbQCyze4gnXQj5bJCabwg60USUIfXYStIiHOTs+QiGm3vNmFIiCjAWHCNPCSe5rVrg== MIME-Version: 1.0 X-Received: by 10.112.154.106 with SMTP id vn10mr6633238lbb.123.1460643998807; Thu, 14 Apr 2016 07:26:38 -0700 (PDT) Received: by 10.112.144.102 with HTTP; Thu, 14 Apr 2016 07:26:38 -0700 (PDT) In-Reply-To: <70043199-F2C8-4245-9E74-C894B1657E93@apache.org> References: <70043199-F2C8-4245-9E74-C894B1657E93@apache.org> Date: Thu, 14 Apr 2016 16:26:38 +0200 Message-ID: Subject: Re: Zookeeper mesos-master on different network From: Stefano Bianchi To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=089e0122af2ab13dbe053072aeda --089e0122af2ab13dbe053072aeda Content-Type: text/plain; charset=UTF-8 on openstack security group the ssh port is open. 2016-04-14 16:24 GMT+02:00 Flavio Junqueira : > Is it an indication that the SSH port is open and the others aren't? > > -Flavio > > > On 14 Apr 2016, at 15:10, Stefano Bianchi wrote: > > > > 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? > >>> > >>> > >> > > --089e0122af2ab13dbe053072aeda--