Migrating virtual machinesΒΆ

To see where all virtual machines are running on the hypervisors:

openstack server list --all-projects --long

To move a virtual machine with shared storage or booted from volume from one hypervisor to another, for example to hypervisor-01:

openstack server migrate --live-migration --host hypervisor-01 <VM name or uuid>

To move a virtual machine with local disks:

openstack server migrate --live-migration --block-migration --host hypervisor-01 <VM name or uuid>