I have a VM in OVF format which is exported from ESXI . Now since i want to import this to Hyperv. i had installed OVF Import/Export tool in my SCVMM server as per this link http://technet.microsoft.com/en-us/library/jj158932.aspx
Now as per the instructions in the link above, i have converted the VMDK file to VHD format using citrix xenconvert. Then used the import commands
- $vmm = get-scvmmserver -ComputerName "MyVMM" ---- executed
- $ls = Get-SCLibraryServer -ComputerName " MyLibraryServer" ---- executed
- Import-SCVirtualMachine -ImportVMPath "C:\test\Windows7Ultx86.ovf" -LibraryServerObject $ls -VMMServerObject $vmm -LibrarySharePath "\\MyLibraryServerFQDN\MSSCVMMLibrary\Import\" -VHDSourcePath "C:\test\Windows7Ultx86-disk1.vhd" -VMName "Win8Machine"
First two commands are excuted then ,the third command throws an error saying
*************************************************************************************
Import-SCVirtualMachine : UnknownVirtualSystemType
At line:1 char:1
+ Import-SCVirtualMachine -ImportVMPath "C:\test\Windows7Ultx86.ovf"
-LibraryServe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (:) [Import-SCVirtualMachine], Exc
eption
+ FullyQualifiedErrorId : System.Exception,Microsoft.SystemCenter.VirtualM
achineManager.OVFTool.ImportVirtualMachine
*******************************************************************************************
- Is there anything i need to edit in the OVF file???because if i open the ovf file i see this line related to VirtualSystemType:
<vssd:VirtualSystemIdentifier>Windows7Ultx86</vssd:VirtualSystemIdentifier>
<vssd:VirtualSystemType>vmx-08</vssd:VirtualSystemType>
</System>
<Item>
there is a line in vmx which shows::->>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<References>
<File ovf:href="Windows7Ultx86-disk1.vmdk" ovf:id="file1" ovf:size="2832169984" />
</References>
since i use VHD now should i update this line???
Please help me to accomplish this task. And Microsoft please make it easy for us to import OVF's