VMware Cloud Community
djflux
Enthusiast
Enthusiast

OVFTool not working at all

I just downloaded ovftool and installed it on our vCenter server (VirtualCenter 2.5) . I'm trying to convert a VMX to OVF and when I run the tool it tries to open the VMX source and then just returns to the command prompt. No error, no warning, no output at all.

Here is my command and the output:

C:\tmpflux\Symantec_Brightmail_Gateway_8.0>"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" Symantec_Brightmail_Gateway_8.0.vmx C\tmpflux\newbm\test.ovf
Opening VMX source: Symantec_Brightmail_Gateway_8.0.vmx

I've tried adding the source type and the target type switches, I've tried just probe mode (not sure if that will work on a VMX machine), I've tried moving the VM files from the network to local machine and tried moving them to another drive on the local machine. Nothing happens at all.

The VM is a Symantec Brightmail Appliance downloaded from Symantec's site. The source VMDK is a 2 GB Max Extent Sparse disk.

Is there a verbose switch to ovftool that I can actually see what it's doing or log the verbosity to a file somewhere? Is the VMX file jacked up? Am I missing something REALLY obvious? Smiley Happy

Thanks for your help,

Flux.

0 Kudos
5 Replies
djflux
Enthusiast
Enthusiast

BTW, I'm running the following version:

C:\tmpflux\Symantec_Brightmail_Gateway_8.0>"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --version
VMware ovftool 2.0.1 (build-260188)

0 Kudos
DSTAVERT
Immortal
Immortal

Have you tried running the appliance. I would try downloading another small appliance and run the tool. http://www.vmware.com/appliances/directory/628223 is very small 6MB

If you still have trouble I would try installing on another computer.

-- David -- VMware Communities Moderator
djflux
Enthusiast
Enthusiast

Yes, I imported the appliance into an ESXi 3.5 host and it runs just fine. I'll try downloading a small appliance and see if I receive similar results.

Thanks for the reply

0 Kudos
djflux
Enthusiast
Enthusiast

DSTAVERT,

Thanks for the pointer. I downloaded the Monowall appliance and it converted fine.

I opened the VMX file for the Symantec appliance in Notepad and it was formatted with UNIX style CRLF as was the .VMDK description file. I copied the contents of those files to new files in Notepad and renamed all files in the VM folder with shorter names and now the ovftool is converting the VM.

Thanks again for the help.

As a recommendation for enhancement to VMware, maybe the Windows version of the ovftool could check for proper CRLF in the VMX and VMDK description files and convert them to the proper Windows format before attempting a conversion. Thanks for VMware for the tool.

Regards,

Flux.

0 Kudos
DSTAVERT
Immortal
Immortal

Glad to know you are up and working.

-- David -- VMware Communities Moderator
0 Kudos