Skip to content

kc-cloud/ansible-elasticsearch-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-elasticsearch-upgrade

It provides a role for full-cluster and rolling upgrade of elasticsearch safely. This role is a wrapper around a role supplied by Elastic.co

Prerequisite

Tested platforms:

Tested with python 2.7 in the following platforms

  • Ubuntu 14.04
  • Ubuntu 16.04

Roles

Usage:

  • download this repository
  • cd ansible-elasticsearch-upgrade
  • download elasticsearch role from https://github.com/elastic/ansible-elasticsearch.git and place under ansible-elasticsearch-upgrade/roles/elasticsearch folder
  • modify files under ansible-elasticsearch-upgrade/inventory/aws/ folder based on your environment
  • modify playbooks under ansible-elasticsearch-upgrade/playbooks/ for your required version to install/upgrade
  • execute ansible-playbook -i inventory/aws
    • elasticsearch-install.yml for installing elasticsearch in the cluster
    • elasticsearch-full-upgrade-and-restart.yml for full-cluster upgrade and restart
    • elasticsearch-rolling-upgrade-and-restart.yml for rolling upgrade and restart

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published