# Setting up 3 node cluster for first time and getting errors

**URL:** <https://discuss.elastic.co/t/setting-up-3-node-cluster-for-first-time-and-getting-errors/378775>\
**Category:** Elasticsearch\
**Created:** [June 1, 2025, 3:17pm UTC](https://discuss.elastic.co/t/setting-up-3-node-cluster-for-first-time-and-getting-errors/378775 "2025-06-01T15:17:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [June 1, 2025, 3:36pm UTC](https://discuss.elastic.co/t/setting-up-3-node-cluster-for-first-time-and-getting-errors/378775/2 "2025-06-01T15:36:25Z")

</div>

Hello and welcome,

You have only one node with the `master` role, the `discovery.seed_hosts` is a list of master eligible nodes, so it needs to haver just the master eligible node, remove the non-eligible nodes from this list.

Did you manually generated the certificates? If true you need to remove this `xpack.security.enrollment.enabled: true` from the configuration file, the enrollment process only works if security is auto-configured.

Also, you have 3 nodes, why use just one as a master? Your cluster will not be resilient to failures.

---

_[View the full topic](https://discuss.elastic.co/t/setting-up-3-node-cluster-for-first-time-and-getting-errors/378775)._
