# Getting error while setting up new cluster ES version 8.1.1

**URL:** <https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133>\
**Category:** Elasticsearch\
**Created:** [October 21, 2024, 7:30am UTC](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133 "2024-10-21T07:30:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 21, 2024, 6:03pm UTC](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133/2 "2024-10-21T18:03:55Z")

</div>

Hi @greatvikas123,

Welcome! It looks like you are setting properties that do not exist, in this case `node.master` and `node.data`. [As covered in this answer](https://discuss.elastic.co/t/elasticsearch-8-1-0-cluster-issue/302300/4), you need to use the [`node.roles` option](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html):

`node.roles: [data, master]`

Hope that helps!

---

_[View the full topic](https://discuss.elastic.co/t/getting-error-while-setting-up-new-cluster-es-version-8-1-1/369133)._
