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