Hello,
But it's in the roadmap a gui converter v2v, or better, insert a menu in
the manager where i can import several type of vm like .ovf or .vmk
Thanks,
Massimo
2014-06-27 13:40 GMT+02:00 Sandro Bonazzola <sbonazzo(a)redhat.com>:
Il 27/06/2014 07:41, Koen Vanoppen ha scritto:
> II created this document for the company where I work. Maybe it is
userfull for you too:
>
> Migrate from VMWare to oVirt
>
> 1. On VmWare:
>
> a. Export the VM to ovf format. There is a smb/nfs share on virt-v2v
you can use as storage.
> i. NFS: Virtv2v.:/media/Storage
> ii. SMB: virtv2v. share: virtv2v
>
> 2. with virtv2v
>
> a. Log in on the virt-v2v vm.
> b. Locate and Extract the ovf file with tar –xvf
> c. Convert the extracted vmdk file to raw disk format with the
following command:
> vboxmanage clonehd --format RAW <VMNAME>.vmdk <NewVMName>.raw
> d. Convert the created RAW file to a qemu2 img:
> qemu-img convert -f raw <VM-Name>.raw -O qcow2 <VMName>.qcow2
> e. Run the vm in virsh:
> virt-install --connect qemu:///system --ram 1024 -n griffu -r 2048
--os-type=linux --os-variant=rhel6 --disk
> path=/media/Storage/<VMName>.qcow2,device=disk,format=qcow2 --vcpus=2
--vnc --noautoconsole –import
> f. Take a xml dump of the VM and copy the result in a new file
<VMName>.xml
> virsh dumpxml <VMName>
> g. Now let’s move the vm to ovirt. Make sure the nfs is attached to
the TestDev Datacenter.
> virt-v2v -i libvirtxml -ic qemu+ssh://<FQDN-Hypervisor> /system -o rhev
-os <FQDN-NFS-exportdomainserver>:/media/NfsProgress -n ovirtmgmt
<VMName>.xml
Can you create a page on oVirt Wiki?
I think it may be useful to have this there too.
Thanks!
>
>
>
> 2014-06-24 15:19 GMT+02:00 Massimo Mad <mad1969it(a)gmail.com <mailto:
mad1969it(a)gmail.com>>:
>
> Hello,
> I downloaded an image .vmdk from a repository and wanted to import
it into my oVirt infrastructure.
> Is it possible?
> If it is possible how?
> Thanks,
> Massimo
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at
redhat.com