# Elasticsearch cluster setup with 7.5.1

**URL:** https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-7-5-1/320210
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [December 1, 2022, 6:39am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-7-5-1/320210 "2022-12-01T06:39:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Suraj\_Jannu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suraj_jannu/32/112902_2.png) [@Suraj\_Jannu](https://discuss.elastic.co/u/Suraj_Jannu)
#### Post date: [December 1, 2022, 6:39am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-7-5-1/320210/1 "2022-12-01T06:39:12Z")

</div>

Hello,

I am trying to set up a 3-node elasticsearch cluster of version 7.5.1.  
I have 1 master node, 1 data node, and 1 client node.  
Each instance of elasticsearch.yml configuration is as below.

# Master node

path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
cluster.name: prod-elk-west  
node.name: mnode01  
network.host: MASTER\_NODE\_IP  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["MASTER\_NODE\_IP"]  
discovery.zen.minimum\_master\_nodes: 1  
gateway.recover\_after\_nodes: 1  
node.master: true  
node.data: false  
xpack.security.audit.enabled: false  
xpack.security.enabled: false  
indices.query.bool.max\_clause\_count: 10000  
cluster.initial\_master\_nodes: ["mnode01"]

# Client node

path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
cluster.name: prod-elk-west  
node.name: cnode01  
network.host: CLIENT\_NODE\_IP  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["MASTER\_NODE\_IP"]  
discovery.zen.minimum\_master\_nodes: 1  
gateway.recover\_after\_nodes: 1  
node.master: false  
node.data: false  
http.cors.enabled: true  
http.cors.allow-origin: "\*"  
http.max\_header\_size: 16kb  
xpack.security.audit.enabled: false  
xpack.security.enabled: false  
indices.query.bool.max\_clause\_count: 10000  
cluster.initial\_master\_nodes: ["mnode01"]

# Data Node

path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
cluster.name: prod-elk-west  
node.name: dnode01  
network.host: DATA\_NODE\_IP  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["MASTER\_NODE\_IP"]  
discovery.zen.minimum\_master\_nodes: 1  
gateway.recover\_after\_nodes: 1  
node.master: false  
node.data: true  
xpack.security.audit.enabled: false  
xpack.security.enabled: false  
indices.query.bool.max\_clause\_count: 10000  
cluster.initial\_master\_nodes: ["mnode01"]

All the instances are up and running. But the cluster health is checked the number of nodes is shown as 1. sample is added below.

```auto
curl -XGET http://MATER_NODE_IP:9200/_cluster/health?pretty
{
  "cluster_name" : "prod-elk-west",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 0,
  "active_primary_shards" : 0,
  "active_shards" : 0,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0
}

```

could you please help me bring the cluster up and running with all nodes.

Thanks and regards,  
Suraj Jannu

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [December 1, 2022, 10:09pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-7-5-1/320210/2 "2022-12-01T22:09:16Z")

</div>

You will need to share the logs of the nodes for us to comment further.

Also 7.5 is very much [EOL](https://www.elastic.co/support/eol) and you should not be using it.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 29, 2022, 10:09pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-with-7-5-1/320210/3 "2022-12-29T22:09:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
