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.
Prerequisites
- A Broadcom account is required.
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