vCloud-mridwanjid

Ovftool : Upload OVA to vCloud Director

Open Virtualization Format (OVF) is an industry standard to describe metadata about virtual machine
images in XML format. VMware OVF Tool is a command-line utility that helps users import and export
OVF packages to and from a wide variety of VMware products.

Deploying an OVF Package into vCloud Director.

You can deploy an OVF/OVA package from OVF Tool into vCloud Director. The following example connects to vCloud Director and deploys the OVA/OVF package LAMP.ova.

ovftool "c:\LAMP.ova" "vcloud://myuser:PASSWORD@example.com:443/?org=myOrg&vapp=test1&vdc=orgVdc&catalog=catalog"

Default Location for ovftool installation :

C:\Program Files\VMware\VMware OVF Tool>

where :

"myuser" should be local admin of Organization.

Using the Log Settings.

Use the OVF Tool’s log options if you are not seeing the results you expect. The log options allow you to
see the operations of the OVF Tool, and send the results to the console or to a file.
Two of the most commonly used options are: --X:logFile and --X:logLevel.

  • Use the --X:logFile= option to log the complete ovftool session to a file.
  • Use the --X:logLevel= option to control the verbosity of the logs.

For example, you can use a command similar to this to write the log in a file called ovftool-log.txt:

>ovftool --X:logFile=c:\ovftool-log.txt --X:logLevel=verbose "C:\LAMP.ova" "vcloud://myuser:PASSWORD@example.com:443/?org=myOrg&vapp=test1&vdc=orgVdc&catalog=catalog"

Leave a Comment