Elasticsearch cluster issue

Hello

We now set a elasticsearch cluster with two nodes.

We set another IP address on one node machine and the network domain is different.

Host1=>IP1:192.168.XX.XXX, IP2:10.XXX.XX.XX

Host2=>IP3:192.168.XX.XXX

And then we find this node will disconnect from the cluster.

The kibana web page will show "Service Unavailable".

And the elasticsearch log show:
"[HOST2] failed to send join request to master [{HOST1}{IP3}{IP3:9300}], reason [RemoteTransportException[[HOST1][IP3:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[HOST2][IP2:9300] connect_timeout[30s]]; nested: IOException[connection timed out: IP2/IP2:9300]; ]".

We set the elasticsearch.yml with these command:

cluster.name: ela

node.name: ${HOSTNAME}

network.host: 0.0.0.0

discovery.zen.ping.unicast.hosts: ["IP1", "IP3"]

Is there any configure issue?

Hi @hsiuming

Can you give a telnet on port 9300 between nodes?

Hello Fram_Souza

I find the problem is the setting command of network.host.

The command : network.host: [interface, local]

Thanks for your reply.

1 Like

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