Adding New Nodes to an Elasticsearch Cluster
This section explains how to add a new node to an Elasticsearch cluster. You can add nodes to a cluster by configuring new nodes to find an existing cluster and start them up.
For example, consider that a new node, node 4, is added to a cluster that already has three nodes in it namely, node1, node2, and node3.
To add new node to a cluster
If you want to remove a node from a cluster do the following:
- Open the elasticsearch.yml file located at Install_Dir/config/.
- Remove the node listed in the format host_name:port_name in the discovery.seed_hosts property.
- Save the elasticsearch.yml file and restart the Elasticsearch cluster. The specified node is now removed from the cluster.