<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">Cam,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">I did import vmware VMs, but it was not an easy procedure. Last time I did it, there were the following issues:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">* oVirt engine didn't support 32bit VMs. If you have a 32bit VM in vCenter, you are not able to see the list VMs to import.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">* There were issues if you have a cluster in vCenter. I had to setup a proxy server to fix URLs on the fly, but then I've found a better way. See below.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">* RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use virt-v2v from Fedora.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">Thus, if you want to convert it
</span><span style="font-size:11.0pt;font-family:Calibri">manually, the procedure is the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">1. </span>
<span lang="RU" style="font-size:11.0pt;font-family:Calibri">Install vdsm-hook-nestedvt on ovirt nodes, and reboot</span><span style="font-size:11.0pt;font-family:Calibri"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">2. Setup a VM with latest Fedora, install virt-v2v.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">3. Mount your NFS storage inside v2v VM.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">4. Move windows VMs to the same NFS storage.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">5. Connect to vcenter using the following command:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1</span><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">6. Find windows VM using 'list' command, and dump config using 'dumpxml VMNAME/ID'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">7. Edit the xml providing full path to vmdk images (see «source file=»)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">8. Create appropriate VM in oVirt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">9. Find new VM IDs using ovirt-shell<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">10. Make sure the source VM is stopped<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">11. Execute virt-v2v (make sure:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os /nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid 368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid 2f56c6cd-a212-44e6-a792-447787f5b073
 --vdsm-vm-uuid 421e93a8-33d2-fc0e-4cfc-ac45a35db8c9 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)</span><span style="font-size:11.0pt;font-family:Calibri"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt tools and drivers.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri">I hope this helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="RU" style="font-size:11.0pt;font-family:Calibri"><o:p>&nbsp;</o:p></span></p>
<div>
<div>
<p class="MsoNormal">On 15/06/16 20:41, &quot;<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> on behalf of Cam Mac&quot; &lt;<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> on behalf of
<a href="mailto:iucounu@gmail.com">iucounu@gmail.com</a>&gt; wrote:<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-right:0cm" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
<div>
<div>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email), and I need to find a way to migrate quite a few Windows hosts (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a compelling case
 for getting rid of VMware. Using OVF files looks like a lot more manual work as compared to the GUI or virt-v2v, with their nice conversion features.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Any suggestions?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Cam<o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</body>
</html>