# How to disable Zen discovery in Elastic-search 5.5?

**URL:** <https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994>\
**Category:** Elasticsearch\
**Created:** [September 19, 2017, 8:59am UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994 "2017-09-19T08:59:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![patil-akshay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patil-akshay/32/15295_2.png) [@patil-akshay](https://discuss.elastic.co/u/patil-akshay)\
**Post date:** [September 19, 2017, 8:59am UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/1 "2017-09-19T08:59:18Z")

</div>

As I am running multiple instances of elastic-search on the same server with different versions elasticsearch is trying to form a cluster for which it is searching for different nodes I Don't want that thing to happen so how can I disable the zen discovery for the same.

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [September 19, 2017, 9:08am UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/2 "2017-09-19T09:08:09Z")

</div>

Not 100% sure on how to turn it off but if you name the "clusters" per instance (set `cluster.name:`) then the different versions should not try to connect.

---

<div class="post-metadata">

**Author:** ![patil-akshay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patil-akshay/32/15295_2.png) [@patil-akshay](https://discuss.elastic.co/u/patil-akshay)\
**Post date:** [September 19, 2017, 1:05pm UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/3 "2017-09-19T13:05:45Z")

</div>

How to set cluster name?

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [September 19, 2017, 1:22pm UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/4 "2017-09-19T13:22:24Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/5.5/important-settings.html#cluster.name](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/important-settings.html#cluster.name)

Set `cluster.name: foo` in your elasticsearch.yml file

---

<div class="post-metadata">

**Author:** ![patil-akshay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patil-akshay/32/15295_2.png) [@patil-akshay](https://discuss.elastic.co/u/patil-akshay)\
**Post date:** [September 19, 2017, 1:36pm UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/5 "2017-09-19T13:36:37Z")

</div>

Thank You

---

<div class="post-metadata">

**Author:** ![niaz](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@niaz](https://discuss.elastic.co/u/niaz)\
**Post date:** [September 21, 2017, 7:47am UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/6 "2017-09-21T07:47:42Z")

</div>

Hello, I need to disable this completely because on startup of elastic search this discovery takes a bit of time. I want to save this start up time. Could it be possible that the cluster that have ONLY one node in my case started without trying any discovery for other nodes?

The use case, elastic search is installed on windows and will be started locally using flag "transport.type=local". Additionally, I would like to know if somehow the plugins can also be disabled?

---

<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:** [October 19, 2017, 7:48am UTC](https://discuss.elastic.co/t/how-to-disable-zen-discovery-in-elastic-search-5-5/100994/7 "2017-10-19T07:48:06Z")

</div>

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