[Users] import KVM VM to OVZ7 prlctl

Konstantin Khorenko khorenko at virtuozzo.com
Mon Oct 22 10:48:18 MSK 2018


On 10/19/2018 08:34 PM, Jehan PROCACCIA wrote:
> Hi, thank  for those links
> I guess that in my case there is no need for to convert to qcow2 format (https://help.virtuozzo.com/s/article/000017220)

Sure, in this case you can skip the conversion,
but don't forget to remove guest tools.

> as my KVM disk image is already in qcow2 , or virtuozzo has its own qcow2 format ?
>
> Thanks .
>
> # file /vm/images/myVM.qcow2
> /vm/images/myVM.qcow2: QEMU QCOW Image (v3), 64424509440 bytes
>
>
> ----- Mail original -----
> De: "Konstantin Khorenko" <khorenko at virtuozzo.com>
> À: "Jehan PROCACCIA" <jehan.procaccia at tem-tsp.eu>
> Cc: "OpenVZ users" <users at openvz.org>
> Envoyé: Vendredi 19 Octobre 2018 17:32:32
> Objet: Re: [Users] import KVM VM to OVZ7 prlctl
>
> Hi Jehan,
>
> https://help.virtuozzo.com/s/article/000017220
> https://help.virtuozzo.com/s/article/000015955
>
> Hope that helps.
>
> --
> Best regards,
>
> Konstantin Khorenko,
> Virtuozzo Linux Kernel Team
>
> On 10/19/2018 05:47 PM, jehan procaccia TEM-TSP wrote:
>> hello
>>
>> I have KVM VMs on a centos 7 host , I want to move it to a virtuozzo 7
>> host and import it to the prlctl mangement tools .
>>
>> I guess I need a least those 2 steps :
>>
>> 1) Get config : virsh dumpxml VM > VM.xml => move that file to
>> virtouzzo7 /etc/libvirt/qemu/
>>
>> 2) Get HDD :  virsh domblklist to list hdd file => /vm/images/VM.qcow2
>> move it to VZ7 => /vz/vmprivate/xxxyyy.../harddisk.hdd
>>
>> But how can I tell virtuozzo 7 to register that pre-existing VM to it's
>> management ,
>>
>> is there an import tool/command ? is there a service to be restarted next ?
>>
>> Thanks .
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> .
>



More information about the Users mailing list