Hi Guys,
I realize that this question has been asked and answered many times,
however I'm having a bear of a time with it and I was hoping someone
might be able to help me out.
I'm currently running 2 ubuntu instances in EC2 with Elasticsearch
0.19.3 and I cannot get them to speak to one another. They are both
part of one security group (exposing ports 22, 9200, 9300), both have
the aws 1.5 plugin.
I'm using a very bare bones configuration (between the two lines:
#######################################
cluster.name: smm
path.data: /usr/local/var/data/elasticsearch
path.logs: /usr/local/var/log/elasticsearch
bootstrap.mlockall: true
cloud:
aws:
access_key: XXXXXXXXXXXX
secret_key: YYYYYYYYYYYY
discovery:
type: ec2
ping_timeout: 30s
#######################################
Here are the logs from start up:
[2012-05-31 22:29:27,082][INFO ][plugins ] [Bogeyman]
loaded [cloud-aws], sites [head]
[2012-05-31 22:29:30,520][DEBUG][discovery.zen.ping.multicast]
[Bogeyman] using group [224.2.2.4], with port [54328], ttl [3], and
address [null]
[2012-05-31 22:29:30,524][DEBUG][discovery.zen.ping.unicast]
[Bogeyman] using initial hosts [], with concurrent_connects [10]
[2012-05-31 22:29:30,525][DEBUG][discovery.ec2 ] [Bogeyman]
using ping.timeout [3s]
[2012-05-31 22:29:30,530][DEBUG][discovery.zen.elect ] [Bogeyman]
using minimum_master_nodes [-1]
[2012-05-31 22:29:30,532][DEBUG][discovery.zen.fd ] [Bogeyman]
[master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2012-05-31 22:29:30,535][DEBUG][discovery.zen.fd ] [Bogeyman]
[node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2012-05-31 22:29:31,533][DEBUG][discovery.ec2 ] [Bogeyman]
using host_type [PRIVATE_IP], tags [{}], groups [[]] with any_group
[true], availability_zones [[]]
[2012-05-31 22:29:34,522][INFO ][node ] [Bogeyman]
{0.19.3}[17859]: initialized
[2012-05-31 22:29:34,523][INFO ][node ] [Bogeyman]
{0.19.3}[17859]: starting ...
[2012-05-31 22:29:34,698][INFO ][transport ] [Bogeyman]
bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/
10.168.71.28:9300]}
[2012-05-31 22:29:34,945][TRACE][discovery ] [Bogeyman]
waiting for 30s for the initial state to be set by the discovery
[2012-05-31 22:29:35,945][TRACE][discovery.ec2 ] [Bogeyman]
building dynamic unicast discovery nodes...
[2012-05-31 22:29:35,945][DEBUG][discovery.ec2 ] [Bogeyman]
using dynamic discovery nodes []
[2012-05-31 22:29:37,597][TRACE][discovery.ec2 ] [Bogeyman]
building dynamic unicast discovery nodes...
[2012-05-31 22:29:35,945][DEBUG][discovery.ec2 ] [Bogeyman]
using dynamic discovery nodes []
[2012-05-31 22:29:37,597][TRACE][discovery.ec2 ] [Bogeyman]
building dynamic unicast discovery nodes...
[2012-05-31 22:29:37,597][DEBUG][discovery.ec2 ] [Bogeyman]
using dynamic discovery nodes []
[2012-05-31 22:29:39,250][TRACE][discovery.ec2 ] [Bogeyman]
building dynamic unicast discovery nodes...
[2012-05-31 22:29:39,251][DEBUG][discovery.ec2 ] [Bogeyman]
using dynamic discovery nodes []
[2012-05-31 22:29:39,252][DEBUG][discovery.ec2 ] [Bogeyman]
ping responses: {none}
[2012-05-31 22:29:39,256][INFO ][cluster.service ] [Bogeyman]
new_master [Bogeyman][thRSc8zgTQmE5unwlp84Qw][inet[/
10.168.71.28:9300]], reason: zen-disco-join (elected_as_master)
[2012-05-31 22:29:39,479][TRACE][discovery ] [Bogeyman]
initial state set from discovery
[2012-05-31 22:29:39,479][INFO ][discovery ] [Bogeyman]
smm/thRSc8zgTQmE5unwlp84Qw
[2012-05-31 22:29:39,526][INFO ][http ] [Bogeyman]
bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/
10.168.71.28:9200]}
[2012-05-31 22:29:39,526][INFO ][node ] [Bogeyman]
{0.19.3}[17859]: started
[2012-05-31 22:29:39,604][INFO ][gateway ] [Bogeyman]
recovered [0] indices into cluster_state
Any suggestions or help for a relative newbie would be most
appreciated!!!
Thanks!
Nick