Merge lp:~jorge/charms/precise/elasticsearch/fix-markdown into lp:~charmers/charms/precise/elasticsearch/trunk

Proposed by Jorge Castro
Status: Merged
Merge reported by: Juan L. Negron
Merged at revision: not available
Proposed branch: lp:~jorge/charms/precise/elasticsearch/fix-markdown
Merge into: lp:~charmers/charms/precise/elasticsearch/trunk
Diff against target: 93 lines (+36/-28)
1 file modified
README.md (+36/-28)
To merge this branch: bzr merge lp:~jorge/charms/precise/elasticsearch/fix-markdown
Reviewer Review Type Date Requested Status
Juan L. Negron (community) Approve
Review via email: mp+144609@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Juan L. Negron (negronjl) wrote :

reviewing this now.

-Juan

Revision history for this message
Juan L. Negron (negronjl) wrote :

Approved.

-Juan

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'README.md'
--- README.md 2012-11-18 22:28:43 +0000
+++ README.md 2013-01-23 23:37:21 +0000
@@ -1,47 +1,55 @@
1# Running ElasticSearch
2
1To deploy elasticsearch locally you just need to:3To deploy elasticsearch locally you just need to:
24
3 juju bootstrap5 juju bootstrap
4 juju deploy elasticsearch6 juju deploy elasticsearch
5 you can add more units ... LXC can deal with multicast7
6 juju add-unit elasticsearch8You can add more units ... LXC can deal with multicast
9
10 juju add-unit elasticsearch
711
8To deploy on ec2 you need to specify a config file with your AWS access key and secret key which are used by12To deploy on ec2 you need to specify a config file with your AWS access key and secret key which are used by
9elasticsearch for discovery. See the elastisearch on ec2 tutorial for more information:13elasticsearch for discovery. See the elastisearch on ec2 tutorial for more information:
1014
11see http://www.elasticsearch.org/tutorials/2011/08/22/elasticsearch-on-ec2.html15see
16
17- http://www.elasticsearch.org/tutorials/2011/08/22/elasticsearch-on-ec2.html
1218
13For instance in an elasticsearch.yaml config file you would have:19For instance in an elasticsearch.yaml config file you would have:
1420
15elasticsearch:21 elasticsearch:
16 access-key: Your_AWS_Access_Key22 access-key: Your_AWS_Access_Key
17 secret-key: Your_AWS_Secret_Key23 secret-key: Your_AWS_Secret_Key
1824
19You can also set a region config parameter in this file if the us-east region is not the one you want to use for25You can also set a region config parameter in this file if the us-east region is not the one you want to use for
20discovery. See the elasticache aws plugin documentation for more information:26discovery. See the elasticache aws plugin documentation for more information:
2127
22https://github.com/elasticsearch/elasticsearch-cloud-aws28- https://github.com/elasticsearch/elasticsearch-cloud-aws
2329
24all that failing I have built an experimental config item 'zenmasters' which should enable unicast clustering.30# Configuration Options
31
32There is an experimental config item 'zenmasters' which should enable unicast clustering.
2533
26Once the unit has started you can test if everything's working by using curl as below to do a health check34Once the unit has started you can test if everything's working by using curl as below to do a health check
27which should give you a similar json response.35which should give you a similar json response.
2836
29 $ curl -XGET 'http://<ec2 dns or ip of a node>:9200/_cluster/health?pretty=true'37 curl -XGET 'http://<ec2 dns or ip of a node>:9200/_cluster/health?pretty=true'
3038
31 {39 {
32 "cluster_name" : "es-demo",40 "cluster_name" : "es-demo",
33 "status" : "green",41 "status" : "green",
34 "timed_out" : false,42 "timed_out" : false,
35 "number_of_nodes" : 2,43 "number_of_nodes" : 2,
36 "number_of_data_nodes" : 2,44 "number_of_data_nodes" : 2,
37 "active_primary_shards" : 5,45 "active_primary_shards" : 5,
38 "active_shards" : 10,46 "active_shards" : 10,
39 "relocating_shards" : 0,47 "relocating_shards" : 0,
40 "initializing_shards" : 0,48 "initializing_shards" : 0,
41 "unassigned_shards" : 049 "unassigned_shards" : 0
42 }50 }
4351
44the 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.52The 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.
4553
46there 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.54there 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.
4755
@@ -50,4 +58,4 @@
50use http://ip.addr:9200/_plugin/head to see a good status view of the cluster.58use http://ip.addr:9200/_plugin/head to see a good status view of the cluster.
5159
5260
53see logstash-indexer charm's README.md file for usage examples.
54\ No newline at end of file61\ No newline at end of file
62see logstash-indexer charm's README.md file for usage examples.

Subscribers

People subscribed via source and target branches

to all changes: