1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

[ongoing] steps for full cluster upgrade

This commit is contained in:
Sylvain 2018-04-04 17:22:18 +02:00
parent 5543ecb26c
commit c9855d4c46

View File

@ -289,6 +289,7 @@ upgrade_classic()
then
# Debian compatible
echo -e "\nUpdating ElasticSearch to $target"
# TODO https://www.elastic.co/guide/en/elasticsearch/reference/2.4/restart-upgrade.html
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
case "$target" in
"2.4")
@ -452,7 +453,7 @@ upgrade_elastic()
start_upgrade '2.4' '5.6'
reindex_indices '56'
start_upgrade '5.6' '6.2'
reindex_final_indices '56'
reindex_final_indices '24_56'
fi
}