Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

ElasticSearch

Amos Folarin edited this page Oct 5, 2017 · 1 revision

The ElasticSearch Cluster on the DevEnv consists of a 3 node deployment.

  • elasticsearch01 # master node (data node too at present)
  • elasticsearch02 # slave node
  • elasticsearch03 # slave node

Spec

  • Ubuntu 14.04
  • 64GB RAM, 4CPU.
  • 100GB bootdisk /
  • 1000GB data disk /mnt/esdata

NOTE when creating these machines, you need to get the VMware Tools installed in order for them to join the network.

WARNING Note the machines are based snapshotted so their images are linked. Deleting one will affect the images of the others.

Elasticsearch installed as .deb.

/usr/share/elasticsearch    # install dir
/etc/elasticsearch          # config
/etc/defaults/elasticsearch # default config settings. 

NOTE the /etc/defaults/elasticsearch config for 30g of memory (this is the max that should be allocated to elasticsearch). Also, it is necessary to specify the JAVA_HOME here.

NOTE if you edit the /etc/elasticsearch/elasticsearch.yml, remember it is a yml file and must be valid to parse, e.g. you need at least a space before any of the variables set in this or elasticsearch won't restart.

Clone this wiki locally