Migrate all instances to another compute hostWhen you want to move all instances from one compute host to
another, you can use the nova
host-servers-migrate command. The difference
between this command and the nova evacuate
command is that you can specify the host when evacuating. Also
when evacuating, you must configure shared storage on the
target host so that user data is preserved on the server disk.
See Evacuate instances.To list the host you want to migrate, run:$nova service-listAfter selecting a host from the list, run this
command:
$nova host-servers-migrate HOST_NAMEWhere HOST_NAME is the
name of the host you want the servers to go to.All instances are booted from a new host while preserving
their current configurations, including ID, name, UUID, IP
address, and so on.