Hi,
Newbie for installing ES esp on ec2.
I used the deb package to installing ubuntu 12.04
anyway.....
here is the basics of how I install with my chef recipe
version = '0.90.10'
remote_file
"#{Chef::Config[:file_cache_path]}/elasticsearch-#{version}.deb" do
source
"https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-#{version}.deb"
action :create_if_missing
end
dpkg_package
"#{Chef::Config[:file_cache_path]}/elasticsearch-#{version}.deb" do
action :install
end
bash "add_aws" do
cwd "/usr/share/elasticsearch"
code <<-EOH
git clone https://github.com/elasticsearch/elasticsearch-cloud-aws.git
bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.0.0.RC1
EOH
not_if {File.exists?("elasticsearch-cloud-aws")}
end
Here is my log file additions
discovery.type: ec2
cloud.aws.access_key: <%=@AWS_ACCESS_KEY_ID %>
cloud.aws.secret_key: <%=@AWS_SECRET_ACCESS_KEY %>
So...wow...ES will not work.
this is what i get
sudo service elasticsearch status
* elasticsearch is not running
I run for the command line this is what I get...
/usr/share/elasticsearch/bin/elasticsearch -f
log4j:WARN No appenders could be found for logger (node).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
I look at the logs..nothing that points to an error.
So..how do I get auto discovery to work onb ec2?
Thanks
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a48c0e49-e956-402b-8ea3-cf7037dc9f0d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.