# Single node ElasticSearch always status yellow

**URL:** https://discuss.elastic.co/t/single-node-elasticsearch-always-status-yellow/84494
**Category:** Elasticsearch
**Created:** [May 4, 2017, 7:19am UTC](https://discuss.elastic.co/t/single-node-elasticsearch-always-status-yellow/84494 "2017-05-04T07:19:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JohanLanderholm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johanlanderholm/32/74466_2.png) [@JohanLanderholm](https://discuss.elastic.co/u/JohanLanderholm)
#### Post date: [May 4, 2017, 7:19am UTC](https://discuss.elastic.co/t/single-node-elasticsearch-always-status-yellow/84494/1 "2017-05-04T07:19:01Z")

</div>

Hi,  
My single node elastic search (5.3.2) system is always yellow because the number\_of\_replicas is default 1.

I have tried to find out how to change this but failed so far.

1. I tried using elastic search.yml setting, but this is apparently only a pre-5.x setting.
2. Tried the default template mapping in the developer tab:  
`set /_template/_all { "template" : "*", "settings" : { "number_of_replicas" : "0" }}`  
but this does not work.

What is the way to do this?  
Why is the default setting 1 instead of 0 ?

/J

---

<div class="post-metadata">

### Author: ![Crolnus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/crolnus/32/10442_2.png) [@Crolnus](https://discuss.elastic.co/u/Crolnus)
#### Post date: [May 11, 2017, 5:34am UTC](https://discuss.elastic.co/t/single-node-elasticsearch-always-status-yellow/84494/2 "2017-05-11T05:34:47Z")

</div>

What is your shards size ?

---

<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 11, 2017, 5:46am UTC](https://discuss.elastic.co/t/single-node-elasticsearch-always-status-yellow/84494/3 "2017-05-11T05:46:56Z")

</div>

What is this command?

```auto
set /_template/_all { "template" : "*", "settings" : { "number_of_replicas" : "0" }}

```

Does not look something I have ever seen.

---

<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: [June 8, 2017, 5:53am UTC](https://discuss.elastic.co/t/single-node-elasticsearch-always-status-yellow/84494/4 "2017-06-08T05:53:45Z")

</div>

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