# Adding nodes to existing node

**URL:** <https://discuss.elastic.co/t/adding-nodes-to-existing-node/130274>\
**Category:** Elasticsearch\
**Created:** [May 2, 2018, 2:51pm UTC](https://discuss.elastic.co/t/adding-nodes-to-existing-node/130274 "2018-05-02T14:51:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malefo\_Monnanyana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malefo_monnanyana/32/30700_2.png) [@Malefo\_Monnanyana](https://discuss.elastic.co/u/Malefo_Monnanyana)\
**Post date:** [May 2, 2018, 2:51pm UTC](https://discuss.elastic.co/t/adding-nodes-to-existing-node/130274/1 "2018-05-02T14:51:56Z")

</div>

Hi guys, how do I add two more nodes and how do I get to make the status GREEN, this is what i get when i run "GET \_cluster/health?pretty"

{  
"cluster\_name": "nodes\_production",  
"status": "yellow",  
"timed\_out": false,  
"number\_of\_nodes": 1,  
"number\_of\_data\_nodes": 1,  
"active\_primary\_shards": 6,  
"active\_shards": 6,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 9,  
"delayed\_unassigned\_shards": 0,  
"number\_of\_pending\_tasks": 0,  
"number\_of\_in\_flight\_fetch": 0,  
"task\_max\_waiting\_in\_queue\_millis": 0,  
"active\_shards\_percent\_as\_number": 40  
}

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [May 2, 2018, 2:57pm UTC](https://discuss.elastic.co/t/adding-nodes-to-existing-node/130274/2 "2018-05-02T14:57:21Z")

</div>

You're cluster is yellow because there is only one data node, so it can't assign replicas anywhere. Once you add another node (or two) it should go to green as the replicas will allocate.

Adding more nodes is as simple as configuring a few more machines with the same details (unicast list, cluster name, etc) and starting the process. They will connect to the existing node, form a cluster and rebalance shards.

---

<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:** [May 30, 2018, 2:57pm UTC](https://discuss.elastic.co/t/adding-nodes-to-existing-node/130274/3 "2018-05-30T14:57:23Z")

</div>

Closed on May 30, 2018, 2:57pm UTC

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