# Zen unicast discovery -- pulling hair out :-(

**URL:** https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690
**Category:** Elasticsearch
**Created:** [May 14, 2012, 7:04pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690 "2012-05-14T19:04:31Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![jessejlt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessejlt/32/2862_2.png) [@jessejlt](https://discuss.elastic.co/u/jessejlt)
#### Post date: [May 14, 2012, 7:04pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/1 "2012-05-14T19:04:31Z")

</div>

I'm having a difficult time getting two nodes to communicate with each  
other using Zen unicast discovery. I've setup a gist at  
[https://gist.github.com/2695724](https://gist.github.com/2695724) that describes the issue, shows the  
logs, and lists the two machines' configs. Any help is appreciated.  
Thanks!

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [May 14, 2012, 7:20pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/2 "2012-05-14T19:20:03Z")

</div>

Not sure but you should add your slave and your master in both nodes config files.  
discovery.zen.ping.unicast.hosts: ["153.32.228.250:9300","theothernode:9300"]  
HTH  
David

Le 14 mai 2012 à 21:04, jessejlt [jessejlt@gmail.com](mailto:jessejlt@gmail.com) a écrit :

> I'm having a difficult time getting two nodes to communicate with each  
> other using Zen unicast discovery. I've setup a gist at  
> [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724) that describes the issue, shows the  
> logs, and lists the two machines' configs. Any help is appreciated.  
> Thanks!

---

<div class="post-metadata">

### Author: ![Mohit\_Chawla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohit_chawla/32/2243_2.png) [@Mohit\_Chawla](https://discuss.elastic.co/u/Mohit_Chawla)
#### Post date: [May 14, 2012, 7:22pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/3 "2012-05-14T19:22:43Z")

</div>

discovery.zen.ping.unicast.hosts should've both hosts in both the  
config files, I guess.

On Tue, May 15, 2012 at 12:34 AM, jessejlt [jessejlt@gmail.com](mailto:jessejlt@gmail.com) wrote:

> I'm having a difficult time getting two nodes to communicate with each  
> other using Zen unicast discovery. I've setup a gist at  
> [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724) that describes the issue, shows the  
> logs, and lists the two machines' configs. Any help is appreciated.  
> Thanks!

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [May 15, 2012, 8:52pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/4 "2012-05-15T20:52:39Z")

</div>

Can you post the full log of both the first node in the cluster, and the  
new node that you are brining up?

On Mon, May 14, 2012 at 10:04 PM, jessejlt [jessejlt@gmail.com](mailto:jessejlt@gmail.com) wrote:

> I'm having a difficult time getting two nodes to communicate with each  
> other using Zen unicast discovery. I've setup a gist at  
> [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724) that describes the issue, shows the  
> logs, and lists the two machines' configs. Any help is appreciated.  
> Thanks!

---

<div class="post-metadata">

### Author: ![jessejlt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessejlt/32/2862_2.png) [@jessejlt](https://discuss.elastic.co/u/jessejlt)
#### Post date: [June 4, 2012, 8:55pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/5 "2012-06-04T20:55:57Z")

</div>

I've updated the discovery hosts to include both the primary and new  
node: [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#file_master.yml)  
I turned on discovery trace logging and posted the logs for both nodes  
at: [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#gistcomment-342383)

Thanks!  
-jesse

On May 15, 1:52 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Can you post the full log of both the first node in the cluster, and the  
> new node that you are brining up?
> 
> On Mon, May 14, 2012 at 10:04 PM, jessejlt [jesse...@gmail.com](mailto:jesse...@gmail.com) wrote:
> 
> > I'm having a difficult time getting two nodes to communicate with each  
> > other using Zen unicast discovery. I've setup a gist at  
> > [https://gist.github.com/2695724that](https://gist.github.com/2695724that) describes the issue, shows the  
> > logs, and lists the two machines' configs. Any help is appreciated.  
> > Thanks!

---

<div class="post-metadata">

### Author: ![jagdeep](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jagdeep](https://discuss.elastic.co/u/jagdeep)
#### Post date: [June 5, 2012, 5:14am UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/6 "2012-06-05T05:14:40Z")

</div>

I have similar master slave configuration and it works well for me. I  
have given IP addresses in both ymls, so configuration wise i dont see  
any issue. Can you try to increase ping time out.. in case any network  
latency is there..

Regards  
Jagdeep

On Jun 5, 1:55 am, jessejlt [jesse...@gmail.com](mailto:jesse...@gmail.com) wrote:

> I've updated the discovery hosts to include both the primary and new  
> node:[ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#file_master.yml)  
> I turned on discovery trace logging and posted the logs for both nodes  
> at:[ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#gistcomment-342383)
> 
> Thanks!  
> -jesse
> 
> On May 15, 1:52 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > Can you post the full log of both the first node in the cluster, and the  
> > new node that you are brining up?
> 
> > On Mon, May 14, 2012 at 10:04 PM, jessejlt [jesse...@gmail.com](mailto:jesse...@gmail.com) wrote:
> > 
> > > I'm having a difficult time getting two nodes to communicate with each  
> > > other using Zen unicast discovery. I've setup a gist at  
> > > [https://gist.github.com/2695724thatdescribes](https://gist.github.com/2695724thatdescribes) the issue, shows the  
> > > logs, and lists the two machines' configs. Any help is appreciated.  
> > > Thanks!

---

<div class="post-metadata">

### Author: ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)
#### Post date: [June 5, 2012, 1:32pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/7 "2012-06-05T13:32:25Z")

</div>

Jesse,

You are running elasticsearch version 0.18.7 on master and version 0.19.3  
on media-slave. You cannot combine nodes with different elasticsearch  
versions into a single cluster.

Igor

On Tuesday, June 5, 2012 1:14:40 AM UTC-4, jagdeep wrote:

> I have similar master slave configuration and it works well for me. I  
> have given IP addresses in both ymls, so configuration wise i dont see  
> any issue. Can you try to increase ping time out.. in case any network  
> latency is there..
> 
> Regards  
> Jagdeep
> 
> On Jun 5, 1:55 am, jessejlt [jesse...@gmail.com](mailto:jesse...@gmail.com) wrote:
> 
> > I've updated the discovery hosts to include both the primary and new  
> > node:[ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#file_master.yml)  
> > I turned on discovery trace logging and posted the logs for both nodes  
> > at:[ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#gistcomment-342383)
> > 
> > Thanks!  
> > -jesse
> > 
> > On May 15, 1:52 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > 
> > > Can you post the full log of both the first node in the cluster, and  
> > > the  
> > > new node that you are brining up?
> > 
> > > On Mon, May 14, 2012 at 10:04 PM, jessejlt [jesse...@gmail.com](mailto:jesse...@gmail.com)  
> > > wrote:
> > > 
> > > > I'm having a difficult time getting two nodes to communicate with  
> > > > each  
> > > > other using Zen unicast discovery. I've setup a gist at  
> > > > [https://gist.github.com/2695724thatdescribes](https://gist.github.com/2695724thatdescribes) the issue, shows the  
> > > > logs, and lists the two machines' configs. Any help is appreciated.  
> > > > Thanks!

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [June 10, 2012, 9:03pm UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/8 "2012-06-10T21:03:57Z")

</div>

It seems like what you call the slave node (bad naming by the way, there  
isn't really a slave in elasticsearch cluster model) send ping requests but  
receives no responses, so it elects itself as master. Can set discovery  
logging to TRACE? I am missing some logging elements where it shows which  
addresses it tries to ping. Also, can you remove the [9300-9400] part, and  
just use host? It will use the proper port number automatically.

On Mon, Jun 4, 2012 at 10:55 PM, jessejlt [jessejlt@gmail.com](mailto:jessejlt@gmail.com) wrote:

> I've updated the discovery hosts to include both the primary and new  
> node: [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#file_master.yml)  
> I turned on discovery trace logging and posted the logs for both nodes  
> at: [ElasticSearch zen unicast discovery · GitHub](https://gist.github.com/2695724#gistcomment-342383)
> 
> Thanks!  
> -jesse
> 
> On May 15, 1:52 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > Can you post the full log of both the first node in the cluster, and the  
> > new node that you are brining up?
> > 
> > On Mon, May 14, 2012 at 10:04 PM, jessejlt [jesse...@gmail.com](mailto:jesse...@gmail.com) wrote:
> > 
> > > I'm having a difficult time getting two nodes to communicate with each  
> > > other using Zen unicast discovery. I've setup a gist at  
> > > [https://gist.github.com/2695724that](https://gist.github.com/2695724that) describes the issue, shows the  
> > > logs, and lists the two machines' configs. Any help is appreciated.  
> > > Thanks!

---

<div class="post-metadata">

### Author: ![AndreyTonteey13](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@AndreyTonteey13](https://discuss.elastic.co/u/AndreyTonteey13)
#### Post date: [October 24, 2013, 10:23am UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/9 "2013-10-24T10:23:37Z")

</div>

I am also interested in the hair wigs and as I like to change my look sometimes with a new hair style, but having the hair cut is really a trouble, but each time I just buy cheap hair wigs online and told the seller the style I want and then soon I can find the one satify me. So I have never met the problem as you. Not long ago I get a **[BOB Hairstyles For Sale](http://www.hairwigsall.com/categories/STYLE/BOB-Wigs/)** for myself and it bring me a new style as before.

---

<div class="post-metadata">

### Author: ![BulahLerry](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@BulahLerry](https://discuss.elastic.co/u/BulahLerry)
#### Post date: [February 19, 2014, 6:30am UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/10 "2014-02-19T06:30:55Z")

</div>

Hair extensions and hairpieces really can help to improve the looking of people and help to change them a lot hair extensions and hairpieces if choosing the right type and right style of hair wigs for you, of course that you will look and become more and more attractive and also buy cheap hair wigs now is easy as you can just get the ideal style that you want online at online shops now. I have just buy me a **[white wigs](http://www.hairwigsall.com/categories/COLORS/White-Wigs/)** and it is perfect.

---

<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: [July 6, 2017, 1:49am UTC](https://discuss.elastic.co/t/zen-unicast-discovery-pulling-hair-out/7690/11 "2017-07-06T01:49:11Z")

</div>


