Deploy OVA to VMware ESXi

From Archiveteam
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Convert OVA to OVF

Download OVF tool from VMware site (requires VMware account). Install the OVF tool.

Open PowerShell.

Run:

   ovftool.exe --lax <OVA file> <OVF output file>

Example:

   PS C:\Users\warrior\Downloads> & "C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --lax .\archiveteam-warrior-v2-20121008.ova warrior.ovf

Open warrior.ovf with your favorite text editor. It's XML.

Search:

<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>

Replace to:

<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType> 

Search:

<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>

Replace to:

<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>

Save the .ovf file.

Deploy OVF to VMware ESXi

Open the ESXi web interface UI. Go to Virtual Machines. Click Create / Register VM. Select Deploy a virtual machine from an OVF or OVA file. Click Next. Give the virtual machine a name. Drag'n'drop or select the .ovf and .vmdk files. Select NIC. Click Finish. Wait ESXi to deploy the image. Open the console to see the HTTP address where the warrior is running. Go to the address and join the team!