# Zen vs ec2 vs fd

**URL:** <https://discuss.elastic.co/t/zen-vs-ec2-vs-fd/17382>\
**Category:** Elasticsearch\
**Created:** [May 6, 2014, 10:43pm UTC](https://discuss.elastic.co/t/zen-vs-ec2-vs-fd/17382 "2014-05-06T22:43:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_7/32/1590_2.png) [@Jason\_7](https://discuss.elastic.co/u/Jason_7)\
**Post date:** [May 6, 2014, 10:43pm UTC](https://discuss.elastic.co/t/zen-vs-ec2-vs-fd/17382/1 "2014-05-06T22:43:08Z")

</div>

Hi All,

1. If my discovery type is ec2, which of the following settings are  
actually in effect?

discovery.zen.ping\_timeout: 60s  
discovery.zen.fd.ping\_timeout: 60s  
discovery.ec2.ping\_timeout: 60s  
discovery.ec2.fd.ping\_timeout: 60s

1. what's the difference between discovery.zen.ping\_timeout and  
discovery.zen.fd.ping\_timeout? Is one just a typo that got propagated on  
the web?

Thanks in advance,

Jason

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ecfd28da-ffd3-4ae8-83ee-7c457a9e53e3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecfd28da-ffd3-4ae8-83ee-7c457a9e53e3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jason\_7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jason_7/32/1590_2.png) [@Jason\_7](https://discuss.elastic.co/u/Jason_7)\
**Post date:** [May 6, 2014, 11:15pm UTC](https://discuss.elastic.co/t/zen-vs-ec2-vs-fd/17382/2 "2014-05-06T23:15:57Z")

</div>

To answer my own question #2:

discovery.zen.ping\_timeout: timeout for master selection.

discovery.zen.fd.ping\_timeout: timeout for fault detection.

So question #1 is now:

If discovery type is set to ec2, which is  
correct? discovery.ec2.fd.ping\_timeout or discovery.zen.fd.ping\_timeout?

Thanks,

Jason

On Tuesday, May 6, 2014 3:43:08 PM UTC-7, Jason wrote:

> Hi All,
> 
> 1. If my discovery type is ec2, which of the following settings are  
> actually in effect?
> 
> discovery.zen.ping\_timeout: 60s  
> discovery.zen.fd.ping\_timeout: 60s  
> discovery.ec2.ping\_timeout: 60s  
> discovery.ec2.fd.ping\_timeout: 60s
> 
> 1. what's the difference between discovery.zen.ping\_timeout and  
> discovery.zen.fd.ping\_timeout? Is one just a typo that got propagated on  
> the web?
> 
> Thanks in advance,
> 
> Jason

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [May 7, 2014, 7:29am UTC](https://discuss.elastic.co/t/zen-vs-ec2-vs-fd/17382/3 "2014-05-07T07:29:36Z")

</div>

The following timeouts are set in Zen

Discovery:  
discovery.zen.initial\_state\_timeout (30s) - waiting for the initial state  
set by discovery  
discovery.zen.publish\_timeout (30s) - waiting for publishing state

Node and master detection:  
discovery.zen.ping\_interval (1s) - interval for pinging  
discovery.zen.ping\_timeout (30s) - waiting for response  
discovery.zen.ping\_retries (3) - how many retries before timeout

Node and master fault detection:  
discovery.zen.fd.ping\_interval (1s) - interval for pinging  
discovery.zen.fd.ping\_timeout (30s) - waiting for response  
discovery.zen.fd.ping\_retries (3) - how many retries before timeout

The "discovery.zen.fd" component settings can override the "discovery.zen"  
settings, for example, if you want to wait only a short time for detecting  
new nodes before timeout (faster node startup), but a longer time for  
non-responsive nodes before a faulty node is reported. In most cases, you  
do not need to set timeouts in "discovery.zen.fd", it will simply inherit  
from "discovery.zen" settings.

Jörg

On Wed, May 7, 2014 at 1:15 AM, Jason [jason@jasonwang.com](mailto:jason@jasonwang.com) wrote:

> To answer my own question #2:
> 
> discovery.zen.ping\_timeout: timeout for master selection.
> 
> discovery.zen.fd.ping\_timeout: timeout for fault detection.
> 
> So question #1 is now:
> 
> If discovery type is set to ec2, which is  
> correct? discovery.ec2.fd.ping\_timeout or discovery.zen.fd.ping\_timeout?
> 
> Thanks,
> 
> Jason
> 
> On Tuesday, May 6, 2014 3:43:08 PM UTC-7, Jason wrote:
> 
> > Hi All,
> > 
> > 1. If my discovery type is ec2, which of the following settings are  
> > actually in effect?
> > 
> > discovery.zen.ping\_timeout: 60s  
> > discovery.zen.fd.ping\_timeout: 60s  
> > discovery.ec2.ping\_timeout: 60s  
> > discovery.ec2.fd.ping\_timeout: 60s
> > 
> > 1. what's the difference between discovery.zen.ping\_timeout and  
> > discovery.zen.fd.ping\_timeout? Is one just a typo that got propagated on  
> > the web?
> > 
> > Thanks in advance,
> > 
> > Jason
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b058ce9f-73d1-42bf-ac1a-6cc7feaccecd%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFu-VHtstYXpUVGugdamCbQN7zrfj7SXd90oD-%2BHUXYaQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFu-VHtstYXpUVGugdamCbQN7zrfj7SXd90oD-%2BHUXYaQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:31am UTC](https://discuss.elastic.co/t/zen-vs-ec2-vs-fd/17382/4 "2017-07-06T01:31:09Z")

</div>


