Navigate to the
ansible-installation
directory and create a copy of thevars_template.yml
file.cp vars_template.yml vars.yml
Edit
vars.yml
by using any editor. For example, the vi editor.vi vars.yml
In the
vars.yml
file, update values for the following parameters:Navigate to the
ansible-installation
>group_vars
directory.In the
all
>all
file, change the value ofasync_time
to25200
(7 hours) andasync_poll
to300
(5 minutes) if the Elasticsearch data is large (more than 20GB).Note
To check the current size of the Elasticsearch data, run the following command:
du -hs
<unravel_data_dir>
/elasticsearch_1In the
cloud_node
>cloud_node.yml
file, specify thehosts
file (if the Unravel upgrade is for a cloud platform).In the
core_node
>core_node.yml
andedge_nodes
>edge_nodes.yml
files, set the correspondinghosts
file (if the Unravel upgrade is for an on-premise platform).Back up the
data
directory.tar czf /tmp/unravel-data.tar.gz /srv/unravel
If you are using an external database, create a copy of the database. For example, if you are using MySQL1 database, run the following command:
mysqldump -u
<username>
–p<password>
<database_name>
> [dump_file.sql]From the Unravel server, run the Ansible playbook.
ansible-playbook -i inventories 4619_upgrade.yml -e @vars.yml -vvv
Unravel is upgraded to the specified version.
Start Unravel services on all hosts.
ansible-playbook -i inventories/ install_unravel.yml -vvv -e @vars.yml --tags start_unravel
Check the status of Unravel services on all hosts.
ansible-playbook -i inventories/ install_unravel.yml -vvv -e @vars.yml --tags status_unravel