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

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.

Bonjour Jacques :slightly_smiling_face:

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

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

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...

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.

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

ok that explains why I do not find how to do :wink:

Thanks !

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