I downloaded Perforce commons OVA file commons.ova and when I tried to deploy it on VMWare ESX server, it failed with the error
Error: OVF Package is not supported by target: - Line 25: Unsupported hardware family 'virtualbox-2.2'.
Here the issue is with the commons.ovf file inside commons.ova . It defined virtual system type as virtualbox-2.2, which is a Oracle Open source virtualization product. Hence VMWare doesn't understand it.
<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>
We need to change it from virtualbox-2.2 to vmx-04 a VMWare format in that file.
Here are the steps to modify .ovf file inside .ova on linux system
- Copy .ova file (commons.ova) to a Linux system
- Extract ova file using tar utility
tar xvf commons.ova
Now you will get the following files
commons-disk1.vmdk commons.ovf
- Edit the .ovf file (commons.ovf) and do following changes
1) Replace virtualbox-2.2 with vmx-04
<vssd:VirtualSystemType>vmx-04</vssd:VirtualSystemType>
2) To fix the error Line 66: OVF hardware element 'ResourceType' with instance ID '5': No support for the virtual hardware device type '2
changed this item:
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>sataController0</rasd:Caption>
<rasd:Description>SATA Controller</rasd:Description>
<rasd:ElementName>sataController0</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>AHCI</rasd:ResourceSubType>
<rasd:ResourceType>20</rasd:ResourceType>
</Item>
into this item:
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>SCSIController</rasd:Caption>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSIController</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>SCSIController</rasd:Caption>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSIController</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
- Convert ovf back to ova again. You should have installed 'ovftool' utility on your machine
ovftool commons.ovf commons.ova
Deploy it on your ESX server now. There shouldn't be any issue.
No comments:
Post a Comment