# Elastic Search 2nd node install is not updating elasticsearch.yml per instructions

**URL:** <https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092>\
**Category:** Elasticsearch\
**Created:** [February 4, 2025, 11:25pm UTC](https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092 "2025-02-04T23:25:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjanzen](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@mjanzen](https://discuss.elastic.co/u/mjanzen)\
**Post date:** [February 4, 2025, 11:25pm UTC](https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092/1 "2025-02-04T23:25:33Z")

</div>

This category relates to the [Enterprise Search](https://www.elastic.co/enterprise-search) set of products - App Search, Site Search and Workplace Search.  
If your question relates to core Elasticsearch functionality, please head over to the #Elasticsearch category for assistance.

New to Elastic Search  
Working on a Proof of concept.  
(environment is air-gapped if it matters)

Using these instructions  
[Tutorial 1: Installing a self-managed Elastic Stack | Elastic Installation and Upgrade Guide [8.17] | Elastic](https://www.elastic.co/guide/en/elastic-stack/current/installing-stack-demo-self.html)

Install of Elastic Search 8.17 on the second node of the cluster went fine, however the elasticsearch.yml is not updating like these instructions state:

"Notice that, as a result of having run the `elasticsearch-reconfigure-node` tool, certain settings have been updated. For example:

- The `transport.host: 0.0.0.0` setting is already uncommented.
- The `discovery_seed.hosts` setting has the value that you added for `network_host` on the first Elasticsearch node. As you add each new Elasticsearch node to the cluster, the `discovery_seed.hosts` setting will contain an array of the IP addresses and port numbers to connect to each Elasticsearch node that was previously added to the cluster."

The transport.host:0.0.0.0 has been uncommented  
However  
The 'discovery\_seed.hosts' still shows the default values. My understanding is that during enrollment this value should be updated with the ip address of the first host.

I've repeated the steps in the instructions 3 times and the discovery\_seed.hosts value is not updating when new nodes are enrolled into the cluster.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [February 5, 2025, 3:44am UTC](https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092/2 "2025-02-05T03:44:44Z")

</div>

Did you install from RPM as per that tutorial?

What output did you get when you ran `elasticsearch-reconfigure-node`?

---

<div class="post-metadata">

**Author:** ![mjanzen](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@mjanzen](https://discuss.elastic.co/u/mjanzen)\
**Post date:** [February 5, 2025, 4:15pm UTC](https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092/3 "2025-02-05T16:15:57Z")

</div>

I can't copy/paste the output as the system is air-gapped, but the install of Elasticsearch via rpm completes without issue.

I run the elasticsearch-reconfigure-node script and it runs without issue.

When I look at the elasticsearch.yml the only field that has been updated is the transport host.

---

<div class="post-metadata">

**Author:** ![mjanzen](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@mjanzen](https://discuss.elastic.co/u/mjanzen)\
**Post date:** [February 5, 2025, 5:08pm UTC](https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092/4 "2025-02-05T17:08:07Z")

</div>

Another thing to note:  
The output of the reconfigure-node script states that the 'certs' folder should be deleted. It has not been, it's still present under /etc/elasticsearch.

---

<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:** [March 5, 2025, 5:08pm UTC](https://discuss.elastic.co/t/elastic-search-2nd-node-install-is-not-updating-elasticsearch-yml-per-instructions/374092/5 "2025-03-05T17:08:22Z")

</div>

Closed on March 5, 2025, 5:08pm UTC

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