Setting up a coordinating-only node
The master nodes that we have seen previously are most important for cluster stability because they control node join/leave
, index creation and mapping changes, and the allocation of resources. To prevent the queries and aggregations from creating instability in your cluster, coordinator (or client/proxy) nodes can be used to provide safe communication with the cluster.
Getting ready
You need a working Elasticsearch installation, as we described in the Downloading and installing Elasticsearch recipe in this chapter, and a simple text editor to change configuration files.
How to do it…
For the advanced setup of a cluster, there are some parameters that must be configured to define different node roles.
The parameter is in the config/elasticsearch.yml
file, and you need to set the nodes.roles
property to empty,
as follows:
node.roles: []
How it works…
The coordinator node is a special node that works as a...