# \[Solved\] - How to create a replica node only to existing cluster

**URL:** <https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473>\
**Category:** Elasticsearch\
**Created:** [November 12, 2019, 9:18am UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473 "2019-11-12T09:18:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JH82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jh82/32/45952_2.png) [@JH82](https://discuss.elastic.co/u/JH82)\
**Post date:** [November 12, 2019, 9:18am UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/1 "2019-11-12T09:18:49Z")

</div>

Hello,

Today I've only 1 node. (health is marked Yellow, because is not HA)  
is it possible to add a replica node only to a cluster ? I wish to have 1 node active and 1 datanode only for search with replica data from first node ; health monitor will be "green" ...

can you help me about configuration element to specify a replica node.

Thanks for all.

Regards.

---

<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:** [November 12, 2019, 9:31am UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/2 "2019-11-12T09:31:33Z")

</div>

Bonjour Jacques 🙂

You just need to start a new node. With the right configuration, it will join the cluster and replicas will be eventually allocated on it.

Read also [https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html)

---

<div class="post-metadata">

**Author:** ![JH82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jh82/32/45952_2.png) [@JH82](https://discuss.elastic.co/u/JH82)\
**Post date:** [November 12, 2019, 10:04am UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/3 "2019-11-12T10:04:38Z")

</div>

> [@dadoonet](#):
>
> With the right configuration

My post is about this. what is the right configutation to make a node with replica only 😉 ?

---

<div class="post-metadata">

**Author:** ![JH82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jh82/32/45952_2.png) [@JH82](https://discuss.elastic.co/u/JH82)\
**Post date:** [November 12, 2019, 10:34am UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/4 "2019-11-12T10:34:45Z")

</div>

Can you confirm is it possible to make HA with **only 2 nodes** (1 master, 1 replica - not 3 nodes) ? All examples found are with 3 nodes...

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 12, 2019, 10:50am UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/5 "2019-11-12T10:50:52Z")

</div>

> [@JH82](#):
>
> My post is about this. what is the right configutation to make a node with replica only 😉 ?

There is no such configuration, but there is no need to do this. Just add a node and let Elasticsearch allocate the shards as it sees fit.

> [@JH82](#):
>
> Can you confirm is it possible to make HA with **only 2 nodes** (1 master, 1 replica - not 3 nodes) ? All examples found are with 3 nodes...

No, this is not possible. You need three master-eligible nodes for high availability.

---

<div class="post-metadata">

**Author:** ![JH82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jh82/32/45952_2.png) [@JH82](https://discuss.elastic.co/u/JH82)\
**Post date:** [November 12, 2019, 12:38pm UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/6 "2019-11-12T12:38:40Z")

</div>

ok that explains why I do not find how to do 😉

Thanks !

---

<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:** [December 10, 2019, 12:38pm UTC](https://discuss.elastic.co/t/solved-how-to-create-a-replica-node-only-to-existing-cluster/207473/7 "2019-12-10T12:38:52Z")

</div>

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