Offline upgrade Trilio Appliance
The offline upgrade of the Trilio Appliance is only recommended for hotfix upgrades. For major upgrades in offline environments, it is recommended to download the latest qcow2 image and redeploy the appliance.
Generic Pre-requisites
Please ensure to complete the upgrade of all the TVault components on the Openstack controller & compute nodes before starting the rolling upgrade of TVO.
The mentioned gemfury repository should be accessible from a VM/Server.
Please ensure the following points before starting the upgrade process:
No snapshot OR restore to be running.
Global job-scheduler should be disabled.
wlm-cron should be disabled & any lingering process should be killed. (This should already have been done during Trilio components upgrade on Openstack)
pcs resource disable wlm-cron
Check: systemctl status wlm-cron OR pcs resource show wlm-cron
Additional step: To ensure that cron is actually stopped, search for any lingering processes against wlm-cron and kill them. [Cmd : ps -ef | grep -i workloadmgr-cron]
Download and copy packages from VM/server to TVM node(s)
VM/Server must have internet connectivity and connectivity to Trilio gemfury repo
Download the required system packages
Download latest pip package
Download Trilio packages
Download the latest available version of the below-mentioned packages. To know more about the latest releases, check out the latest release note under this section.
Export the index URL
Download s3fuse package
Download tvault-configurator dependent package
Download workloadmgr and dependent package
Download workloadmgrclient package
Download contegoclient package
Download oslo.messaging package
Copy the downloaded packages from VM/Server to TVM node(s)
All downloaded packages need to be copied from VM/server to all the TVM nodes.
Copy all the downloaded packages(listed below) from the VM/server to all the TVM nodes
pip
s3fuse
tvault-configurator
workloadmgr
workloadmgrclient
contegoclient
Upgrade packages on all T4O Node(s)
If any of the packages are already on the latest, the upgrade won’t happen. Make sure you should be present at the right dir which means run the below commands from where there all packages should be present
Please refer to the versions of the downloaded packages for the placeholder <HF_VERSION> in the below sections.
Preparation
Take a backup of the configuration files
Activate the virtual environment
Upgrade system packages
Run the following command on all TVM nodes to upgrade the pip package
Upgrade s3fuse/tvault-object-store
Run the following command on all TVM nodes to upgrade s3fuse
Upgrade tvault-configurator
Run the following command on all TVM nodes to upgrade tvault-configurator
Upgrade workloadmgr
Run the upgrade command on all TVM nodes to upgrade workloadmgr
Upgrade workloadmgrclient
Run the upgrade command on all TVM nodes to upgrade workloadmgrclient
Upgrade contegoclient
Run the upgrade command on all TVM nodes to upgrade contegoclient
Set oslo.messaging version
Using the latest available oslo.messaging version can lead to stuck RPC and API calls.
It is therefore required to fix the oslo.messaging version on the TVM.
Post Upgrade Steps
Verify if the upgrade successfully completed or not.
And match the versions with the respective latest downloaded versions.
Restore the backed-up configuration files
Restart following services on all node(s) using respective commands
tvault-object-store restart required only if Trilio is configured with S3 backend storage
Enable wlm-cron service on primary node through pcs cmd, if T4O is configured with Openstack
Enable Global Job Scheduler
Verify the status of the services, if T4O is configured with Openstack.
tvault-object-store will run only if TVault is configured with S3 backend storage
Additional check for wlm-cron on the primary node, if T4O is configured with Openstack_._
Check the mount point using the “df -h” command if T4O is configured with Openstack
Last updated