Quantcast
Channel: VMware Communities : Popular Discussions - Open Virtualization Format Tool
Viewing all 34499 articles
Browse latest View live

ovftool --nodisks still creates .ovf file with disk information

$
0
0

 

Hi All,

 

 

I'm using ovftool with the --noDisks option, but there still seems to be disk information in the .ovf file (see attachments).

 

 

I'm trying to import the virtual appliance on a ESXI 3.5 update 2 server, using VM Converter 4.0.1.

 

 

When I try and import the virtual appliance, I get the following error:

 

 

FAILED: Unable to download the OVF file 'http: //xxx.xxx.xxx.xxx/vm_ovf_backups/esxi-test-disk1.vmdk'.

 

 

I thought the --noDisks option would leave out any information relating to the disks - am I wrong?

 

 

Regards, Michael

 

 


Error: Found wrong kind of object (VirtualMachine)

$
0
0

 

Hi,

 

 

I have problems copying a VM from an esxi 3.5 Server to a VMware Server 2 using ovftool. I already created the vm on VMWare server, but that did not help

 

 

I am trying with the command line:

 

ovftool vi://esxiserver/vm vi://localhost:8333/hostname/vm

 

and get the following error:

 

Error: Locator does not refer to an object: vi://localhost:8333/hostname/vm

 

If I use the following command line:

 

ovftool vi://esxiserver/vm vi://localhost:8333/vm

 

the error message is:

 

Error: Found wrong kind of object (VirtualMachine)

 

I am confused about what to specify for the object. Can somebody please tell me the correct statement for copying the vm over?

 

 

Thanks in advance

 

 

 

 

 

Dieter

 

 

Deploy an OVF template

$
0
0

 

I am using the OVFTOOL as follows:

 

 

 

 

 

ovftool myvm.ovf vi://DataCenter/192.168.XX.XX?ds=store

 

 

Result:

 

 

Opening OVF Source : myvm.ovf

 

 

Error: Succes

 

 

 

 

 

What does this mean?? =(

 

 

OVA to VMX using OVFTool in Mac OSx Terminal Problem

$
0
0

Hello,

 

I am new to OVFTool  and am having difficulty using it in Terminal on my MacBook Pro to convert an OVA (created by exporting my WinXp virtual machine from within VirtualBox), to a VMX file for use in VMWare Fusion on my MacBook Pro.

 

I have installed the OVFTool on my boot drive (partition) which is named "LFP OS", in the folder:  /Library/VMWare/OVFTool/.

 

I have the OVA file on my data drive (partition) which is named "LFP Data" in the folder: /Virtual Machines/WinXP.ova.

 

I want to create a virtual machine file (VMX) in the same location as the soure that I can then import into VMWare Fusion.  I have gone through the OVFTool User Guide, forums, Google etc. and cannot get it to work properly.  It may be as simple as my Terminal syntax being off.  Anyway, please help.

 

Here is what I used in Terminal:

 

LFP-MacBook-Pro:virtual machines nils$
LFP-MacBook-Pro:virtual machines nils$ pwd
/volumes/lfp data/virtual machines
LFP-MacBook-Pro:virtual machines nils$ ./Volumes/LFP\ OS/Library/VMWare/OVFTool/ovftool /Volumes/LFP\ Data/Virtual\ Machines/WinXP.ova /Volumes/LFP\ Data/Virtual\ Machines/WinXP.vmx
-bash: ./Volumes/LFP OS/Library/VMWare/OVFTool/ovftool: No such file or directory
LFP-MacBook-Pro:virtual machines nils$

 

Thanks for your time!

 

Regards,

SBNL

Trying to create an OVF file

$
0
0

To whom may  help,

 

I’m currently trying to get an ovf  file created from the command line. At the moment I am using ovftools, I’ve  tried multiple variations on getting this to work but maybe I’m just not getting  something. Any help would be great:

 

Here is the input and out put that  I’m getting:

 

C:\Program Files\VMware\VMware OVF  Tool>ovftool.exe  vi://****:*********@10.*******/vmfs/volumes/4ee778f7-8fdOaf38-***********************/"MSP  Virtual Machine #2"/"MS

P Virtual Machine #2"   C:\tmp\test.ovf

Opening VI source:  vi://****@10.*******:443/vmfs/volumes/4ee778f7-8fd************************/MSP                    Virtual                   Machine

Error: Locator does not refer to an  object: vi://root@10.********:443ha-datacente

r/host/localhost./Resources/vmfs/volumes/4ee778f7-8fdOaf38-6589-842b2b47ee18/MSP

Virtual  Machine

Completed with  errors

 

Thanks

Deploy OVA to ESXi 5 host directly

$
0
0

Hello all,

 

I have a linux VM on a remote ESXi 5 host that I have installed OVFtool.  That same linux vm has a local "win2k8.ova" ova file.  Here is the command i'm trying to use:

 

ovftool -ds=DS1 -n=MSRVR01 win2k8.ova vi://root:password@172.16.100.20

 

and get the following message:

 

Error: Found wrong kind of object (ResourcePool). Possible completions are:

 

But this is a single ESXi host without any ResourcePools.  How do i get around this?

 

Thanks,

Nick

Creating MyvApp.ova from VM1.ova and VM2.ova

$
0
0

Hi All,

 

I have two .ova's with me. Both are SLES based and are highly customised. Designed to work togethar.

 

1) Is it possible using ovftool to create a vApp containing these two vms.? 

2) And also adding custom vApp properties to it.?

 

I can do this manually using vsphere client. And also using powercli scripts.

But I wanted to do it in an offline manner i.e. not involving any running esx host.

 

Please share your thoughts.

 

Thanks

Nikunj

using ovftool for importing a .ubf (Universal Boot Format) file

$
0
0

Hi,

I am new to the virtualization world and was wondering if any of have come across anything like this:

 

I am receiving a *.ubf file from another dev group, which I successfully import via vSphere.

Now I am trying to automate this by importing the same file with the ovftool and I get the error:

 

"Error: Failed to open OVF descriptor"

 

Any help would be highly appreciated.

 

I.


OVF Tool 3.0.1 Segmentation fault on linux

$
0
0

Running OVF Tool 3.0.1 on 32 bit CentOS 6 Linux 2.6.32-279.11.1.el6.i686 (download from VMWare site md5sum was checked ok)

 

Tool starts up fine and is in the process of exporting a VM from one ESXi 4.1 host to another ESXi 4.1 host . 

 

Tool then crashes with /usr/bin/ovftool: line 23:  7629 Segmentation fault      (core dumped) "$OVFTOOL_BIN" "$@"

ovftool: Conversion to monolithic sparse image fails with a Vapp ovf file

$
0
0

Hi,

 

We have been trying to create the monolithicSparse Image for the Vapp Ovf using the following OVF Tool command-Line Options

/usr/bin/ovftool --acceptAllEulas -dm=monolithicSparse Test_Vapp.ovf NEW_Vapp.vmdk

 

But the Ovf tool fails to do the conversion with the following message

Error: OVF Package is not supported by target.

 

We have also tried validating the Vapp ovf file using the ovftool schemaValidate and did not find any issues with this.

 

Please let us know if the Ovf tool supports conversion for multiple virtual machines (i.e support for Vapp OVF)

Thanks in advance

OVA file for VM with vdisks on different datastores

$
0
0

Hi,

    I have an ova file created for a virtual machines that has 6 virtual disks.  All disks were on different datastores.  When I import that ova I'd like a way for the vdisks to not all end up in one datastore, but on specific datastores.  I'm currently running vSphere 5.1.  My reason for this is that certain datastores are on high performance disks, and I would like the imported VM to also utilize those high performance disks.  There doesn't appear to be a way to edit while doing the import.  There also doesn't appear to be a way to edit the virtual machine and change it's datastores after I have created it.  The last thing I can find to try is to use the datastore browser to move these virtual disks to the appropriate datastores, but looks like an ugly way to do it.  Does anyone have any other ideas on how to do this with ova file?

 

    I switched to ova files because I wanted a nice compressed package to deliver the my virtual machine examples (they're thick provisioned because I want to encourage our customers to utilize thick provisioned drives).  Any ideas on a better way to distribute these example VM's so that the underlying storge defaults are saved?

 

                               Thanks for any suggestions,

                                                   Mark

ovftool add description when exporting ova

$
0
0

I want to edit the description filed when exporting an ova file. With export-vapp, it is pretty straightforward, just specify a parameter called “description”. like export-vapp -Description “abcd”. Is there a way to do the same thing using ovftool? Thanks.

OVFtool error - Line 38: Unsupported value '16' for element 'VirtualQuantity'.

$
0
0

Hi Guys,

 

I'm getting the below error when using the OVFtool to convert an OVA file to VMX.

 

Error:

- Line 38: Unsupported value '16' for element 'VirtualQuantity'.

- Virtual machine has 16 virtual CPUs, but the host only supports 8. The number of virtual CPUs may be limited by the guest OS selected for the virtual machine or by the licensing for the host.

 

I am trying to solve it using the syntax option --viCpuResource=<shares>:<reservation>:<limit>

 

However I don't know what to denote in the placeholder <shares>

 

I have also read the OVFtool user guide, but it does not give any info on the viCpuResource option.

 

Can anyone give me some guidance here?

Create an OVF with no disks

$
0
0

Hi everyone,

 

I'm totally new to this forum. I've already done my research about the question I'm going to ask and unfortunately couln't find any valid answers.

 

So the question is: would it be possible to create an OVF with no disks or disks with size equal to 0?

 

Thank you for your help.

ovftool moref and ManagedObjectNotFound

$
0
0

Hi Guys,

 

I'm trying to use the below command using ovftool and have not been successful

 

ovftool vi://user:pass@localhost?moref=vim.vm.VirtualMachine:<VM GuestName>.

 

every time I receive the message "vmodl.fault.ManagedObjectNotFound".  How to query using moref using VM Guest name.

 

like when I do  "ovftool vi://user:pass@localhost" -  I receive the details about the VM Guests.

 

-Mahesh


ovftool: How to override disk naming of ovftool

$
0
0

Hi,

 

Suppose I have a VM "vm1" with 3 disks "[datastore2] k1/k1.vmdk",   "[datastore2] k1/k1new.vmdk"  and "[datastore2] k1/k1up.vmdk".

 

I can't identify the correct disk, If I import this VM to my local system using "ovftool".

 

Output of "ovftool" command : ovftool vi://root:vmware123@192.168.1.26?moref=vim.VirtualMachine:109 .

k1-disk1.vmdk

k1-disk2.vmdk

k1-disk3.vmdk

k1.mf

k1.ovf

 

See, "ovftool" renamed the disks to "k1-disk1.vmdk", "k1-disk2.vmdk" and "k1-disk1.vmdk".

 

Have any way to keep the name of the disk ??

Have any way to specify the name for the disk in the "ovftool"  ???

 

Thanks,

ovftool - What is wrong with my command?

$
0
0

 

I have tried everything and having trouble with this command and here is the error I am getting.  I have tried "--network=VM Network" and every option I can think of and those options seems correct because the command does execute, but I get the same results.  The thing is I do not currently need a network adapter installed on this machine after I bring it into the VMWare environment

 

 

 

C:\Program Files\VMware\VMware OVF Tool&gt;ovftool.exe --datastore=EVA1Disk1 --net work="Host Only" c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf vi://root@128.1.60.200

 

 

Opening OVF source: c:\Temp\Netscaler\NSVPX-ESX-9.1-101.5.ovf Please enter login information for target vi://128.1.60.200/ Username: root Password: ********* Opening VI target: vi://root@128.1.60.200/Error: No network mapping specified OVF networks:  NS_NIC_1_1  VM Network Target networks:  Host Only  VM Network

 

 

 

 

 

How to use ovftool command line utility Video Tutorial

Specify Datastore path with ovftool???

$
0
0

 

All,

 

 

I am using ovftool to import ovf directly to ESX host using following command:

 

 

/usr/bin/ovftool --machineOutput &lt;ovf-file&gt; vi://user:pass@ip

 

 

It creates the vmx on ESX under the datastore path. But I want vmx files to be created under some directory in Datastore path. How? as ovftool says:

 

 

"When connected directly to an ESX host, &lt;searchTerm&gt;  must be left empty"

 

 

e.g   /usr/bin/ovftool --machineOutput &lt;ovf-file&gt; vi://user:pass@ip/&lt;some-dir&gt;

 

 

However the above command give me some syntax error.

 

 

Looks very trivial problem, But I could not found any solution yet.

 

 

Any comments/suggestion????

 

 

 

 

 

Thanks

 

 

-tej

 

 

Defining serial port Without the GUI

$
0
0

I need access to my deployed virtual machine's serial console, not through a GUI window, but through ssh or telnet.  I finally found how to define a serial console so that I can telnet in, which is perfect, but now I'd like to automate the defining of that serial device without using the vSphere Client GUI.

 

I can define my serial port from the vSphere Client GUI after deploying my VM by powering off the VM, Edit Settings -> Add a Serial Port, check "Connect via Network" -> Network Backing -> Server (VM listens for connections), Port URI = telnet://10.36.0.85:7001, where 10.36.0.85 is my ESXi 4.1 server's IP address and 7001 is a random port.  When I power on my VM, I can telnet 10.36.0.85 7001 from a remote system and viola, I have serial console/terminal access.

 

In the vmx file, I can see

  serial0.present = "TRUE"

  serial0.yieldOnMsrRead = "TRUE"

  serial0.fileType = "network"

  serial0.fileName = "telnet://10.36.0.85:7001"

 

The question is, how can I define the above either in the ovf file before I deploy, as I deploy (I'm using ovftool from a remote system), or via a remote command afterwards, e.g. a vSphere CLI command?  When I try exporting the ovf template from the vSphere client, I get "Device 'Serial port 1' cannot be exported."

Viewing all 34499 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>