~justin-fathomdb/charms/trusty/elasticsearch/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Paul Czarkowski
  • Date: 2012-11-04 04:06:00 UTC
  • Revision ID: paul@paulcz.net-20121104040600-as0rn4xdj2j5x19f
fixed some bugs, includeded files and md5 checksums for downloads.   tested with modified logstash charm, but need to update that to do relationships properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
  juju bootstrap
4
4
  juju deploy elasticsearch
 
5
  you can add more units ...  LXC can deal with multicast
 
6
  juju add-unit elasticsearch
5
7
 
6
8
To deploy on ec2 you need to specify a config file with your AWS access key and secret key which are used by
7
9
elasticsearch for discovery.  See the elastisearch on ec2 tutorial for more information:
19
21
 
20
22
https://github.com/elasticsearch/elasticsearch-cloud-aws
21
23
 
 
24
all that failing I have built an experimental config item 'zenmasters' which should enable unicast clustering.
 
25
 
22
26
Once the unit has started you can test if everything's working by using curl as below to do a health check
23
27
which should give you a similar json response.
24
28
 
36
40
    "initializing_shards" : 0,
37
41
    "unassigned_shards" : 0
38
42
  }
 
43
 
 
44
the download files for the current version are included in the package,  but they can be downloaded by removing the files, or changing the config to point to a different version.
 
45
 
 
46
there seems to be something a bit buggy with the service wrapper on the first unit ...  if it's not start/stopping properly,  get in there and hard kill any java processes then start it again using the service wrapper.   seems to work fine after doing that.
 
 
b'\\ No newline at end of file'