Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 722AF200CBD for ; Thu, 22 Jun 2017 00:21:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F598160BF0; Wed, 21 Jun 2017 22:21:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B0FE3160BD5 for ; Thu, 22 Jun 2017 00:21:12 +0200 (CEST) Received: (qmail 19566 invoked by uid 500); 21 Jun 2017 22:21:11 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 19553 invoked by uid 99); 21 Jun 2017 22:21:11 -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; Wed, 21 Jun 2017 22:21:11 +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 B7F561AFB74 for ; Wed, 21 Jun 2017 22:21:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.401 X-Spam-Level: X-Spam-Status: No, score=-0.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-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 LAkr8pL6DNzR for ; Wed, 21 Jun 2017 22:21:09 +0000 (UTC) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CC3305F2EE for ; Wed, 21 Jun 2017 22:21:08 +0000 (UTC) Received: by mail-io0-f178.google.com with SMTP id h134so4212220iof.2 for ; Wed, 21 Jun 2017 15:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uRQieHs+akbK1X53Cg7tJb8t75n7MrDTvTjzJPQJ3yw=; b=hqeb/jC7zagPKL2Nz9I2STuovlEqunzcDapp2RopePyqAzIpl88f6W9YYxyCn7LxCv WICZa3mEutHqKHGOYEqSEtIFgB/zrI2hakhIISdj3ahRMi3sT3w0f8ixCHFdS+8Ee1eN 3X5RB1dT13QbpTAymQTvnsYi9sQ1DC+x+WG2ojlb8bVcsLzAezVZoNbWQfNb/kWc8/tM +q7sb67PzchMYfktX/3SehZ5RMdCWCyhIW10nmsp1I0wJlIes1J64W1y2Y96AY1toEMI 567m30cbmcNFxhnhzTnjrJ9FONrjp7qQt0rwOU4N8xHDf5oOMschtnkdVs7AnVYVHp70 DL0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uRQieHs+akbK1X53Cg7tJb8t75n7MrDTvTjzJPQJ3yw=; b=pt5rsMiuhaqbtDErY8y4hQpVS+oA0yuY0wfybyaCobqBYWgGMFYWT6LBgXDOYRUT5k I4bBaJ7MB+VsOk3br0BjnJUzbgRIuitnwjKJs13nnLTaytvChNNpY0ZKknWl8izSgjLq em9QvaceYOHETo345z99cRG+2ND8g+nyCi+HkoG2dYr1seVIPhOoRyOWtiSYZXACZLai vUn6p4VOXcEZplUbpRKjnJUPWVzchkykiuZ3FJqzQ0laiB7yH/dV4ANq1ErmlVeiYqNN YoedwTNqyU8dFy5Zo6ykXldeRFH2HWneBzQs4ribpjp7Cr3mtC5L/Ebpm51p4vE9kowH usPw== X-Gm-Message-State: AKS2vOxxBpTvdzG7reQkJSBmXxhknS7+WffvQR9hQnF5VJy9dXu6lfwf AcR3crsSKnRsvG0C364Ltoibc4LZvSBB X-Received: by 10.107.185.87 with SMTP id j84mr40219514iof.139.1498083661754; Wed, 21 Jun 2017 15:21:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.27.41 with HTTP; Wed, 21 Jun 2017 15:20:31 -0700 (PDT) In-Reply-To: References: From: Valentin Kulichenko Date: Wed, 21 Jun 2017 15:20:31 -0700 Message-ID: Subject: Re: Zookeeper Discovery SPI & external IP address in AWS To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="94eb2c07701a80c0f305527fc863" archived-at: Wed, 21 Jun 2017 22:21:13 -0000 --94eb2c07701a80c0f305527fc863 Content-Type: text/plain; charset="UTF-8" Igor, Here is the ticket I'm talking about: https://issues.apache.org/jira/browse/IGNITE-3230 -Val On Wed, Jun 21, 2017 at 8:57 AM, Igor Rudyak wrote: > Val, > > Are there any ticket for this in Jira? > > Igor > > On Jun 21, 2017 5:50 AM, "Valentin Kulichenko" < > valentin.kulichenko@gmail.com> wrote: > > > Igor, > > > > What version are you going on? I believe we already fixed this in the > past. > > > > -Val > > > > On Wed, Jun 21, 2017 at 2:30 AM Igor Rudyak wrote: > > > > > Hi guys, > > > > > > How to force *TcpDiscoveryZookeeperIpFinder* to publish public IP > > address > > > (in addition to private IP) of Ignite node when it's deployed in > Amazon? > > > > > > By default it just publishing private IP addresses of nodes which makes > > it > > > impossible to connect to cluster from outside using *Zookeeper > Discovery > > > SPI*. > > > > > > I tried to use something like this (see below) for *discoverySPI*: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > class="org.apache.ignite.spi.discovery.tcp.ipfinder.zk. > > TcpDiscoveryZookeeperIpFinder"> > > > > > > > > > > > > > > > > > > > > > But such way it only publish public IPs to Zookeeper. > > > > > > Actually I am looking for something like *advertised.host.name > > > * analog in Kafka. Which allows to > publish > > > private and public IP addresses for a node to Zookeeper. > > > > > > Such way all internal services communicates through private IPs, but > > > external services communicates using public IPs. > > > > > > Igor > > > > > > --94eb2c07701a80c0f305527fc863--