I have to be missing something simple, but here goes. I've two ec2
instances. Ports 9300 and 9200 (and 22) are visible to each other.
Verified with nc.
I've installed elasticsearch-0.19.0 and the AWS plugin.
I've the following addition to elasticsearch.yml:
WL additions
cluster.name: es-me
cloud:
aws:
access_key: [ACCESS_KEY]
secret_key: [SECRET_KEY]
region: us-east
discovery:
type: ec2
gateway:
type: s3
s3:
bucket: es.me
recover_after_time: 1m
recover_after_nodes: 1
expected_nodes: 2
So what I'm seeing is the following:
Here's the initial discovery logs:
[2012-04-03 14:56:05,581][DEBUG][discovery.zen.ping.multicast] [Iron Cross]
using group [224.2.2.4], with port [54328], ttl [3], and address [null]
[2012-04-03 14:56:05,584][DEBUG][discovery.zen.ping.unicast] [Iron Cross]
using initial hosts [], with concurrent_connects [10]
[2012-04-03 14:56:05,585][DEBUG][discovery.ec2 ] [Iron Cross]
using ping.timeout [3s]
[2012-04-03 14:56:05,590][DEBUG][discovery.zen.elect ] [Iron Cross]
using minimum_master_nodes [-1]
[2012-04-03 14:56:05,591][DEBUG][discovery.zen.fd ] [Iron Cross]
[master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2012-04-03 14:56:05,594][DEBUG][discovery.zen.fd ] [Iron Cross]
[node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
Then it discovers several dozen servers on the subnet, attempts to connect
and fails (because of network security policies).
When I start my second server, it's the same thing. But they don't see
each other!!
Looking at the S3 file, it's created, but the metadata file is
just: ZV+{"meta-data":{"version":20,"templates":{}}}, so there aren't an
IP's or anything.
Help?
Thanks,
Ranjan