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 6B9DE19ABA for ; Thu, 14 Apr 2016 14:22:31 +0000 (UTC) Received: (qmail 34879 invoked by uid 500); 14 Apr 2016 14:22:30 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 34830 invoked by uid 500); 14 Apr 2016 14:22:30 -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 34818 invoked by uid 99); 14 Apr 2016 14:22:30 -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:22:30 +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 A9292C0E0E for ; Thu, 14 Apr 2016 14:22:29 +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-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5haiHVPGJB63 for ; Thu, 14 Apr 2016 14:22:27 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 15B305FAEA for ; Thu, 14 Apr 2016 14:22:27 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id c126so110693108lfb.2 for ; Thu, 14 Apr 2016 07:22:26 -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=ShUOgmX3hMW+oCUl52e6Io1ezkI1fKPiHsnSM2VwUPs=; b=xxzBT8A1nVXkZHUCHrt9GSX9taZjbhxsH3UnIxVnbpg7vxpCJJ9X5K+gjRln29rV0W KKst8o+MiyoUXD3c+42Aq6bNlr14RVA0oh5DP9jbmeb4oz7wheu1i1b/De3zghTKmF/V KUKuTKcbUiGv9gZgrV5wwVIbJ3y/DMDRFjbRrZOBczwXXn/Me26Pv+TgPsMdac6tQz7q tjrzR30OB6RWJe5gRqJyLlk88WC1O5cjJLIaMR89LRVldFkYvap9pjC0vosNNnK17Jlv C96qDA3Co8li87bTyzbNZOCMq2771zHxx69XV/CLJ0S+CNC4t4R6uy6DG2rcU0E/Avm9 bMZA== 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=ShUOgmX3hMW+oCUl52e6Io1ezkI1fKPiHsnSM2VwUPs=; b=l/wfm1fSkGhvhpXeDDHSwMN/jlw3Z45v6U8IKlgkLUzV2s1rwAQz2Hcw2Hj71IYaj+ 5Oh/q3AU88BXKpLK61NcQbNEvC4xFdOfDw57M+z1ME2t4KQAznCEgT5H0Zs83PoB4dhx waoRdRd2O3vocY6BKe2EN0UQvkojCnfMSbm5XW4iN8joBVyDmAmsDvS7dBzz4V+hqRsB O42TfWGq8uibduuzq/FErf5uvcLmXKOVb25ZxpQpdI8iYPL0jaOcbRA4+nRh1rERaYGD /RbEp+x+XfLz9CqnyrGDEjv1MEtNl9MJ14BqWMxOUNCqt93B09GfeGRQbiwI8pAVVyUg vFEQ== X-Gm-Message-State: AOPr4FXB+Px5W6tA5f618mCb8rRQX92vJ1vsB+iF+MyJsSWmP+mUiAi3n2LGk1YZFGxFlvwW4jVOhEsnK5D8fg== MIME-Version: 1.0 X-Received: by 10.112.126.36 with SMTP id mv4mr6628335lbb.97.1460643738713; Thu, 14 Apr 2016 07:22:18 -0700 (PDT) Received: by 10.112.144.102 with HTTP; Thu, 14 Apr 2016 07:22:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Apr 2016 16:22:18 +0200 Message-ID: Subject: Re: Zookeeper mesos-master on different network From: Stefano Bianchi To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a11c374ee30888f0530729f30 --001a11c374ee30888f0530729f30 Content-Type: text/plain; charset=UTF-8 Flavio in your opinion my setup up of zookeeper files is correct? 2016-04-14 16:16 GMT+02:00 Stefano Bianchi : > 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? >>>> >>>> >>> >> > --001a11c374ee30888f0530729f30--