ec2 discovery not working


(Neera Vats) #1

Hi All,

I am trying to setup 2 node cluster using ec2 discovery. my
elasticsearch.yml has the following configurations.

cluster.name: elasticsearch
node.name: "ES 2"
discovery.zen.ping.multicast.enabled: false
discovery.type: ec2
cloud.aws.access_key: XXX
cloud.aws.secret_key: XXX

network.host: internal-node-ip
discovery.ec2.host_type: public_ip
discovery.groups: elasticsearchgrp

ec2 discovery is running into the following exception and the nodes are
unable to discover each other. Are there some simple tests I can run from
each node to make sure the my configs and network port are setup correctly
.
I tried running "telnet 9300", but it fails. I would
any appreciate any help on this.

[2013-07-01 06:12:34,866][TRACE][discovery.zen.ping.unicast] [ES 1] [1]
failed to connect to
[#cloud-IIIII][inet[ec2-XXXX.compute-1.amazonaws.com/10.XX.XX.XX:9300]]
org.elasticsearch.transport.ConnectTransportException:
[][inet[ec2-XX_XX_XXX.compute-1.amazonaws.com/XX-XX-XX-XX:9300]]
connect_timeout[30s]
at
org.elasticsearch.transport.netty.NettyTransport.connectToChannelsLight(NettyTransport.java:644)
at
org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:606)
at
org.elasticsearch.transport.netty.NettyTransport.connectToNodeLight(NettyTransport.java:575)
at
org.elasticsearch.transport.TransportService.connectToNodeLight(TransportService.java:131)
at
org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing$3.run(UnicastZenPing.java:273)'

Thanks and Regards,
Neera

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2