This guide shows how to manually migrate VMs across OpenStack agents. This may be necessary in certain cases (e.g. different hypervisor versions, if VMs use remote storage not shared by the source and destination agents, and etc.).
Gather the following pieces of information before starting migration:
/etc/nova/nova.conf
as the instances_path
parametersudo qemu-img info disk | grep backing
The general steps are as follows:
host
and node
fieldsCopying while preserving permissions and timestamps can be done via rsync
, e.g.:
sudo rsync --rsync-path="sudo rsync" -avzr --progress 3a3abba4-4852-4c04-a42e-94dda4ab80a3 ubuntu@10.12.14.16:/storage/stack/nova/instances/