Can anyone specify the configurations for clustering three nodes which are in different machines?

i have tried configuring three nodes which are in different machines?
could not able to do so,having some port isssues

If you think you have port issues don't change your ports. Use default port.

FYI

cluster.name: my-application node.name: node-1 node.master: true node.data: true network.host: <your_node_ip> http.port: 9200 discovery.zen.ping.multicast.enabled: false discovery.zen.ping.unicast.hosts: ["localhost", "second_ip", "third_ip"] discovery.zen.minimum_master_nodes: 2

Continue this in all the nodes. But change the node name it has to be unique among the cluster

1 Like