# Run elasticsearch without initial master nodes configured

**URL:** <https://discuss.elastic.co/t/run-elasticsearch-without-initial-master-nodes-configured/299812>\
**Category:** Elasticsearch\
**Created:** [March 16, 2022, 4:24am UTC](https://discuss.elastic.co/t/run-elasticsearch-without-initial-master-nodes-configured/299812 "2022-03-16T04:24:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![auto\_reply\_007](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@auto\_reply\_007](https://discuss.elastic.co/u/auto_reply_007)\
**Post date:** [March 16, 2022, 4:24am UTC](https://discuss.elastic.co/t/run-elasticsearch-without-initial-master-nodes-configured/299812/1 "2022-03-16T04:24:24Z")

</div>

Hi! i have 3 node cluster ( 7.16.2 ) with this config  
( example from first node )

```auto
cluster.name: sactions
cluster.routing.allocation.awareness.attributes: zone
cluster.routing.allocation.awareness.force.zone.values: zone1,zone2,zone3
node.name: elastic-01
node.attr.zone: zone1
node.master: true
node.data: true
node.ingest: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 172.17.5.3
discovery.seed_hosts:
   - 172.17.5.3
   - 172.17.5.4
   - 172.17.5.5
   

cluster.initial_master_nodes:
   - 172.17.5.3
   - 172.17.5.4
   - 172.17.5.5
xpack.security.enabled: false

```

for ease of deployment through ansible, I want to remove the cluster.initial\_master\_nodes configuration  
what could be the consequences?

---

<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:** [April 13, 2022, 4:25am UTC](https://discuss.elastic.co/t/run-elasticsearch-without-initial-master-nodes-configured/299812/2 "2022-04-13T04:25:06Z")

</div>

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