# Unable to make my cluster state as Green even with more than 1 nodes

**URL:** <https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575>\
**Category:** Elasticsearch\
**Created:** [March 28, 2016, 10:05am UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575 "2016-03-28T10:05:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anusha6](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@anusha6](https://discuss.elastic.co/u/anusha6)\
**Post date:** [March 28, 2016, 10:05am UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575/1 "2016-03-28T10:05:36Z")

</div>

Hello Team,

I have two instances in same host,  
In one instance data already loaded without any extra node connected to that..

Then after for to create cluster, changes made in Node 1 as:  
[cluster.name](http://cluster.name): elasticsearch  
[node.name](http://node.name): node1  
node.master: true  
node.data: true  
http:port: 9200  
tcp.port: 9300  
discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts: [“192.168.1.59:9300”,”192.168.1.59:9301”]

changes made in Node2 elasticsearch.yml file:  
[cluster.name](http://cluster.name): elasticsearch  
[node.name](http://node.name): node2  
node.master: true  
node.data: true  
http:port: 9201  
tcp.port: 9301  
discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts: [“192.168.1.59:9300”,”192.168.1.59:9301”]

Then I have started node 1 and the started node 2

when I check for cluster health status as:

GET \_cluster/health?pretty=true:

Response:

"cluster\_name": "elasticsearch",  
"status": "yellow",  
"timed\_out": false,  
"number\_of\_nodes": 2,  
"number\_of\_data\_nodes": 2,  
"active\_primary\_shards": 45,  
"active\_shards": 45,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 45,  
"number\_of\_pending\_tasks": 0

The same response am seeing in 192.168.1.59:9200, 192.168.1.59:9201..

May I know why the cluster is not making its status to green even though it have more than 1 node connected in a host?????

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [March 28, 2016, 11:17am UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575/2 "2016-03-28T11:17:35Z")

</div>

Is there anything in the ES logs that would indicate why ES isn't able to assign shards to the newly added node? Is there ample disk space on that node?

---

<div class="post-metadata">

**Author:** ![anusha6](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@anusha6](https://discuss.elastic.co/u/anusha6)\
**Post date:** [March 28, 2016, 12:47pm UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575/3 "2016-03-28T12:47:15Z")

</div>

Hi Magnus,

Thanks for your response.  
In logs am unable to see anything,, may I know what is ample disk space and why do we need to consider that???  
And how to check that ample disk space????

---

<div class="post-metadata">

**Author:** ![anusha6](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@anusha6](https://discuss.elastic.co/u/anusha6)\
**Post date:** [March 28, 2016, 12:49pm UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575/4 "2016-03-28T12:49:54Z")

</div>

One more to Say that both nodes 192.168.1.59:9200 and 192.168.1.59:9201 are accessable (able to get data from both nodes, which seems like both are communicating)..  
But unable to make them Green state...

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [March 28, 2016, 7:20pm UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575/5 "2016-03-28T19:20:45Z")

</div>

> may I know what is ample disk space and why do we need to consider that???

Elasticsearch will refuse to allocate shards on node with less than 15% free space on the partition that's supposed to contain the ES data. See [Disk-based shard allocation | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html).

> And how to check that ample disk space????

With the `df` tool, for example.

---

<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 5, 2017, 11:04pm UTC](https://discuss.elastic.co/t/unable-to-make-my-cluster-state-as-green-even-with-more-than-1-nodes/45575/6 "2017-07-05T23:04:35Z")

</div>


