To create a
virt-v2v appliance VM, follow these steps:
virt-v2vappliance 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_vhi.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 accomodate 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>
<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 accomodate the largest VM of all you are going to migrate. For offline migration, it must be enough to accomodate twice as much.