
上QQ阅读APP看书,第一时间看更新
How to do it…
For the advanced setup of a cluster, there are some parameters that must be configured to define different node types.
These parameters are in the config/elasticsearch.yml, file and they can be set with the following steps:
- Set up whether the node can be a master or not, as follows:
node.master: true
- Set up whether a node must contain data or not, as follows:
node.data: true
- Set up whether a node can work as an ingest node, as follows:
node.ingest: true