Add nodes to the cluster on the fly

Hello, I have a task to add 2 more nodes in a cluster. Currently we have 5 nodes in a cluster which are all data nodes. Elastic version 7.11.2.

Current discovery parameters set for cluster:

"" which lists all 5 data nodes
"discovery.zen.minimum_master_nodes: 3"

My question is which parameters I should set on a new node to it join the cluster on the fly?

  1. Do I need to add "" parameter which lists all nodes on a new node? Or "" would be enough for a node to join the cluster?
  2. Do I need to change parameter "" on current cluster to include new node?


Both of these settings were deprecated in 7.0 and you should not be using them any more.

Instead, set discovery.seed_hosts to the addresses of the master nodes only.


So if all my 5 nodes are data notes and master nodes, I would list them all in "discovery.seed_hosts" parameter on new nodes?


And if i have minimum of 3 master nodes parameter set up, do I need to change this parameter in the config file on a new nodes?
I have this parameter on initial 5 node cluster:

discovery.zen.minimum_master_nodes: 3

I plan to add 2 new nodes, do I need to change this parameter on a new nodes?

No, this setting was deprecated in 7.0 and shouldn't be used.

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