You can live-migrate an OpenStack instance to a different compute node.
VMware Integrated OpenStack does not support the following VM migration scenarios:
- Migration of a VM between two different vCenter Servers.
- Migration of a VM within a cluster. To migrate a VM within a cluster, you must use vSphere.
To migrate VMs between clusters, you can use VMware Integrated OpenStack, if the source and the target clusters are in the same vCenter instance.
Note: Instances managed by
VMware Integrated OpenStack must be migrated by using OpenStack commands. Do not use
vCenter Server, or other methods to migrate OpenStack instances.
Note: While migrating a virtual machine, volumes attached to it will be migrated together. see
Migrate Instance. To keep a volume not migrated together with its attached virtual machine, please see
Volumes Not Migrated with Attached Virtual Machines.
Prerequisites
- Verify that the source and target compute nodes are present within the same vCenter Server instance.
- Verify that your environment includes a shared datastore that all hosts and clusters can access.
- Verify that the source and target compute nodes have at least one distributed switch in common. If two distributed switches are attached to the source compute node but only one distributed switch is attached to the target compute node, live migration can succeed but the OpenStack instance must be connected only to the port group of the distributed switch common to both compute nodes.
- Verify that any FCD volumes are detached.
Procedure
What to do next
You can run the openstack server show instance-uuid
command to confirm that the instance has been migrated to the desired compute node.