Skip to content

OT-OSM/elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dddc084 · Feb 19, 2022

History

52 Commits
Feb 19, 2022
Sep 5, 2018
Feb 6, 2019
Jan 13, 2020
Feb 19, 2022
Feb 19, 2022
Feb 6, 2019
Feb 19, 2022
Feb 19, 2022
Feb 19, 2022
Feb 19, 2022
Feb 19, 2022
Feb 19, 2022
Feb 6, 2019
Feb 6, 2019

Repository files navigation

Ansible Role: osm_elasticsearch

An ansible role to install and configure elasticsearch standalone setup.

Version History

Date Version Description Changed By
June '15 v0.1 Initial Draft Sudipt Sharma

Supported OS

  • Redhat : 7
  • CentOS : 7
  • Ubuntu : 14/16/18/20
  • Amazon Linux

Dependencies

  • Java 1.8 or higher
  • python

Role Variables/Defaults

Variables Default Values Description
elasticsearch_version "6.8.22" Elasticsearch version you want to install
cluster_name es-stanalone Name of the Elasticsearch cluster
es_jvm_dump /var/lib/elasticsearch/heap Path for jvm dump
data_path /var/lib/elasticsearch Place to store Elasticsearch content
log_path /var/log/elasticsearch Place to store Elasticsearch log
http_port 9200 elasticsearch http port
tcp_port 9300 elasticsearch tcp port
nproc_limit 4096 It is the limit of number of processes for elasticsearch user
swapness 1 It defines how much RAM content will be copied to swap

Inventory

An inventory for elasticsearch setup should look like this:-

[elastichost]                 
192.168.1.198    ansible_user=ubuntu   
192.168.3.201    ansible_user=opstree 

Example Playbook

  • Here is an example playbook:-
- hosts: es
  roles:
     - { role: osm_elasticSearch }
  • ansible-playbook elastic.yml

You can check whether elasticsearch is responding or not by performing curl request to configured port on elasticsearch ip response

Future Proposed Changes

References

Author Information

  • Sumit Anand

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages