Separate machine learning node configs

Hello i have a 3 node cluster up and running and on all the nodes node.ml is set to "false".Now i want to include a extra node into cluster which will only perform machine learning jobs. As far as my understanding node.ml is to make the node as machine learning node and xpack.ml.enabled is to make the node to perform machine learning jobs. SO setting the node.ml true for one node which is the new node i am introducing and xpack.ml.enabled true on all nodes should make the cluster with one ml node and all the master eligible will be enabled to perform the machine learning tasks right correct me if my understanding is wrong.Please find the below configs which i want to use.

Node 1:
node.ml:false
xpack.ml.enable:true( I know this is true by default just for understanding)

Node 2:
node.ml:false
xpack.ml.enable:true

Node 3:
node.ml:false
xpack.ml.enable:true

Node 4:(Machine learning node)
node.ml:true
xpack.ml.enable:true

Hi Chandra,

Your understanding is correct xpack.ml.enable should be true on all nodes as it is required for the nodes to talk 'ml' to each other. node.ml should only be set on the node you want the machine learning jobs to run on.

1 Like