Upgrade Trilio Appliance

Generic Pre-requisites

  • Please ensure to complete the upgrade of all the TVault components on Openstack controller & compute nodes before starting the rolling upgrade of TVM.

  • The mentioned gemfury repository should be accessible from TVault VM.

  • Please ensure the following points before starting the upgrade process:

    • No snapshot OR restore to be running.

    • Global job-scheduler should be disabled.

  • Take a backup of the conf files on all TVM nodes.

> tar -czvf tvault_backup.tar.gz /etc/tvault /etc/tvault-config /etc/workloadmgr
> cp tvault_backup.tar.gz /root/ 
  • Activate the virtual environment on all TVM nodes.

> source /home/stack/myansible/bin/activate
  • Export new TVault version PYPI url:

    > export TVAULT_PYPI=https://pypi.fury.io/triliodata-4-0/

Upgrade s3fuse/tvault-object-store

  • Run the following command on all TVM nodes to upgrade s3fuse and its dependent packages.

    > pip install --extra-index-url $TVAULT_PYPI s3fuse --upgrade --no-cache-dir

Upgrade tvault-configurator

  • Run the following command on all TVM nodes to upgrade tvault-configurator and its dependent packages.

Upgrade workloadmgr

  • Run the upgrade command on all TVM nodes to upgrade workloadmgr and its dependent packages (workloadmgrclient, contegoclient, etc)

Updating Config Parameters of specific services

  • Update wlm-cron service entries

    • If Reconfigure is NOT planned, please perform following steps on all TVM nodes, else skip.

      • Update the following two parameters in wlm-cron.service systemd file (/etc/systemd/system/wlm-cron.service) :

      • And once done, use the following command to reload the service file:

  • Maria DB changes

    • If Reconfigure is planned

      • Remove Galera clustered-flag from all TVM nodes & proceed with reconfigure

    • If Reconfigure is NOT planned

      • Increase the max SQL connections limit by doing the following steps:

        • Edit /etc/my.cnf.d/server.cnf file on each TVM node

        • Add the parameter max_connections=5000 under [mysqld] section

        • Stop and Start MariaDB service on each node one by one

Post Upgrade Steps

  • Restore the backed-up config files

  • Restart following services on all node(s) using respective commands

  • Enable Global Job Scheduler

  • Restart pcs resources only on the primary node

  • Verify the status of the services

    • Note: tvault-object-store will run only if TVault configured with S3 backend storage

  • Additional check for wlm-cron on primary node

  • Check the mount point using “df -h” command

Last updated

Was this helpful?