Use below commands to get list of updated packages available on repo's.
1.2 Upgrade tvault-datamover-api package
Login to dmapi container from controller node using below command.
Take a backup of following file on each dmapi container(s).
Add the trilio repo and upgrade the dmapi package using below command.Select the appropriate package depending on python version used.
You can check installed package using below command.
Upgrade the dmapi package using below command.
Restore the backed-up config files
Now restart and check the service tvault-datamover-api on the controller.
Upgrade Horizon Plugin Package
We need to upgrade below two packages to upgrade horizon plugin.
tvault-horizon-plugin
workloadmgrclient
Login to horizon container from controller node using below command.
Add the trilio repo and upgrade the tvault-horizon-plugin & workloadmgrclient packages using below command.Select the appropriate package depending on python version used.
Depending on the output of above command upgrade appropriate packages.
Restart the httpd service and verify the workloadmgrclient version using below commands.
Upgrade Tvault-Contego Package
NFS Storage Backend
Take a backup of following file on each compute node(s) for nfs storage backend.
Add the trilio repo and upgrade the tvault-contego package using below command.Select the appropriate package depending on python version used.
Depending on the output of above command upgrade appropriate packages.
Restore the backed-up config files
Now restart the service tvault-contego. Verify the status of the service and check the mount point.
S3 Storage Backend
Take a backup of following file on each compute node(s) for s3 storage backend.
Upgrade the tvault-contego and s3fuse-plugin packages using below command. Select the appropriate package depending on the python version used.
Note*:- If you get prompt while installing, choose the default selection.
Restore the backed-up config files
Now restart and check the service tvault-contego on compute node(s).
## Login to docker using credentials: triliodocker/triliopassword
docker login docker.io
## Pull Trilio Datamover Api container using following command. You need to edit OS_PLATFORM, TVAULT_VERSION,
OPENSTACK_RELEASE_NAME.
<OS_PLATFORM> could be ubuntu/centos.
<OPENSTACK_RELEASE_NAME> could would be train
<TVAULT_VERSION> : For exact GA build version check section 1. i) Plan for deployment
docker pull docker.io/trilio/<OS_PLATFORM>-source-trilio-datamover-api:<TVAULT_VERSION>-<OPENSTACK_RELEASE_NAME>
Example command for train openstack on ubuntu platform with triliovault 4.0 release:
docker pull docker.io/trilio/centos-source-trilio-datamover-api:4.0.115-train
You need to edit OS_PLATFORM, TVAULT_VERSION, OPENSTACK_RELEASE_NAME.
<OS_PLATFORM> could be ubuntu/centos.
<OPENSTACK_RELEASE_NAME> would be train
<TVAULT_VERSION> : For exact TVAULT build version check section 1. i) Plan for deployment
docker run --network host --name trilio_datamover_api -d --restart always -v /etc/kolla/trilio-datamover-api/nova.conf:/etc/nova/nova.conf \
-v /etc/kolla/trilio-datamover-api/dmapi.conf:/etc/dmapi/dmapi.conf \
-v /var/log/kolla/:/var/log/kolla/ \
trilio/<OS_PLATFORM>-source-trilio-datamover-api:<TVAULT_VERSION>-<OPENSTACK_RELEASE_NAME> /var/lib/kolla/venv/bin/python /usr/bin/dmapi-api
Make sure 'trilio_datamover_api' named container running well and not in 'restarting' state on all controller nodes.
'docker ps' command can be used for the same.
# docker ps | grep trilio_datamover_api
e603ea78094f trilio/centos-source-trilio-datamover-api:4.0.106-train "dumb-init --single-…" 5 minutes ago Up 5 minutes
trilio_datamover_api
Copy folder /etc/kolla/trilio-datamover to some local location.
Eg. cp -r /etc/kolla/trilio-datamover $HOME/4.0-BK/
## Login to docker using credentials: triliodocker/triliopassword
docker login docker.io
## Pull Trilio Datamover Api container using following command. You need to edit OS_PLATFORM, TVAULT_VERSION,
OPENSTACK_RELEASE_NAME.
<OS_PLATFORM> could be ubuntu/centos.
<OPENSTACK_RELEASE_NAME> would be train
<TVAULT_VERSION> : For exact TVAULT build version check section 1. i) Plan for deployment
docker pull docker.io/trilio/<OS_PLATFORM>-source-trilio-datamover:<TVAULT_VERSION>-<OPENSTACK_RELEASE_NAME>
Example command for train openstack on ubuntu platform with Trilio 4.0 release:
docker pull docker.io/trilio/centos-source-trilio-datamover:4.0.106-train
-- In following docker run command you need to edit OS_PLATFORM, TVAULT_VERSION,
OPENSTACK_RELEASE_NAME.
<OS_PLATFORM> could be ubuntu/centos.
<OPENSTACK_RELEASE_NAME> would be train
<TVAULT_VERSION> : For exact TVAULT build version check section 1. i) Plan for deployment
Note: If your cloud does not use 'ceph' storage for nova/cinder, remove '/etc/ceph' volume mount option
from below commands.
##If backup storage type is 'NFS'
docker run --privileged --network host --name trilio_datamover -d \
--restart always \
-v /etc/kolla/trilio-datamover/tvault-contego.conf:/etc/tvault-contego/tvault-contego.conf \
-v /etc/kolla/trilio-datamover/nova.conf:/etc/nova/nova.conf \
-v /dev:/dev:rw \
-v /etc/ceph:/etc/ceph:ro \
-v nova_compute:/var/lib/nova/:rw \
-v /var/log/kolla/:/var/log/kolla/ \
-v iscsi_info:/etc/iscsi:rw -v /var/run/libvirt \
trilio/<OS_PLATFORM>-source-trilio-datamover:<TVAULT_VERSION>-<OPENSTACK_RELEASE_NAME> /opt/tvault/start_datamover_nfs
Make sure 'trilio_datamover' named container running well and not in 'restarting' state on all compute nodes.
'docker ps' command can be used for the same.
# docker ps | grep trilio_datamover
3e62813e5ade trilio/centos-source-trilio-datamover:4.0.106-train "dumb-init --single-…" 7 hours ago Up 7 hours trilio_datamover