8.9. Migrating VMs from an Overcloud Compute Node
novauser with access to other Compute nodes during the migration process. The director creates this key automatically.
openstack-tripleo-heat-templates-0.8.14-29.el7ostpackage and later versions.
openstack-tripleo-heat-templates-0.8.14-29.el7ostpackage or later versions.
Procedure 8.1. Migrating Instances off the Compute Node
- From the director, source the
overcloudrcand obtain a list of the current nova services:
$ source ~/stack/overcloudrc $ nova service-list
- Disable the
nova-computeservice on the node you intend to migrate.
$ nova service-disable [hostname] nova-computeThis prevents new instances from being scheduled on it.
- Begin the process of migrating instances off the node:
$ nova host-servers-migrate [hostname]
- The current status of the migration process can be retrieved with the command:
$ nova migration-list
- When migration of each instance completes, its state in nova will change to
VERIFY_RESIZE. This gives you an opportunity to confirm that the migration completed successfully, or to roll it back. To confirm the migration, use the command:
$ nova resize-confirm [server-name]
$ nova service-enable [hostname] nova-compute