Help with note.roles

Hey everyone o/

I was working with 3 nodes in my cluster. Now I added a 4th node, to be the cold node. Some indices that should be on it (according to ILM) are still not going.
I'm trying to configure node.roles on the first 3 nodes, but I've tried some settings and it still doesn't work.
Here's my setup that works (without using node.roles):

...
# --------------------------------- Discovery ----------------------------------
discovery.seed_hosts:
    - node1-mydomain.com
    - node2-mydomain.com
    - node3-mydomain.com
    - node4-mydomain.com
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes:
    - node1-mydomain.com
    - node2-mydomain.com
    - node3-mydomain.com
#cluster.initial_master_nodes: [ "node1.mydomain.com" ]
#node.master: true
#node.data: true
#node.roles: [ master, data_hot, transform, ingest ]
...

The cold node has node.roles active on [ data_cold ]. When I try to activate node.roles for the first 3 nodes it doesn't boot, I looked in the logs, but I didn't find anything relevant (or I didn't know how to search).

My doubt:
Can I use node.roles: [ master, data hot, transform, ingest ] ?

My intention is for the first 3 nodes to be data_hot and master eligible.
Any help will be appreciated!

Ironically, after I create this topic, update the whole cluster to 7.15 and restart, the indexes that should go to cold node are going =]
But I still have doubts if I can use node.roles as I mentioned above, because I want to leave the first 3 nodes as data_hot.

Yes.

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