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 D1804200B84 for ; Tue, 20 Sep 2016 17:01:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D03CF160AC5; Tue, 20 Sep 2016 15:01:09 +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 2A58C160AC0 for ; Tue, 20 Sep 2016 17:01:09 +0200 (CEST) Received: (qmail 97725 invoked by uid 500); 20 Sep 2016 15:01:08 -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 97707 invoked by uid 99); 20 Sep 2016 15:01:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2016 15:01:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3494F189B1A for ; Tue, 20 Sep 2016 15:01:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.945 X-Spam-Level: X-Spam-Status: No, score=-0.945 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, FROM_LOCAL_DIGITS=0.001, FROM_LOCAL_HEX=0.331, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=163.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id w9oRDLeUt-n4 for ; Tue, 20 Sep 2016 15:01:03 +0000 (UTC) Received: from m50-156.163.com (m50-156.163.com [123.125.50.156]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5358B5F2F0 for ; Tue, 20 Sep 2016 15:01:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Subject:From:Message-ID:Date:MIME-Version; bh=BcnqZ 0Oi3/2rsehl+Yml/rUV7C0vyk4yDxIBOYbk5wQ=; b=QEwFHg3mIhM5COj/Qgsje W5h6/L7gLrSXq6BpsBhceuNhFW/tlvIc2g8e0v+YYTI1YLae3xROCIgYRrCGZGOF GsdGLOxscnKGlcy9lXsxOnHKXtikT7dXlk1p3qx7AgGYJspzhnsmTaoqhIJDxhtg pfz4pg1Uco/TtbqopC46mw= Received: from liyujuematoMacBook-Air.local (unknown [60.16.198.152]) by smtp5 (Coremail) with SMTP id D9GowACXYowOS+FXOMzeCQ--.43701S2; Tue, 20 Sep 2016 22:43:27 +0800 (CST) Subject: Re: about isolated ignite clusters on the same set of machines To: dev@ignite.apache.org References: <8b306455-ad2c-f6dc-8faa-bae8a0e49e99@163.com> From: =?UTF-8?B?5p2O546J54+PQDE2Mw==?= <18624049226@163.com> Message-ID: <2c6bb029-1032-31c8-9313-3ec5d8856e1c@163.com> Date: Tue, 20 Sep 2016 22:43:34 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: D9GowACXYowOS+FXOMzeCQ--.43701S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7Wr1UKr4DGw1kWFWUZr48Xrb_yoW8JrWkp3 y3Gay3tr4DXr97JrZrtr4Dua4Ikr98JFW7Gr1kZrnruF9093Z7Ar9Fk3Z8ury5Wr1Fqa4Y vw4Yka47urZ5A3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jt739UUUUU= X-Originating-IP: [60.16.198.152] X-CM-SenderInfo: pvdktzbdstjqqrwthudrp/1tbiYwvqjVaDprcFQgABsN archived-at: Tue, 20 Sep 2016 15:01:10 -0000 Hi: what is the java api? 在 16/9/20 22:03, Yakov Zhdanov 写道: > Hi! > > When I need to isolate clusters in the same network I pass > -DIGNITE_OVERRIDE_MCAST_GRP=x.x.x.x to java process starting node or > -J-DIGNITE_OVERRIDE_MCAST_GRP=x.x.x.x as ignite.sh parameter. > > > > --Yakov > > 2016-09-20 16:52 GMT+03:00 李玉珏@163 <18624049226@163.com>: > >> Guys: >> >> in our network, we want to isolate some of the machine to build cluster >> for testing, I looked at the following document,also do the test, but found >> that this document may not be correct: >> >> https://apacheignite.readme.io/v1.7/docs/cluster-config#isol >> ated-ignite-clusters-on-the-same-set-of-machin >> >> If the addresses property of TcpDiscoveryVmIpFinder is set to 127.0.0.1, >> multiple ignite nodes started in the same machine,is the isolation of >> cluster, has nothing to do with the localPort attribute, if do not set the >> addresses property, even if the localPort property of TcpDiscoverySpi and >> TcpCommunicationSpi are diff, also belong to the same cluster. >> >> >> The way I think is to set the IP address list for the addresses property, >> but it doesn't look elegant, does anyone in the community know the right, >> or elegant way? >> >> >>