vinfra service compute server migrate
Migrate a virtual machine to another host:
usage: vinfra service compute server migrate [--cold] [--node <node>] <server>
--cold
- Perform cold migration. If not set, the migration type is determined automatically.
--node <node>
- Destination node ID or hostname
<server>
- Virtual machine ID or name
Example:
# vinfra service compute server migrate 6c80b07f-da46-4a8a-89a4-eecb8faceb27 \ --node e6255aed-d6e7-41b2-ba90-86164c1cd9a6 Operation successful.
This command starts migration of the VM with the ID 6c80b07f-da46-4a8a-89a4-eecb8faceb27
to the compute node with the ID e6255aed-d6e7-41b2-ba90-86164c1cd9a6
.