csirtgadgets / massive-octo-spice

DEPRECATED - USE v3 (bearded-avenger)
https://github.com/csirtgadgets/bearded-avenger-deploymentkit/wiki
GNU Lesser General Public License v3.0
227 stars 60 forks source link

additional updates to ansible cluster config #378

Closed giovino closed 8 years ago

giovino commented 8 years ago

fixes #377

  1. Set elasticsearch_cluster_name: 'cifv2_elasticsearch'
  2. Set elasticsearch_node_name: '{{ ansible_hostname }}'
  3. Set sysctl.conf.j2 to enable vm.swappiness = 1
  4. Run the command "sysctl vm.swappiness=1" to set vm.swappiness without the need to reboot
  5. Update permissions of elasticsearch config files to 0644
  6. added determine_es_heap_size.py to ansible deployment
  7. added functionality to set es_heap_size with a script to better set the value.
  8. add /etc/security/limits.conf file with ES parameters