Add the trilio repo and upgrade the tvault-horizon-plugin & workloadmgrclient packages using below command.Select the appropriate package depending on python version used.
yum list installed | grep trilio
Depending on the output of above command upgrade appropriate packages.
## 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
Run datamover api container.
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
Verify deployment
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
Pull Trilio Datamover container image using the following command:
## 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
Run datamover container.
-- 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
Verify Deployment of trilio_datamover
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
Upgrade Horizon Plugin Package
Login to horizon container
docker exec -it horizon /bin/bash
Add trilio repo on each controller(s) to get updated packages.
Create a file /etc/yum.repos.d/trilio.repo and add below line in it.