You'll have to have a VMware.com account to download it, and you will be given different binaries to choose from (Windows/Mac/etc). Once you have downloaded/installed the OVF Tool, you will use it to convert the OVF. On my MBP w/Lion, it installed to /opt/vmware/ovftool You will use the OVF Tool from a Terminal window. Product Downloads. File Information; Download Now. VMware OVF Tool for Windows 32-bit. Read More: Download Now. VMware OVF Tool for Linux 32-bit; File size: 32.70 MB; File type: bundle; Read More: Download Now. VMware OVF Tool for Linux 64-bit; File size: 34.16 MB. VMware OVF Tool for Mac OSX; File size: 43.82 MB; File type: dmg; Read.
There are many organizations running multiple environments such as Test, Development, Stage, and production. Usually all the developments and deployments start with the Test or Development environment. Once the deployment or POC is completed in the lower environment, they want to move the deployment on a higher environment such as Stage or Production.
When the deployment is moving towards the higher environment, the product team wants the same thing configured with the test & dev environment to the higher environment. It will waste a lot of effort if you are re-doing the things from scratch in the upper environments such as stage or production. Most of the dev team requesting us to clone or copy the dev VM’s to stage or production environment.
What would the vSphere administrators do?
Environments have direct connectivity, we can clone the virtual machines directly between vCenter Server using Cross-vCenter VMotion.
Cross-vCenter vMotion feature requires enterprise plus license. You can use the tools like Cross vCenter Workload Migration Utility to clone or migrate the VM’s across the vCenter Servers between the environments.
Take a look at my article on how to vMotion VM’s between vCenter Servers using Cross vCenter Workload migration utility.
What if you don’t have the enterprise plus license and direct connectivity between the environment?
The easiest option is to export the virtual machine to OVF using the “Export OVF Template” option in the vCenter Server and import the OVF into virtual machines in the new environment.
Specify the Name for the OVF template and click Ok.
![Ovftool Ovftool](/uploads/1/2/6/7/126750915/380619011.png)
I noticed the timeout errors when export the VM as OVF from vCenter Server especially for larger VM’s. To avoid the timeout issue, I used to export VM to OVA or OVF using OVF Tool. In this article, I will explain with the detailed procedure to export VM to OVA or OVF using OVF Tool.
We have also discussed converting OVA to the OVF file using OVF Tool in one of the earlier blog posts. Check out: How to convert OVA to OVF using OVF Tool
How to Export VM to OVA or OVF using OVF Tool?
My goal today is to help you learn about:
![Download Download](/uploads/1/2/6/7/126750915/875746231.png)
- How to Download and Install VMware OVF Tool?
- How to Discover the VM Path using the OVF Tool?
- How to Display the VM OVF details OVF Tool?
- How to Export VM to OVA using OVF Tool?
- How to Export VM to OVF using OVF Tool?
Download and Install VMware OVF Tool
Before We understand how to Export VM to OVA or OVF using OVF Tool, Let’s understand where to download and how to install the VMware OVF Tool. OVF Tool installer is available for Windows, Linux and MAC OSX.
You can download the VMware OVF tool from VMware Website.
Ovftool 4.2.0
For this demo, I have downloaded and installed the VMware OVF tool for my windows based machine. Installation is quite simple as similar to all other windows installers. I am not going to explain each step of the OVF tool installation.
Once you finish the installation of the VMware OVF Tool, Browse towards the directory where you installed the OVF tool using the CD command. By default, below is the installation directory
Discover the VM Path using the OVF Tool
To export VM to OVA file using the VMware OVF tool, we have to call ovftool.exe along with the vCenter URL and credentials, and you will also need the path to your VM. To know the VM path, we can use the OVF Tool to discover the VM path.
If you don’t know the VM path, you can discover it. For example, enter the vCenter URL and credentials.
If the full path is not as VM, so the tool will return an error message for the “wrong kind of object”, for example, a folder or a datacenter.
It will suggest possible completions, which are the objects under the path you have entered. Keep adding completions until you get to the “VM” folder and select a VM.
To list the virtual machines running on the vCenter Server, you can run the below command
Display the VM OVF details
With the OVF tool, the default vi command displays a friendly version of the VM OVF details. You can run the below command to get the VM OVF Detail
Ovftool Download Vmware
Export VM to OVA using OVF Tool
To export VM to OVA file, enter ” ovftool.exe vi://” with the VM path and with a local file with a “.ova” suffix at the end.
It will show the progress of the export process.
Export VM to OVA is completed successfully. It will show the status as “Transfer Completed” and “Completed Successfully”.
After exporting the VM to OVA, you can see the “.OVA” file is saved in the directory which we have specified during the conversion.
Export VM to OVF using OVF Tool
Export VM to the OVF process is similar to exporting VM to OVA. enter ” ovftool.exe vi://” with the VM path and with a destination directory. By default, OVF Tool exports VM to.OVF file. So, we don’t need to specify the.OVF file extension here.
Exporting VM as OVF is completed successfully. Let’s take a look at the export directory and check the files.
An OVF package structure consists of a number of files: a descriptor file, optional manifest and certificate files, optional disk images, and optional resource files (such as ISO’s). The optional disk image files can be VMware vmdk’s, or any other supported disk image file.
https://archiclever222.weebly.com/download-free-virus-remover-for-mac.html. We have successfully completed the export VM to OVA or OVF using OVF Tool. Now we can use that “.OVA” or “.OVF” file to deploy the virtual machines into your vCenter server inventory using vSphere client.
Detailed Video on How to Export VM to OVA or OVF is here:
I hope this article is informative for you. Thanks for Reading !!!. Be social and share it in social media, if you feel worth sharing it.
If you have an occasion to export large amounts of VM’s to OVA’s like I currently do, you may find the following useful for creating a script to do just that. Cheers!
Download OVF Tool
Download OVF Tool installer from the following link:
Browse to OVF Tool
Locate OVF Tool tool from the command line. For me on Mac (using Fusion):
Avery 5160 template for mac download. For Windows, it should be:
Export
I will break down the arguments individually, since this won’t be exactly the same for you. Here’s the full command I used in my lab:
./ovftool
This is the tool. On Windows, you might need to include .exe or something. I don’t have any of that garbage to test this on ?
–noSSLVerify
If you’re wiser than me, you might want to leave this flag out. I just put it in so that I wouldn’t have to type ‘yes’ to accept the SSL cert thumbprint.
vi://
This is the path specific to ESXi/vCenter. If you were trying to export a Workstation VM, you could just as easily use
C:
for instance.[email protected]
This works out to be
[username]@[host or VC]
. You could also include a password if you’re scripting and don’t care if it’s in clear text. [username]:[password]@[host]
/vCenter
This is the path to your VM. There’s a number of different ways to use this tool, including pointing at a datastore, searching using queries, etc. If the VM is in a resource pool or folder, you’ll need to specify, but if the VM is in the root resource pool of the host like mine, you can just type the name.
~/Desktop/vCenter.ova
This is the filename on the machine I’m running the OVF Tool on. Name your output file here.
Finally…
Here’s a screenshot of what a successful export looks like.
If you have any trouble with the export, you can run the command with the following flag to generate a log file to help with troubleshooting:
--x:logfile=
Install Ovftool
Also, for more detailed usage on OVF Tool, check out the best two resources I know of, VMware and VMware’s own William Lam.