Search…
Switch Backup Target on Kolla-ansible

Unmount old mount point

The first step is to remove the datamover container and to unmount the old mounts. This is necessary to make sure, that the new datamover container with the new backend target is not getting any interference from the old backup target.
1
#check current mount point
2
3
Filesystem Size Used Avail Use% Mounted on
4
devtmpfs 7.8G 0 7.8G 0% /dev
5
tmpfs 7.8G 0 7.8G 0% /dev/shm
6
tmpfs 7.8G 26M 7.8G 1% /run
7
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
8
/dev/mapper/cl-root 280G 12G 269G 5% /
9
/dev/sda1 976M 197M 713M 22% /boot
10
192.168.1.34:/mnt/tvault/42436 2.5T 1005G 1.5T 41% /var/trilio/triliovault-mounts/MTkyLjE2OC4xLjM0Oi9tbnQvdHZhdWx0LzQyNDM2
11
12
#Stop triliovault_datamover
13
[[email protected] ~]# docker stop triliovault_datamover
14
triliovault_datamover
16
17
#Delete triliovault_datamover
18
[[email protected] ~]# docker rm triliovault_datamover
19
triliovault_datamover
21
22
#unmount mount point
23
[[email protected] ~]# umount /var/trilio/triliovault-mounts/MTkyLjE2OC4xLjM0Oi9tbnQvdHZhdWx0LzQyNDM2
24
25
#check mount point is unmounted successfully
26
27
Filesystem Size Used Avail Use% Mounted on
28
devtmpfs 7.8G 0 7.8G 0% /dev
29
tmpfs 7.8G 0 7.8G 0% /dev/shm
30
tmpfs 7.8G 26M 7.8G 1% /run
31
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
32
/dev/mapper/cl-root 280G 12G 269G 5% /
33
/dev/sda1 976M 197M 713M 22% /boot
35
36
#Delete mounted dir from compute node
37
[[email protected] trilio]# rm -rf /var/trilio/triliovault-mounts/MTkyLjE2OC4xLjM0Oi9tbnQvdHZhdWx0LzQyNDM2
Copied!

Update globals.yml

Edit the globals.yml file to contain the new backup target.
Follow the installation documentation to learn about the globals.yml TrilioVault variables.

Deploy TrilioVault components with new backup target

1
[email protected]:~# kolla-ansible -i multinode deploy
Copied!

Verify the successful change in backup target

1
##Check that all Containers are up and running
2
#Controller node
3
[email protected]:~# docker ps -a | grep trilio
4
583b8d42ab42 trilio/ubuntu-binary-trilio-datamover-api:4.1.36-ussuri "dumb-init --single-…" 3 days ago Up 3 days openstack-nova-api-triliodata-plugin
5
3be25d3819ac trilio/ubuntu-binary-trilio-horizon-plugin:4.1.36-ussuri "dumb-init --single-…" 4 days ago Up 4 days horizon
6
7
#Compute node
8
[email protected]:~# docker ps -a | grep trilio
9
bf52face23fb trilio/ubuntu-binary-trilio-datamover:4.1.36-ussuri "dumb-init --single-…" 3 days ago Up 3 days trilio-datamover
10
11
## Verify the backup target has been changed successfully
12
# In case of switch to NFS
13
14
Filesystem Size Used Avail Use% Mounted on
15
devtmpfs 7.8G 0 7.8G 0% /dev
16
tmpfs 7.8G 0 7.8G 0% /dev/shm
17
tmpfs 7.8G 26M 7.8G 1% /run
18
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
19
/dev/mapper/cl-root 280G 12G 269G 5% /
20
/dev/sda1 976M 197M 713M 22% /boot
21
192.168.1.34:/mnt/tvault/42436 2.5T 1005G 1.5T 41% /var/trilio/triliovault-mounts/MTkyLjE2OC4xLjM0Oi9tbnQvdHZhdWx0LzQyNDM2
22
23
#In case of switch to S3
24
25
Filesystem Size Used Avail Use% Mounted on
26
devtmpfs 7.8G 0 7.8G 0% /dev
27
tmpfs 7.8G 0 7.8G 0% /dev/shm
28
tmpfs 7.8G 34M 7.8G 1% /run
29
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
30
/dev/mapper/cl-root 280G 12G 269G 5% /
31
/dev/sda1 976M 197M 713M 22% /boot
32
TrilioVault - - 0.0K - /var/trilio/triliovault-mounts
33
34
##Reverify in the triliovault_datamover containers
35
[[email protected] ~]# docker exec -it triliovault_datamover bash
36
(triliovault-datamover)[[email protected] /]$ df -h
37
Filesystem Size Used Avail Use% Mounted on
38
overlay 280G 12G 269G 5% /
39
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
40
devtmpfs 7.8G 0 7.8G 0% /dev
41
tmpfs 7.8G 0 7.8G 0% /dev/shm
42
/dev/mapper/cl-root 280G 12G 269G 5% /etc/iscsi
43
tmpfs 6.3G 0 6.3G 0% /var/triliovault/tmpfs
44
TrilioVault - - 0.0K - /var/trilio/triliovault-mounts
Copied!

Reconfigure the TrilioVault Appliance

Last modified 8mo ago