Hi guys,
I can't get node-2 to join master
I am running 2 nodes node-1 as master and node-2 as data node
Here is my configuration:
master node :
cluster.name: cluster
node.name: production2
node.master: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: ["localhost", "10.20.30.22"]
discovery.zen.ping.unicast.hosts: ["10.20.30.21", "10.20.30.22"]
data node:
cluster.name: cluster
node.name: production1
node.data: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: ["10.20.30.21","localhost"]
discovery.zen.ping.unicast.hosts: ["10.20.30.22:9300"]
curl localhost:9200/_cluster/health
{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
----> Logfile
[o.e.d.z.ZenDiscovery ] [production1] failed to send join request to master [{production2}{yFdQEaCNSdfeTUZ7UwOtuw}{f3j5NwIFSCGudseJnZiSzw}{10.20.30.22}{10.20.30.22:9300}], reason [RemoteTransportException[[production2][10.20.30.22:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[production1][10.20.30.21:9300] connect_timeout[30s]]; ]
telnet to master node on port 9300 is working fine, and also the master machine can telnet node-2 on port 9300
I am wondering what I missing ?
I would appreciate any help .
thank you very much in advance