Provisioning the migration service
This feature is currently in early access and intended for evaluation purposes only. Use in production environments is not recommended.
The migration service enables migration of virtual machines and workloads between infrastructure environments with minimal downtime.
Migrations from external platforms can be performed by both administrators and self-service users. To make this functionality available to self-service users, you need to install the migration service either in the admin panel or by using the vinfra command-line tool.
VMware Virtual Disk Development Kit (VDDK) is required for migrations from VMware vSphere. VDDK is not included with Virtuozzo Infrastructure and must be uploaded before installing the migration service. If a newer VDDK version is needed, you can upgrade the existing installation by replacing the VDDK archive.
Once the migration service is installed, you can configure the network used for migration traffic and the administrator password for temporary Windows migration worker VMs.
Limitations
-
In the current version of Virtuozzo Infrastructure, the installed service cannot be removed.
- The supported and tested versions include VDDK for Linux 8.0.2 and 8.0.2.1.
- VXLAN-based networks are not supported for migration traffic.
Prerequisites
- A Broadcom account is required.
-
Before configuring the migration network, make sure it meets the following requirements:
- The migration network provides Layer 3 connectivity between Virtuozzo Infrastructure cluster nodes, source VMware ESXi hosts, and temporary migration worker VMs.
- The migration network provides access to the Internet for downloading updates and packages with
apt,yum, ordnf.
If you use a VLAN-backed migration network, make sure that cluster nodes have IP connectivity on the corresponding VLAN interface and that routing is configured correctly between cluster nodes and migration worker VMs. For example, if the migration network uses VLAN 333, the corresponding bridge interface on each cluster node, such as
br-bond0.333, must have an IP address configured.
To provide VMware VDDK
- Download VMware VDDK for Linux from Broadcom Developer Portal.
-
Create the vporter datastore:
# mkdir -p /mnt/vstorage/vols/datastores/vporter/
- Upload the archive as /mnt/vstorage/vols/datastores/vporter/vixdisklib.tar.gz.
To install the migration service
Admin panel
- Go to the Compute > Settings > Add-on services screen.
- In the Migration service section, click Install.
Command-line interface
Run the following command:
# vinfra service compute set --enable-maas
To configure the migration service
Use the following command:
vinfra service compute maas set [--migration-network <network>] [--minion-windows-password <password>]
--migration-network <network>- Migration network name
--minion-windows-password <password>- Administrator password for temporary Windows migration worker VMs. You can also provide it by using the
MAAS_MINION_WINDOWS_PASSWORDenvironment variable.
For example, to set the migration network to mynetwork, run:
# vinfra service compute maas set --migration-network mynetwork
You can check the migration service options in the vinfra service compute maas show output:
# vinfra service compute maas show +-------------------+-----------+ | Field | Value | +-------------------+-----------+ | migration_network | mynetwork | +-------------------+-----------+
To upgrade VMware VDDK
- Upload the new VDDK archive to /mnt/vstorage/vols/datastores/vporter/vixdisklib.tar.gz, replacing the existing file.
-
Run the following command:
# kolla-ansible reconfigure-vporter -e vixdisklib_upgrade=yes