4. Migrating VMs and Containers from Virtuozzo 6 to Virtuozzo 7

You can migrate older Virtuozzo 6 virtual machines (online) and containers (offline only) to Virtuozzo 7 servers. During migration, such VMs and containers will be converted in the Virtuozzo 7 format. In particular, VM devices will be replaced by those supported in Virtuozzo 7 (for a list of VM hardware supported in Virtuozzo 7, see the Virtuozzo 7 User’s Guide).

Warning

Windows VMs without installed Virtuozzo guest tools cannot be migrated from Virtuozzo 6 to Virtuozzo 7.

To migrate a running VM or a stopped or suspended container from Virtuozzo 6 to Virtuozzo 7, run the following command on the Virtuozzo 6 server.

# prlctl migrate <VM_or_CT_name> root@<VZ7_server_IP_address_or_hostname>

Note

If you need to migrate a container from a Virtuozzo 6 server with local storage to a Virtuozzo Storage cluster based on Virtuozzo 7, use the following command: prlctl migrate <CT_name> root@<VZ7_server_IP_address_or_hostname>/<CT_UUID>.

Migration from Virtuozzo 6 to Virtuozzo 7 implies VM and container downtime that depends on network bandwidth, virtual machine RAM size, and server load. To reduce downtime, it is recommended to at least perform migration when the server load is minimal.

Note

  1. Network settings configured from inside Windows VMs currently cannot be preserved during migration of such VMs.
  2. Containers with templates unsupported in Virtuozzo 7 (i.e. not listed here) cannot be reinstalled with the prlctl reinstall command after migration to Virtuozzo 7.