Migration is the process of importing a virtual machine between cluster nodes.
Migration types
- Standard migration (default) — via OpenVZ utility vzmigrate. Supports live migration;
- VMmanager OVZ migration — life migration is not supported. We recommend that you use this method if the migration with vzmigrate fails.
Migration with VMmanager OVZ tools performs rsync of the container's private-directory to a new cluster node. If the container is running during the migration process, VMmanager will stop it, remove to another cluster node, and start again.
Migration procedure
To migrate a virtual machine, navigate to "Management" --> "Virtual machines".
- Destination server — select a cluster node to which this virtual machine will be migrated. The default value is "Select automatically". For more information, refer to the article Distribution of virtual machines between cluster nodes. If the system automatically selects the cluster node from which the virtual machine is being migrated, the migration won't start;
- Live migration — select the checkbox to enable live migration.
Migration status
When the migration process starts, in the virtual machine status you will see the icon:
Click on this button to cancel migration of the virtual machine.