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 82B9719728 for ; Thu, 14 Apr 2016 13:09:32 +0000 (UTC) Received: (qmail 99847 invoked by uid 500); 14 Apr 2016 13:09:31 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 99789 invoked by uid 500); 14 Apr 2016 13:09:31 -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 99710 invoked by uid 99); 14 Apr 2016 13:09:31 -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:09:31 +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 117461A139B for ; Thu, 14 Apr 2016 13:09:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id V2uSfzhyoxVK for ; Thu, 14 Apr 2016 13:09:29 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 78E985F23E for ; Thu, 14 Apr 2016 13:09:28 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id c126so107993617lfb.2 for ; Thu, 14 Apr 2016 06:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=Nc/N4GnD0KfQr4bvCt0M8+ZZ1hTWUKC7HPWYz4Q5h7s=; b=0IbYXnySD/DWFLoIUAVS/CyB9wCximc6SZKzsC8GyknWwlg6VTlrGu2lsoeH02I1xh 396PBhlRnfSuhxu+0i+krZ+yRmInPa4n25/RNA3Ki0GUxQx7S+9d4lMuPmCU3cSmA6d4 tKCiJz4jjZndadPdGhOUUYcBrttCE8SAnmpv4Kn5tK03xxw17i5vVzV+LA762pK2pspy QOTvIhgtkTMf3vyYCKkSZIo5Z2vBb8T3IY3Ld/8kaWX+tKd3JSkIUXC2gFynpeDyTMCT sARw1akZyS4Zdvu55aByASrX5KGgVMGxvvCtNhn4f5mLcZYgjQAnfKE1Wqu0d3OelSm9 fuuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Nc/N4GnD0KfQr4bvCt0M8+ZZ1hTWUKC7HPWYz4Q5h7s=; b=PV2frMXItceft92qOc+/ZkGptmaa86bMKq6wATkIm2GWWx3t4ajHaru8fCFfNrIOsj X41Cx9neeDnlh/HtkiF5rM7FcyR4vZhsK39IBLlxwkvJPrrzdmeornblfqPFVauv4wtd 6e2UzwRlW+wKqvFW0Z0LzVHtWveBwLZwGXgJ1HmJQkTSxu7qGOt8/xdSUfvrOB6tBWev +KhY0ymQ8ASkJg2X6lHw01+rhCBq7pAkDIYrUSPO5eG1/5U2709sNchIwriyt4T4DRmV w/ROwDF16J/hjLyMnWMqxl2ktQwQjc5DBD2d9sxasjGa1lMHlC6kHwQFZKVlAlg+kRWZ QCsw== X-Gm-Message-State: AOPr4FX55Q6yRYjqH74eYcAlfX4YvSqSzPMtL79Rol8n9i4TW1BWlkt06Pa+qj8npTiM0HTZvOhJLYkkBx5N3w== MIME-Version: 1.0 X-Received: by 10.112.140.169 with SMTP id rh9mr5599176lbb.69.1460639367934; Thu, 14 Apr 2016 06:09:27 -0700 (PDT) Received: by 10.112.144.102 with HTTP; Thu, 14 Apr 2016 06:09:27 -0700 (PDT) Date: Thu, 14 Apr 2016 15:09:27 +0200 Message-ID: Subject: Zookeeper mesos-master on different network From: Stefano Bianchi To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a11c25934abb85e0530719a81 --001a11c25934abb85e0530719a81 Content-Type: text/plain; charset=UTF-8 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? --001a11c25934abb85e0530719a81--