# Problem with coordinating node.role

**URL:** <https://forum.opensearch.org/t/problem-with-coordinating-node-role/8794>\
**Category:** Build\
**Tags:** configure, install\
**Created:** [March 2, 2022, 4:21pm UTC](https://forum.opensearch.org/t/problem-with-coordinating-node-role/8794 "2022-03-02T16:21:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ouvo](https://avatars.discourse-cdn.com/v4/letter/o/d2c977/32.png) [@ouvo](https://forum.opensearch.org/u/ouvo)\
**Post date:** [March 2, 2022, 4:21pm UTC](https://forum.opensearch.org/t/problem-with-coordinating-node-role/8794/1 "2022-03-02T16:21:13Z")

</div>

Hello there,  
I want to build an Opensearch cluster on docker with:

- 6 data node
- 1 master node
- 1 coordinating node  
data and master node are taking the righ role :  
node.roles: ‘master’ for the master (m)  
node.roles: ‘ingest’, data’ for the data (di)  
But i have a problem with my coordinating node, i set node.roles: ’ ’ but when i run the cluster the coordinating node take dimr parameter ( data, ingest, master, remote-cluster)  
Do you have any idea why coordining node can’t take the righ role?

---

<div class="post-metadata">

**Author:** ![ThibaudF](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/thibaudf/32/31_2.png) [@ThibaudF](https://forum.opensearch.org/u/ThibaudF)\
**Post date:** [March 3, 2022, 5:56pm UTC](https://forum.opensearch.org/t/problem-with-coordinating-node-role/8794/2 "2022-03-03T17:56:41Z")

</div>

For coordinating node, I think you have to explicitly set as false for every node roles :

```auto
 environment:
      - node.master=false
      - node.data=false
      - node.ingest=false

```

Have you tried this ?  
Maybe you can post your docker-compose file / opensearch.yml config.

Another idea, have you tried to make a custom opensearch.yml config file for each node?  
You can define their the roles with the parameters :

```auto
node.master
node.data
node.ingest

```

---

<div class="post-metadata">

**Author:** ![ouvo](https://avatars.discourse-cdn.com/v4/letter/o/d2c977/32.png) [@ouvo](https://forum.opensearch.org/u/ouvo)\
**Post date:** [March 7, 2022, 10:45am UTC](https://forum.opensearch.org/t/problem-with-coordinating-node-role/8794/3 "2022-03-07T10:45:52Z")

</div>

Thanks for your responce, it work well with:

```auto
environment:
      - node.master=false
      - node.data=false
      - node.ingest=false

```
