Adding third node from subnet

Hi, I have a cluster on the same subnet that works

VM1 NCA-CLUSTER logwarehouse_master1 ["", ""]

VM2 NCA-CLUSTER logwarehouse_master2 ["", ""]

This cluster works. I prepared a third VM on another subnet, and I can't connect it to my cluster

VM3 NCA-CLUSTER logwarehouse_data1 ["", ""]

Telnet works on 9300 and for 9300
Telnet works for 9300 for and

I donn't know what I must add for my cluster to work

Thank you for your help

Hi, can you provide your master logs ?

What about telnet from 192.168 to 172.16?

Hi. It works, that's why I don't underdtand why third node won't connect

Envoyé de mon iPhone

Do you have this properties: false

EDIT: if version < 5.0

I have this line in my elastic.yml but it is not active. false

Are these in the same datacentre/location?

can you provide log of your VM3 ? /var/log/elasticsearch/*.log

Hi, yes they are on the same Datacentre

And the elasticsearch logs are empty. On /var/log/elasticsearch/ I have an elastic.log but it is empty

I found that information in a new log file :

[logwarehouse_data1] initialized
[2017-01-09T11:01:26,995][INFO ][o.e.n.Node ] [logwarehouse_data1] starting ...
[2017-01-09T11:01:27,209][INFO ][o.e.t.TransportService ] [logwarehouse_data1] publish_address {}, bound_addresses {}
[2017-01-09T11:01:27,214][INFO ][o.e.b.BootstrapCheck ] [logwarehouse_data1] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-01-09T11:01:27,450][WARN ][o.e.d.z.UnicastZenPing ] [logwarehouse_data1] [1] failed send ping to {#zen_unicast_1#}{wqGH5S7qSamfkLQ2QDmMOQ}{}{}
java.lang.IllegalStateException: handshake failed with {#zen_unicast_1#}{wqGH5S7qSamfkLQ2QDmMOQ}{}{}
at org.elasticsearch.transport.TransportService.handshake( ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.transport.TransportService.connectToNodeLightAndHandshake( ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.transport.TransportService.connectToNodeLightAndHandshake( ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.discovery.zen.UnicastZenPing$ [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.common.util.concurrent.ThreadContext$ [elasticsearch-5.1.1.jar:5.1.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_111]
at [?:1.8.0_111]
Caused by: org.elasticsearch.transport.RemoteTransportException: [logwarehouse_master1][][internal:transport/handshake]
Caused by: org.elasticsearch.ElasticsearchSecurityException: failed to verify signed authentication information


Are your certain that you can telnet from VM3 ( to 2 others VM using the 9300 port ?

Yes it works :

root@vmnt2042tech:~>telnet 9300
Connected to
Escape character is '^]'.

root@vmnt2042tech:~>telnet 9300
Connected to
Escape character is '^]'.

Another question : VM3 use the same ES version that VM1 & VM2 ?

Yes, same version.

But I found something : VM3 don't use the system_key file generated by VM1.
The authentification problem may comes from that

The problem is resolved.

In VM3, the file system_key in /etc/elasticsearch/x-pack was corrupted (I don't know why...)
In VM1 I generate a new system_key and I send it on VM3 with the terminal.

Thanks for all your help, I really appreciate.


1 Like

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