{"id":3216,"date":"2019-07-11T23:33:55","date_gmt":"2019-07-11T20:33:55","guid":{"rendered":"https:\/\/kifarunix.com\/?p=3216"},"modified":"2023-11-23T20:49:48","modified_gmt":"2023-11-23T17:49:48","slug":"setup-multi-node-elasticsearch-cluster","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/setup-multi-node-elasticsearch-cluster\/","title":{"rendered":"Setup Multi-node Elasticsearch Cluster"},"content":{"rendered":"\n
In this guide, we are going to learn how to setup multi-node Elasticsearch cluster. This guide has been tested on Fedora 30\/Fedora 29\/CentOS 7. <\/p>\n\n\n\n
So what is Elasticsearch cluster? An Elasticsearch cluster<\/strong><\/em> is a group of nodes that have the same Each node in an Elasticsearch cluster serves one or more purpose:<\/p>\n\n\n\n See an updated guide on Setup Multinode Elasticsearch 8.x Cluster<\/a>.<\/p>\n\n\n\ncluster.name<\/code> attribute. As nodes join or leave a cluster, the cluster automatically reorganizes itself to evenly distribute the data across the available nodes. This ensures increased capacity and reliability.<\/p>\n\n\n\n
\n
node.master<\/code> set to
true<\/code> (default). It is responsible for lightweight cluster-wide actions such as creating or deleting an index, tracking which nodes are part of the cluster, and deciding which shards to allocate to which nodes.<\/li>\n\n\n\n
node.data<\/code> set to
true<\/code> (default). Data nodes hold data and perform data related operations such as CRUD, search, and aggregations.<\/li>\n\n\n\n
node.ingest<\/code> set to
true<\/code> (default). Ingest nodes are able to apply an ingest pipeline<\/a> to a document in order to transform and enrich the document before indexing.<\/li>\n\n\n\n
Table of Contents<\/h2>