status is incorrect but I guess it's due to the fact your data node is not a master node and can't find a master.
How did you set unicast?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 21 mars 2014 à 09:33:35, Geet Gangwar (geetgangwar@gmail.com) a écrit:
Thanks David for such a quick reply.
I tried you command from one node to second node and got following result.
{
"status" : 503,
"name" : "cleandata-DataNode-1",
"version" : {
"number" : "1.0.1",
"build_hash" : "5c03844e1978e5cc924dab2a423dc63ce881c42b",
"build_timestamp" : "2014-02-25T15:52:53Z",
"build_snapshot" : false,
"lucene_version" : "4.6"
},
"tagline" : "You Know, for Search"
}
Dont know whehter it is correct or something is wrong.
Regards
Geet
On Fri, Mar 21, 2014 at 12:43 PM, David Pilato david@pilato.fr wrote:
They are sharing same security group name and are deployed in same region?
If unicast does not work using private IP, aws plugin won't work either.
Can you from one node run
curl http://secondnodeip:9200/
Same from second node.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 21 mars 2014 à 08:08, Geet Gangwar geetgangwar@gmail.com a écrit :
Hi
I am also facing same issue of no dicovery.ec2 logs getting generated for elasticsearch 1.0.1 and cloud-aws plugin 2.0.0.RC
I tried the corrected version of setting given:
cloud:
aws:
access_key: XXXXXX
secret_key: XXXXXX
region: ap-southeast-1
discovery:
type: ec2
groups:
Difference is the region.
I have created two nodes(one is master node with node.data = false and other one is just a data node with node.master = false)
Even when I try for unicast and specify hard coded private ip then also the second node does not joins the cluster.
I installed head plugin on the master node which is working fine and I m able to view one node in the browser.
Please guide me on what I am doing wrong.
On Thursday, March 20, 2014 3:51:36 AM UTC+5:30, Daniel F. wrote:
Thanks David,
You are right elasticsearch.yml had two errors: space before "discovery" and "region" should not be equal to availability zone "eu-west-1a" but "eu-west-1".
The working version is:
discovery.zen.ping.multicast.enabled: false
cloud:
aws:
access_key: XXXX
secret_key: XXXX
region: eu-west-1
discovery:
type: ec2
groups: my-security-group
Daniel
On Wednesday, March 19, 2014 10:21:36 PM UTC+2, David Pilato wrote:
I think your elasticsearch.yml is incorrect.
Just saying because as far as I can see, ec2 discovery does not start actually.
So, may be some space before cloud.type: ec2 is missing?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 19 mars 2014 à 19:31:03, Daniel F. (feins...@gmail.com) a écrit:
Yes, i am running elasticsearch as root. It is a test environment so I did not tune it yet.
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.
You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/VyFXBVFp_oM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/E4CABFBD-9F00-4AB0-9CC7-F06D05B52C9F%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEXePwfmAyp9K88ykHUk78C6tyFPDvr9jFXSV%2BWSoJ3_7xDe-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.532bfcac.4353d0cd.c9bd%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.