Deploying the appliance virtual machine
To create a virt-v2v
appliance VM
-
Download the
virt-v2v
appliance image from the official repository. -
Upload the image to Virtuozzo Hybrid Infrastructure. For example:
# vinfra service compute image create virt-v2v-img --file vmware_to_vip.qcow2
-
Create an SSH key for the appliance if you do not have one. For example:
# vinfra service compute key create publickey --public-key virt-v2v-app-key.pub
-
Create a virtual machine and deploy the uploaded image in it. The VM needs at least two CPUs, 4 GiB RAM, and enough storage space to accommodate the largest VM to be migrated to Virtuozzo Hybrid Infrastructure. It must also be connected to the network that handles the Compute API traffic type and the network with access to VMware vCenter API. For example:
# vinfra service compute server create virt-v2v-appliance --flavor medium --key-name <key> --network id=<compute_API> --network id=<vcenter_API> --volume source=image,id=virt-v2v-img,size=<size>
Where:
<key>
is the SSH key to authorize in the appliance VM.<compute_API>
is the network that handles the traffic type Compute API.<vcenter_API>
is the network that can access the VMware vCenter API.<size>
is the disk size. For online migration, it must be enough to accommodate the largest VM of all you are going to migrate. For offline migration, it must be enough to accommodate twice as much.