Upgrading on Ansible OpenStack
Upgrading from Trilio 4.0 to Trilio 4.1
Due to the new installation method of Trilio for Kolla OpenStack, it is required to reinstall the Trilio components running on the Kolla OpenStack nodes when upgrading from Trilio 4.0.
The Trilio appliance can be upgraded as documented here.
Upgrading from Trilio 4.1 to a higher version
Trilio 4.1 can be upgraded without reinstallation to a higher version of T4O if available.
Pre-requisites
Please ensure the following points are met before starting the upgrade process:
No Snapshot or Restore is running
Global job scheduler is disabled
wlm-cron is disabled on the Trilio Appliance
Access to the gemfury repository to fetch new packages
Deactivating the wlm-cron service
The following sets of commands will disable the wlm-cron service and verify that it is has been completly shut down.
Update the repositories
Deb-based (Ubuntu)
Add the Gemfury repository on each dmapi, horizon containers & compute nodes.
Create file /etc/apt/sources.list.d/fury.list
and add the below line to it.
The following commands can be used to verify the connection to the gemfury repository and to check for available packages.
RPM-based (CentOS)
Add trilio repo on each dmapi, horizon containers & compute nodes.
Modify the file /etc/yum.repos.d/trilio.repo
and add below line in it.
The following commands can be used to verify the connection to the Trilio rpm server and to check for available packages.
Upgrade tvault-datamover-api package
The following steps represent the best practice procedure to upgrade the dmapi service.
Login to dmapi container
Take a backup of the dmapi configuration in
/etc/dmapi/
use
apt list --upgradeable
to identify the package used for the dmapi serviceUpdate the dmapi package
restore the backed-up config files into
/etc/dmapi/
Restart the dmapi container
Check the status of the dmapi service
These steps are done with the following commands. This example is assuming that the more common python3 packages are used.
Deb-based (Ubuntu)
RPM-based (CentOS)
Upgrade Horizon plugin
The following steps represent the best practice procedure to update the Horizon plugin.
Login to Horizon Container
use
apt list --upgradeable
to identify the package the Trilio packages for the workloadmgrclient, contegoclient and Horizon pluginInstall the tvault-horizon-plugin package in the required python version
install the workloadmgrclient package
install the contegoclient
Restart the Horizon webserver
check the installed version of the workloadmgrclient
These steps are done with the following commands. This example is assuming that the more common python3 packages are used.
Deb-based (Ubuntu)
RPM-based (CentOS)
Upgrade the tvault-contego service
The following steps represent the best practice procedure to update the tvault-contego service on the compute nodes.
Login into the compute node
Take a backup of the config files in
(NFS and S3)
/etc/tvault-contego/
(S3 only)
/etc/tvault-object-store
use
apt list --upgradeable
to identify the tvault-contego package usedUnmount backup storage
upgrade the tvault-contego package in the required python version
(S3 only) upgrade the s3-fuse-plugin package
restore the config files into
/etc/tvault-contego/
(S3 only) Restart the tvault-object-store service
Restart the tvault-contego service
check the status
These steps are done with the following commands. This example is assuming that the more common python3 packages are used.
Deb-based (Ubuntu)
RPM-based (CentOS)
Advance settings/configuration
Customize HAproxy cfg parameters for Trilio datamover api service
Following are the haproxy cfg parameters recommended for optimal performance of dmapi service. File location on controller /etc/haproxy/haproxy.cfg
Parameters timeout client, timeout server and balance for DMAPI service
If values were already updated during any of the previous releases, further steps can be skipped.
Remove below content, if present in the file/etc/openstack_deploy/user_variables.yml
on ansible host.
Add the below lines at end of the file /etc/openstack_deploy/user_variables.yml
on the ansible host.
Update Haproxy configuration using the below command on ansible host.
Last updated