# Discovery.zen.ping.unicast.hosts setting on tribe node

**URL:** <https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495>\
**Category:** Elasticsearch\
**Created:** [January 13, 2017, 9:24am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495 "2017-01-13T09:24:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [January 13, 2017, 9:24am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495/1 "2017-01-13T09:24:15Z")

</div>

I'd like to confirm with the setting for discovery.zen.ping.unicast.hosts on tribe node.

I have configured tribe node as below, **10.1.0.15** is the IP address of the tribe node itself.

```
# Tribe Node Setting
# This setting will launch node client per tribe setting
tribe:
  t1:
    cluster.name: japan-east
    discovery.zen.ping.unicast.hosts: ["10.1.0.12", "10.1.0.13", "10.1.0.14","10.1.0.15"]

  t2:
    cluster.name: japan-west
    discovery.zen.ping.unicast.hosts: ["10.4.0.10", "10.4.0.11","10.4.0.15","10.1.0.15"]

```

I usually set all the IP address of nodes on each node which consists the cluster. But for tribe node when I set the IP for the tribe node in discovery.zen.ping.unicast.hosts, I get below error on the tribe node.

```
[2017-01-13T17:41:57,447][WARN][o.e.d.z.UnicastZenPing] [node-client/t1] [1] failed send ping to {#zen_unicast_4#}{7pVBPtbcQ1GDqF7mFLB-OA}{10.1.0.15}{10.1.0.15:9300}
java.lang.IllegalStateException: handshake failed, mismatched cluster name [Cluster [elasticsearch]] - {#zen_unicast_4#}{7pVBPtbcQ1GDqF7mFLB-OA}{10.1.0.15}{10.1.0.15:9300}

```

If I exclude it's own IP address on tribe node , tribe node starts up and starts the node discovery properly.  
Do you usually exclude own IP address on tribe node from discovery.zen.ping.unicast.hosts?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 16, 2017, 12:51am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495/2 "2017-01-16T00:51:21Z")

</div>

What version are you on?

---

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [January 16, 2017, 1:10am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495/3 "2017-01-16T01:10:52Z")

</div>

I use v 5.1.2.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 16, 2017, 1:19am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495/4 "2017-01-16T01:19:41Z")

</div>

> [@YuWatanabe](#):
>
> mismatched cluster name [Cluster [elasticsearch]]

You may want to check that ^

---

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [January 16, 2017, 2:52am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495/5 "2017-01-16T02:52:47Z")

</div>

I found the reason. I was sending the zen ping to the wrong port in tribe node.  
After I clearly specify the host with port number, the error is gone.

`10.1.0.15:9301`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 13, 2017, 2:53am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-setting-on-tribe-node/71495/6 "2017-02-13T02:53:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
