VMware ESXI 4.1

Looking for some help with ESXI.  I'm trying to use the OVFtool with ESXI 4.1  I've downloaded the tool and installed it on windows xp pro computer. when I try to use it to convert a vmdk file to an ovf.  I get the error: failed to open OVF descriptor.  
This is the txt I enter to convert  ovftool drive:\filename.vmdk  drive:\filename.ovf  this is what I receive
Opening OVF source: drive:\filename.vmdk
Error: Failed to open OVF descriptor

I know I can use the VMware Converter to do this and it works fine but I use Acronis B&R 10 and it creates a vmdk file for backups if I need it, so I would like to be able to use it.

Any Ideas?
LVL 7
JohnGrunwellAsked:
Who is Participating?
 
JohnGrunwellAuthor Commented:
Yes I was trying to import the backup image into ESXI host but it wouldn't recognize vmx or vmdk.  But I got it figured out last night, When using Acronis B&R 10 option to convert to VMware, it creates two different files one a vmx file and the other a vmdk in the location specified. When using the ovftool to convert the file it uses the vmx file.  Both vmx and vmdk files have  to be located in the same location ( also after the files are created they should not be renamed otherwise it will not work)
So when you enter the command it should read
ovftool drive:\filename.vmx drive:\filename.ovf
during the process it then looks at the vmdk file to create the new ova file if that makes sense. Then this file (ova) can be imported into ESXI to create the virtual machine. I was just doing it backwards, trying to use the vmdk file to convert.
Thanks for everyone’s comments on this.
0
 
remixedcatCommented:
are those created from workstation instead of esxi? I don't think the two work right together and that's why it's not working???

you would need to convert that to the proper vmware image , then to ovf.

also hardware could not be right as well.
0
 
IanThCommented:
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Danny McDanielClinical Systems AnalystCommented:
are you downloading both files for the disk?  you should have servername-flat.vmdk and servername.vmdk
0
 
JohnGrunwellAuthor Commented:
They are created from a backup ( convert to VMware option in Acronis ) it creates a vmdk file and a vmx file.   I can import ovf and ova files with Vsphere Client 4.1 but it will not allow a vmdk file or vmx file.  
0
 
JohnGrunwellAuthor Commented:
I get two yes, one servername.vmx and servername_xxxxxxxxxx-xxx-xxx.vmdk
0
 
remixedcatCommented:
I see the command support vmx but not vmdk as to what I've picked up. hrrrmmm.....
0
 
JohnGrunwellAuthor Commented:
The OVFtool 2.0 is supposed to convert those types to ovf and ova from what I've read everywhere just having trouble trying to make it work out.
0
 
remixedcatCommented:
this is also bad becuase I recommended someone use the same thing you want to use on another site
0
 
Danny McDanielClinical Systems AnalystCommented:
I see the command support vmx but not vmdk as to what I've picked up.

I should have caught that...  ovftool's purpose is to package whole VM's, not just the .vmdk's.  So, you can use it to repackage the download, but I believe you are just trying to take the backup file and import it onto the ESXi host, correct?
0
 
JohnGrunwellAuthor Commented:
This will answer the question and explain what files the OVFtool uses to do a conversion.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.