Hi.
It's first time that work with ES with Cluster and AWS EC2 instances.
- I'm working with ES 5.5.1 on instancd with Ubuntu 16.04
- All nodes are up and running
- All nodes has a Security Group with permissions for all traffic between nodes (all ports)
- Internal firewall on very machine white list for every node
Master elasticsearch,yml
cluster.name: excelle
node.name: ${HOSTNAME}
node.master: true
path.data: /srv/data
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 172.31.44.107
discovery.zen.ping.unicast.hosts: ["172.31.44.107", "172.31.2.148", "172.31.18.76"]
node02 elasticsearch,yml
cluster.name: excelle
node.name: ${HOSTNAME}
node.master: false
path.data: /srv/data
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 172.31.18.76
discovery.zen.ping.unicast.hosts: ["172.31.44.107", "172.31.2.148", "172.31.18.76"]
node02 elasticsearch,yml
cluster.name: excelle
node.name: ${HOSTNAME}
node.master: false
path.data: /srv/data
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 172.31.2.148
discovery.zen.ping.unicast.hosts: ["172.31.44.107", "172.31.2.148", "172.31.18.76"]
Error on log
[2017-08-15T11:01:41,241][INFO ][o.e.d.z.ZenDiscovery ] [es03] failed to send join request to master [{esmaster}{scquEEaETDKMKLHzZvEHZQ}{NdLtMUXtT7WXnv1a4uHWqQ}{172.31.44.107}{172.31.44.107:9300}], reason [RemoteTransportException[[esmaster][172.31.44.107:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[es03][172.31.18.76:9300] connect_timeout[30s]]; nested: IOException[connection timed out: 172.31.18.76/172.31.18.76:9300]; ]
Try telnet
telnet 172.31.44.107 9300
Trying 172.31.44.107...
Connected to 172.31.44.107.
Escape character is '^]'.
Not other errors on node02 & node03
Apreciate help.