Storware for Openstack Backup – Kolla Ansible
Installation Info :
Openstack Xena – Ubuntu 20.04
Storware Version 5.1.0-51
For Storware to work for Openstack with Kolla-Ansible Installation which using container, below steps is required :
mkdir /opt/vprotect
cd /opt/vprotect
touch qemu-img.sh
touch virsh.sh
chmod +x ./*
cd /usr/bin/
ln -s /opt/vprotect/virsh.sh virsh
ln -s /opt/vprotect/qemu-img.sh qemu-img
cd /opt/vprotect
nano qemu-img.sh
id_nova_compute=$(docker ps | grep nova_libvirt | awk ‘{print $1}’)
command=” $1 $2 $3 $4 $5 $6″
docker exec -u root $id_nova_compute qemu-img “$command”
nano virsh.sh
id_nova_compute=$(docker ps | grep nova_libvirt | awk ‘{print $1}’)
command=” $1 $2 $3 $4 $5 $6″
docker exec -u root $id_nova_compute virsh “$command”
Verify
sudo virsh list –all