Add node azure to elasticsearch 2.1


#1

I have two didicate server (host1 , host2) i have installed elastic 2.1 in my two didicate server
in my config i have host1
> cluster.name: myclus

 node.name: node-1
 network.host: ip adress 1
 http.port: 9200
 discovery.zen.ping.unicast.hosts: ["127.0.0.1","ip adress 2"]

in my host2

cluster.name: myclus
node.name: node-2
network.host: ip adress 2
http.port: 9200
discovery.zen.ping.unicast.hosts: ["127.0.0.1","ip adress 1"]
end its work

But when i want add my cloud azure on my archetcture i have two ip adress in my azure cloud (local ip ,public ip) my configuration is

cluster.name: myclus
node.name: node-3
network.bind_host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["127.0.0.1","ip adress 1","ip adress 2"]

i have this error

55,617][WARN ][bootstrap ] unable to install syscall filter: syscall filtering not supported for OS: 'Windows Server 2012 R2'
00:19:56,133][INFO ][node ] [node-cloud] version[2.1.0], pid[3516], build[72cd1f1/2015-11-18T22:40:03Z]
[2015-12-09 00:19:56,133][INFO ][node ] [node-cloud] initializing ...
[2015-12-09 00:19:56,461][INFO ][plugins ] [node-cloud] loaded [], sites [head]
[2015-12-09 00:19:56,524][INFO ][env ] [node-cloud] using [1] data paths, mounts [[(C:)]], net usable_space [115.8gb], net total_space [126.6gb], spins? [unknown], types [NTFS]
[2015-12-09 00:20:01,133][INFO ][node ] [node-cloud] initialized
[2015-12-09 00:20:01,133][INFO ][node ] [node-cloud] starting ...
[2015-12-09 00:20:01,664][INFO ][transport ] [node-cloud] publish_address {127.0.0.1:9300}, bound_addresses {[::]:9300}
[2015-12-09 00:20:01,696][INFO ][discovery ] [node-cloud] proveille/WuNr5mY9RVO6XsRWtkcYdQ
[2015-12-09 00:20:05,085][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]
[2015-12-09 00:20:08,327][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]
[2015-12-09 00:20:11,547][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]
[2015-12-09 00:20:14,761][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]
[2015-12-09 00:20:17,979][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]
[2015-12-09 00:20:21,208][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]
[2015-12-09 00:20:24,433][INFO ][discovery.zen ] [node-cloud] failed to send join request to master [{node-1}{cxzF7IYWSCCY2E58wKX_Ow}{ip adress 1}{ip adress 1:9300}], reason [RemoteTransportException[[node-1][ip adress 1:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[node-cloud][127.0.0.1:9300] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connexion refusée: /127.0.0.1:9300]; ]


(David Pilato) #2

Are all those nodes in the same network?


(David Pilato) #3

And BTW don't set 127.0.0.1 here as you bound to a private IP. Actually you don't need to declare localhost in the unicast list.


#4

each node is in a different server


(David Pilato) #5

I can imagine.
And so?


#6

So i change the

discovery.zen.ping.unicast.hosts: ["address 1", "address2"]
but i have a same error

thank you for your repense


(David Pilato) #7

I asked earlier:

Can you check that please?

You should be able to telnet from one machine to another one on port 9300. If not, check your network settings.


(system) #8