Cluster can't detect additional node


(juiip) #1

I have an ES cluster (v 5.6.12) up and running in dev mode, config below:

Node 1: node1address.com

cluster.name: elastic-test
node.name: "node-1"
path.data: /path/to/data
path.logs: /path/to/logs
network.host: 127.0.0.1
http.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["node1address.com", "node2address.com"]
node.master: true

I am trying to connect node 2:

Node 2: node2address.com

cluster.name: elastic-test
node.name: "node-2"
path.data: /path/to/data
path.logs: /path/to/logs
network.host: 127.0.0.1
http.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["node1address.com", "node2address.com"]
node.master: true

What am I doing wrong here - assuming it's something to do with the network settings?
I tried to change the network.host to their respective addresses, but this takes them out of dev mode?


(David Pilato) #2

If you want to form a cluster then set network.host


(system) #3

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