# Problem: Switching from a cluster to a single node ES

**URL:** <https://discuss.elastic.co/t/problem-switching-from-a-cluster-to-a-single-node-es/313225>\
**Category:** Elasticsearch\
**Created:** [August 30, 2022, 8:07am UTC](https://discuss.elastic.co/t/problem-switching-from-a-cluster-to-a-single-node-es/313225 "2022-08-30T08:07:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASRLO](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@ASRLO](https://discuss.elastic.co/u/ASRLO)\
**Post date:** [August 30, 2022, 8:07am UTC](https://discuss.elastic.co/t/problem-switching-from-a-cluster-to-a-single-node-es/313225/1 "2022-08-30T08:07:15Z")

</div>

Hi there,

My ES infrastructure is composed of 2 servers:  
An ELK server and another server only with Elasticsearch.

So there were 2 elasticsearch nodes. However for internal needs. The second server with only elasticsearch had to be decommissioned.

To do this, I ran the command:

> PUT \_cluster/settings  
> {  
> "transient": {  
> "cluster.routing.allocation.exclude.\_ip": "10.0.0.1"  
> }  
> }

To switch data to my first node.

I then shut down the second server.

Since this operation, I have the impression that some data is missing in the new indexes created.

Is there a procedure to remove an elasticsearch node?

Here is the configuration of my elasticsearch.yml:

> cluster.name: elastic-7.9.1  
> node.name: node-1  
> node.master: true  
> path.data: /var/lib/elasticsearch  
> path.logs: /var/log/elasticsearch  
> bootstrap.memory\_lock: true  
> network.host: 0.0.0.0  
> cluster.initial\_master\_nodes: ["node-1"]

Thank you

---

<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:** [August 30, 2022, 8:10am UTC](https://discuss.elastic.co/t/problem-switching-from-a-cluster-to-a-single-node-es/313225/2 "2022-08-30T08:10:55Z")

</div>

> [@ASRLO](#):
>
> Since this operation, I have the impression that some data is missing in the new indexes created.

Why is that?

Also if you are running 7.9 you need to upgrade, it's [EOL](https://www.elastic.co/support/eol).

---

<div class="post-metadata">

**Author:** ![ASRLO](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@ASRLO](https://discuss.elastic.co/u/ASRLO)\
**Post date:** [August 30, 2022, 12:26pm UTC](https://discuss.elastic.co/t/problem-switching-from-a-cluster-to-a-single-node-es/313225/3 "2022-08-30T12:26:33Z")

</div>

Hello Mark,

Thank you for your reply.

I think this because the size of my indexes since the operation has been reduced.

You should know that every day a new index is created. When I compare the indexes, before the stop of the node it is much larger. We go from 15GB to 4GB.

---

<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:** [September 27, 2022, 12:27pm UTC](https://discuss.elastic.co/t/problem-switching-from-a-cluster-to-a-single-node-es/313225/4 "2022-09-27T12:27:31Z")

</div>

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