Adding more nodes to your Elasticsearch cluster
When using Elasticsearch productively it is recommend to have at least 2 nodes, each running on a different machine. This adds redundancy to your Elasticsearch system and allows zero-downtime during maintenance.
The following configuration makes the nodes visible to each other.
Edit /etc/elasticsearch/elasticsearch.yml:
Configuration Task | |
---|---|
discovery.zen.ping.unicast.hosts | Comma-separated list of all hosts in the cluster, e.g. ["10.1.252.52", "10.1.252.14"] |