mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
[ongoing] steps for full cluster upgrade
This commit is contained in:
parent
5543ecb26c
commit
c9855d4c46
@ -289,6 +289,7 @@ upgrade_classic()
|
|||||||
then
|
then
|
||||||
# Debian compatible
|
# Debian compatible
|
||||||
echo -e "\nUpdating ElasticSearch to $target"
|
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 -
|
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
|
||||||
case "$target" in
|
case "$target" in
|
||||||
"2.4")
|
"2.4")
|
||||||
@ -452,7 +453,7 @@ upgrade_elastic()
|
|||||||
start_upgrade '2.4' '5.6'
|
start_upgrade '2.4' '5.6'
|
||||||
reindex_indices '56'
|
reindex_indices '56'
|
||||||
start_upgrade '5.6' '6.2'
|
start_upgrade '5.6' '6.2'
|
||||||
reindex_final_indices '56'
|
reindex_final_indices '24_56'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user