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

Oracle VM VirtualBox image -> VMware ESXi Server

$
0
0

I'm running Oracle VM VirtualBox 3.2 on my Windows 7 PC. I want to import this to my VMware ESXi Server 4.x. Give me guidens to what are the options I have follow to export first. And how to import that file to VMware ESXi Server second.

 

Thanks

Samu


The OVF descriptor file could not be parsed.

$
0
0

Hi All,

 

    I have just exported an vApp using ovf from my vCenter v4u2. When I try to import into Vmware Workstation 7.1(running on Window 7 Ent 64bit) I get the following error message "The OVF descriptor file could not be parsed."  I have attached the log.

 

 

Cheers!

ovftool 2.1.0 `Error: Curl error: Coudn't resolve host name`

$
0
0

Greetings friends,

 

I have installed ovftool on a Linux machine with SLES 11 SP1 x86_64

 

I am currently experimenting on how to use ovftool, as i'm a total newbie considering it's use.

 

I currently have a vCenter Server 4.1, with IP 10.20.30.40. There i have the following structure:

 

10.20.30.40

     MyDataCenter

          Cluster1

          Cluster2

               MyVM

 

The datastore where the vmx is located is named NAS1

 

I want to convert this virtual machine to .ovf. But for starters, i would like to probe it. I'm using ovftool 2.1.0 and the user's guide says that the VMX type is supported. I thought to use vSphere Locator with Datastore (ds) query type. So, i execute the following:

 

ovftool vi://10.20.30.40/MyDataCenter?ds=[NAS1] MyVM/MyVM.vmx

 

After i'm asked for credentials, i get the following:

 

Please enter login information for source vi://10.20.30.40/
Username: xxxxxxx
Password: *************
Error: Curl error: Couldn't resolve host name
Completed with errors

 

Have you seen that before? Am i doing something wrong with the syntax? Or in general, am i using ovftool the wrong way?

 

Thank you for your help!

 

Peter

Unsupported element 'Property' from ovftool and ESXi server

$
0
0

I'm trying to use the ovftool to import a OVA file into a ESXi server.  However I get the following error

 

Error: OVF Package is not supported by target:
- Line 118: Unsupported element 'Property'
Completed with errors

 

The related lines in the OVF file are:

    <ProductSection ovf:class="vami" ovf:instance="*******">
      <Info>Information about the installed software</Info>
      <Category>Networking Properties</Category>
118-->      <Property ovf:key="gateway" ovf:type="string" ovf:userConfigurable="true">
        <Label>Default Gateway</Label>
        <Description>The default gateway address for this VM. Leave blank if DHCP is desired.</Description>
      </Property>
      <Property ovf:key="DNS" ovf:type="string" ovf:userConfigurable="true">

 

Based on some initial investigation I have done I beleive this is because the ProductSection is defaulting to required="true" which forces ESXi to use these fields, however ESXi doesn't seem to support this and it errors out as shown above.

 

The OVA file was generated using ovftoolto export VM in a vcenter instance.  This OVA file imports fine into vcenter, but not ESXi

 

Is there anyway to configure ovftoolwhen run against vcenter to generate required="false" in the  ProductSection elements?

    <ProductSection ovf:class="vami" ovf:instance="*******" ovf:required="false">
   
Or some otherway to get ovftoolto export a VM from vcenter as an OVA that will import into ESXi?

 

ovftool 2.1, ESXi 4.1, vCenter 4.1

Converting a vmx file to ovf file (error while doing so)

$
0
0

Hello

 

I am running a Ubuntu 10.04 host system. Using the ovftool i tried to convert a ".vmx" file to ".ovf" file.

 

Here is the command that i used for the purpose.

 

$ sudo -tt=ovf ovftool "/mnt/test/cent.vmx"  "/mnt/test/cent1.ovf"

I got the following error after running this command.

 

 

ovf_error.jpg

I dont what the problem is.

Please help.

 

Thank you,

Not Able to Export to OVF

$
0
0

Not sure if I'm not getting the syntax correct, but I am attempting to export a vm in OVF format directly from a ESXi 4.1 host.

 

I have tried several different commands, but all have failed.

 

Any help with the Syntax to export the OVF directly from a Host would be greatly apprecaited.

 

ovftool --compress=9 "vi://host1/ha-datacenter/3PAR-LUN6/server1" "Z:\server1.ovf"

 

ovftool --compress=9  "vi://host1/DC1/3PAR-LUN6/server1/server1.vmx" "Z:\server1.ovf"

 

ovftool --compress=9  "https://host1/DC1/server1/server1.vmx" "Z:\server1.ovf"

OVA file generated using OVFTool not played by Player5.0

$
0
0

I have VMware Player 5.0.0. It internally has ovftool 3.0.1

 

I used VMware Studio2.0 to build an appliance in  OVA format  - It opened successfully by Player 5.0

Converted OVA -> OVF again from OVF->OVA using ovftool 3.0.1. (This is just for testing. Later I need to change OVF according to my need).

 

Now this re-generated OVA file is not supported by Player5.0. When I tried to open OVA file, Player failed with error 'Failed to open virtual machine: Failed to open OVF descriptor.'

 

Is this an issue with OVFTool or Player ? Please suggest.

 

BTW, I have used the below commands for convertion

 

OVA -> OVF      ovftool.exe -st=OVA -tt=OVF "d:\NEW-OVA\xxxxxxx.ova" "d:\NEW-OVF\xxxxxxx.OVF"
OVF -> OVA      ovftool.exe -st=OVF -tt=OVA "d:\NEW-OVF\xxxxxxx.ovf" "d:\NEW-OVA\xxxxxxx.OVA"
Without -st, -tt options, ovftool is assuming the VMX format.

 

Thanks in advance

 

--hemanth

ovftool fails with curl error: couldn't connect to server

$
0
0

HI,

 

I'm trying to create an OVF using ovftool 3.0.1. When I issue the ovftool command from the command line I get:

Error: cURL error: Couldn't connect to server
Completed with errors

 

I used the following command:

 

/usr/bin/ovftool vi://username:password@XX.XX.XX.XX/datacenter/vm/folder/vmname /destination

 

I can issue the command as above without the vmname to see if I can access Vsphere and to make sure I have a valid source locator.  The command is successful and returns a list of VMs I can use. When I add the VM name to the source locator path, I get the above error. The VM is pysically about 14GB in size (that is the space alloacted).

 

I can use the same command to another Vpshere server and I'm successful in creating the OVF. Which leads me to think that it might be a configuration issue with this Vsphere server?

 

What sorts of issues can lead to the above error?

 

Thanks,

 

Fernando


Deploy OVA "Transfer Failed"

$
0
0

I have an OVA that have built and deployed via VIC many times successfully.  I am now trying to automate the deployment via the OVFTOOL.  However, I keep seeing this "transfer failed" message.  Is there some way to enable a more verbose output?

 

Here is my current command/output:

 

ovftool --acceptAllEulas --datastore=dsRTPPOC1 --network="VM Network" z:\Jazzsm\IBM_Jazz_for_Service_Management___v1_1___Sprint_23.ova vi://admin:password@rtpvcpoc1.tivlab.raleigh.ibm.com/ZoneM/host/ZoneM/rtpesxpoc1.tivlab.raleigh.ibm.com/
Opening OVA source: z:\Jazzsm\IBM_Jazz_for_Service_Management___v1_1___Sprint_23.ova
Opening VI target: vi://admin@rtpvcpoc1.tivlab.raleigh.ibm.com:443/ZoneM/host/ZoneM/rtpesxpoc1.tivlab.raleigh.ibm.com/
Warning:
- The specified operating system identifier 'RedHat Enterprise Linux Server 6.2' (id: 80) is not supported on the selected host. It will be mapped to the following OS identifier: 'Other Linux (64-bit)'.
Deploying to VI: vi://labadmin@rtpvcpoc1.tivlab.raleigh.ibm.com:443/ZoneM/host/ZoneM/rtpesxpoc1.tivlab.raleigh.ibm.com/
Transfer Failed
Error: System error: (Unknown exception)
Completed with errors

ovftool 3.0.1 on Mac "Failed to open file" error

$
0
0

Hi,

 

I am unable to convert the VM to OVF format.

 

MyMac $ ovftool Windows\ 7.vmx
Error: Locale initialization failed.
Completed with errors

 

I followed the steps in other thread to fix locale issue, then I got the following error

 

MyMac $ ovftool Windows\ 7.vmx
Error: Failed to open file: Windows 7.vmx
MyMac $ ovftool "Windows 7.vmx"
Error: Failed to open file: Windows 7.vmx

MyMac $ ls
Windows 7-s001.vmdk    Windows 7-s005.vmdk    Windows 7-s009.vmdk    Windows 7-s013.vmdk    Windows 7-s017.vmdk    Windows 7-s021.vmdk    Windows 7.vmsd
Windows 7-s002.vmdk    Windows 7-s006.vmdk    Windows 7-s010.vmdk    Windows 7-s014.vmdk    Windows 7-s018.vmdk    Windows 7.nvram        Windows 7.vmx
Windows 7-s003.vmdk    Windows 7-s007.vmdk    Windows 7-s011.vmdk    Windows 7-s015.vmdk    Windows 7-s019.vmdk    Windows 7.plist        Windows 7.vmxf
Windows 7-s004.vmdk    Windows 7-s008.vmdk    Windows 7-s012.vmdk    Windows 7-s016.vmdk    Windows 7-s020.vmdk    Windows 7.vmdk        autoinst.flp

 

Regards,

Sawan Gupta

How to use ovftool command line utility Video Tutorial

Error: Invalid access to memory location - Fix an OVA?

$
0
0

I have a VM that I exported as an OVA as a "Just in Case" backup a while ago.  Today I had to use it and I cannot import it.

There was an ISO mounted when I did the export and it exported the ISO as well.  The error I get is when it tries to access the ISO, it fails.

 

I downloaded OVFtool in the hopes I could strip the ISO from the OVA, but I am getting an error trying to use the --noImageFiles option.  it tells me:

 

E:\ESX\OVA's>ovftool --noImageFiles Win7-Tax64.ova test.ova
Opening OVA source: Win7-Tax64.ova
Opening OVA target: test.ova
Writing OVA package: test.ova
Disk Transfer Failed
Error: Invalid access to memory location.
Completed with errors

 

 

Is it possible to remove this ISO?

After searching through the forum I uninstalled OVFtool from my E: drive and put it on C: with the same result.  Here is the logToConsole:

 

 

E:\ESX\OVA's>ovftool --X:logToConsole Win7-Tax64.ova test.ova

2012-03-09T17:08:08.405-05:00 [08672 verbose 'Default'] Subscribing to signal: 2

(SIGINT)

2012-03-09T17:08:08.405-05:00 [08672 verbose 'Default'] Subscribing to signal: 4

(SIGILL)

2012-03-09T17:08:08.405-05:00 [08672 verbose 'Default'] Subscribing to signal: 2

2 (SIGABRT)

2012-03-09T17:08:08.405-05:00 [08672 verbose 'Default'] Subscribing to signal: 8

(SIGFPE)

2012-03-09T17:08:08.405-05:00 [08672 verbose 'Default'] Subscribing to signal: 1

5 (SIGTERM)

2012-03-09T17:08:08.406-05:00 [08672 verbose 'Default'] [ovfTool.cpp] Using home

directory C:\Users\ItsTooHot\AppData\Roaming\VMware\ovftool.cfg

2012-03-09T17:08:08.406-05:00 [08672 verbose 'Default'] [ovfTool.cpp] OvfTool En

vironment:

--> /X:httpTimeout = "600"

--> /X:imageReadSize = "262144"

--> /X:logToConsole = "true"

--> /X:maxNumberOfTermSignals = "5"

--> /X:maxRedirects = "256"

--> /X:maximalDeltaConfSize = "8"

--> /X:maximalDeltaTreeSize = "6"

--> /X:progressSmoothing = "60"

--> /X:useMacNaming = "false"

--> /X:vCloudKeepTemplate = "true"

--> /X:vCloudTimeout = "3600"

--> /X:vimSessionTimeout = "600"

--> /authdPortSource = "902"

--> /authdPortTarget = "902"

--> /fencedMode = "bridged"

--> /prgPath = "C:\Program Files\VMware\VMware OVF Tool"

--> /source = "Win7-Tax64.ova"

--> /target = "test.ova"

-->

2012-03-09T17:08:08.412-05:00 [08672 verbose 'Default'] [ovfTool.cpp] Done initi

alizing libs

2012-03-09T17:08:08.412-05:00 [08672 verbose 'Default'] [ovfTool.cpp] Determinin

g source

2012-03-09T17:08:08.412-05:00 [08672 verbose 'Default'] [ovfTool.cpp] Determinin

g target

Opening OVA source: Win7-Tax64.ova

2012-03-09T17:08:08.479-05:00 [08672 verbose 'Default'] OVF Descriptor: <?xml ve

rsion="1.0" encoding="UTF-8"?>

--> <!--Generated by VMware VirtualCenter Server, User: ItsTooHot, UTC time: 201

2-03-02T23:49:58.21025Z-->

--> <Envelope vmw:buildId="build-345043" xmlns="http://schemas.dmtf.org/ovf/enve

lope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http:

//schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wsci

m/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware

.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/C

IM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc

e">

-->   <References>

-->     <File ovf:href="Win7-Tax64-disk1.vmdk" ovf:id="file1" ovf:size="80291440

64" />

-->     <File ovf:href="Win7-Tax64-file1.iso" ovf:id="file2" ovf:size="331949670

4" />

-->   </References>

-->   <DiskSection>

-->     <Info>Virtual disk information</Info>

-->     <Disk ovf:capacity="70" ovf:capacityAllocationUnits="byte * 2^30" ovf:di

skId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/

specifications/vmdk.html#streamOptimized" ovf:populatedSize="18292015104" />

-->   </DiskSection>

-->   <NetworkSection>

-->     <Info>The list of logical networks</Info>

-->     <Network ovf:name="VM Network">

-->       <Description>The VM Network network</Description>

-->     </Network>

-->   </NetworkSection>

-->   <VirtualSystem ovf:id="Win7-Tax64">

-->     <Info>A virtual machine</Info>

-->     <Name>Win7-Tax64</Name>

-->     <OperatingSystemSection ovf:id="1" vmw:osType="windows7_64Guest">

-->       <Info>The kind of installed guest operating system</Info>

-->       <Description>Microsoft Windows 7 (64-bit)</Description>

-->     </OperatingSystemSection>

-->     <VirtualHardwareSection>

-->       <Info>Virtual hardware requirements</Info>

-->       <System>

-->         <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>

-->         <vssd:InstanceID>0</vssd:InstanceID>

-->         <vssd:VirtualSystemIdentifier>Win7-Tax64</vssd:VirtualSystemIdentifi

er>

-->         <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>

-->       </System>

-->       <Item>

-->         <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>

-->         <rasd:Description>Number of Virtual CPUs</rasd:Description>

-->         <rasd:ElementName>2 virtual CPU(s)</rasd:ElementName>

-->         <rasd:InstanceID>1</rasd:InstanceID>

-->         <rasd:ResourceType>3</rasd:ResourceType>

-->         <rasd:VirtualQuantity>2</rasd:VirtualQuantity>

-->       </Item>

-->       <Item>

-->         <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>

-->         <rasd:Description>Memory Size</rasd:Description>

-->         <rasd:ElementName>2048MB of memory</rasd:ElementName>

-->         <rasd:InstanceID>2</rasd:InstanceID>

-->         <rasd:ResourceType>4</rasd:ResourceType>

-->         <rasd:VirtualQuantity>2048</rasd:VirtualQuantity>

-->       </Item>

-->       <Item>

-->         <rasd:Address>0</rasd:Address>

-->         <rasd:Description>SCSI Controller</rasd:Description>

-->         <rasd:ElementName>SCSI controller 0</rasd:ElementName>

-->         <rasd:InstanceID>3</rasd:InstanceID>

-->         <rasd:ResourceSubType>lsilogicsas</rasd:ResourceSubType>

-->         <rasd:ResourceType>6</rasd:ResourceType>

-->       </Item>

-->       <Item>

-->         <rasd:Address>1</rasd:Address>

-->         <rasd:Description>IDE Controller</rasd:Description>

-->         <rasd:ElementName>IDE 1</rasd:ElementName>

-->         <rasd:InstanceID>4</rasd:InstanceID>

-->         <rasd:ResourceType>5</rasd:ResourceType>

-->       </Item>

-->       <Item>

-->         <rasd:Address>0</rasd:Address>

-->         <rasd:Description>IDE Controller</rasd:Description>

-->         <rasd:ElementName>IDE 0</rasd:ElementName>

-->         <rasd:InstanceID>5</rasd:InstanceID>

-->         <rasd:ResourceType>5</rasd:ResourceType>

-->       </Item>

-->       <Item>

-->         <rasd:AddressOnParent>0</rasd:AddressOnParent>

-->         <rasd:ElementName>Hard disk 1</rasd:ElementName>

-->         <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>

-->         <rasd:InstanceID>6</rasd:InstanceID>

-->         <rasd:Parent>3</rasd:Parent>

-->         <rasd:ResourceType>17</rasd:ResourceType>

-->       </Item>

-->       <Item>

-->         <rasd:AddressOnParent>0</rasd:AddressOnParent>

-->         <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>

-->         <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>

-->         <rasd:HostResource>ovf:/file/file2</rasd:HostResource>

-->         <rasd:InstanceID>7</rasd:InstanceID>

-->         <rasd:Parent>4</rasd:Parent>

-->         <rasd:ResourceType>15</rasd:ResourceType>

-->       </Item>

-->       <Item>

-->         <rasd:AddressOnParent>7</rasd:AddressOnParent>

-->         <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>

-->         <rasd:Connection>VM Network</rasd:Connection>

-->         <rasd:Description>E1000 ethernet adapter on "VM Network"</rasd:Descr

iption>

-->         <rasd:ElementName>Network adapter 1</rasd:ElementName>

-->         <rasd:InstanceID>8</rasd:InstanceID>

-->         <rasd:ResourceSubType>E1000</rasd:ResourceSubType>

-->         <rasd:ResourceType>10</rasd:ResourceType>

-->       </Item>

-->     </VirtualHardwareSection>

-->   </VirtualSystem>

--> </Envelope>

Opening OVA target: test.ova

2012-03-09T17:08:08.490-05:00 [08672 verbose 'Default'] Closing writer. Locator:

test.ovf (SHA1: 352f265785c162cd8bf180f257a7876dbacf34c4, Written bytes: 4962)

2012-03-09T17:08:08.491-05:00 [08672 verbose 'Default'] Closing writer. Locator:

test.mf (SHA1: 05aeacecbe7778a0bfa4bc10ab9f6e6fc713aaa9, Written bytes: 184)

Writing OVA package: test.ova

2012-03-09T17:08:08.492-05:00 [08672 verbose 'Default'] Using file size as progr

ess measure

Disk Transfer Failed

Error: Invalid access to memory location.

2012-03-09T17:08:08.495-05:00 [08672 verbose 'Default'] Backtrace:

--> backtrace[00] rip 000000000047693a (no symbol)

--> backtrace[01] rip 000000000034d008 (no symbol)

--> backtrace[02] rip 000000000034dc1e (no symbol)

--> backtrace[03] rip 00000000003011cb (no symbol)

--> backtrace[04] rip 0000000000475df3 (no symbol)

--> backtrace[05] rip 000000000048a2fc (no symbol)

--> backtrace[06] rip 000000014001d7ab (no symbol)

--> backtrace[07] rip 000000014009b945 (no symbol)

--> backtrace[08] rip 000000014009ce71 (no symbol)

--> backtrace[09] rip 0000000140022137 (no symbol)

--> backtrace[10] rip 0000000140049b91 (no symbol)

--> backtrace[11] rip 000000014007e8b2 (no symbol)

--> backtrace[12] rip 000000014007ed6d (no symbol)

--> backtrace[13] rip 000000014001af6f (no symbol)

--> backtrace[14] rip 000000014001b76a (no symbol)

--> backtrace[15] rip 000000014025f62e (no symbol)

--> backtrace[16] rip 0000000076d9652d (no symbol)

--> backtrace[17] rip 00000000770dc521 (no symbol)

-->

2012-03-09T17:08:08.496-05:00 [08672 verbose 'Default'] Deleting file: test.ova

Completed with errors

 

E:\ESX\OVA's>

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.

iso to ovf/ova? Can it be done?

$
0
0

 

Hi I'm wondering if there is an automation tool/command(s) that will allow us (team of developers) to import/use a .iso file that contains 64bit OS and pass it through VMware ESXi or Server and then export it to OVF/OVA?

 

 

Is it possible? Can it be done?

 

 

Your answers will be very apreciated, many thanks!

 

 

 

 

 

OVFT: unable to export with spaces (in path) on server.

$
0
0

Hi All,

 

I'm unable to get ovftool to export a vm from my server that has spaces in the path to the vmx file.

Any help would be appreciated.  Thanks!

 

On the server:

~ # vim-cmd vmsvc/getallvms

Vmid Name             File Guest                              OS Version     Annotation

112  ar-vm            [sata3] har_vm/har_vm.vmx                rhel5_64Guest  vmx-07

16   eluefin          [sata1] eluefin/eluefin.vmx              rhel4_64Guest  vmx-07

32   igloo (RH5)      [sata0] igloo (RH5)/igloo (RH5).vmx      rhel5_64Guest  vmx-07           



When I try to export "igloo (RH5)":


C:\OVF_Tool>ovftool.exe  --compress=9 --X:logToConsole "vi://root:doublesecret@hoo.lgc.com/ha-datacenter?ds=[sata0] igloo (RH5)/igloo (RH5).vmx" F:\igloo

2013-05-23T12:55:47.089-05:00 [02908 verbose 'Default'] [SSL_DB] Using C:\Users\owjune\AppData\Roaming\VMware\ovftool_SSLDB as SSL DB

2013-05-23T12:55:47.105-05:00 [02908 verbose 'Default'] Subscribing to signal: 2 (SIGINT)

2013-05-23T12:55:47.105-05:00 [02908 verbose 'Default'] Subscribing to signal: 4 (SIGILL)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Subscribing to signal: 22 (SIGABRT)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Subscribing to signal: 8 (SIGFPE)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Subscribing to signal: 15 (SIGTERM)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] OvfTool Version: VMware ovftool 3.0.1 (build-801290)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Using home directory: C:\Users\owjune\AppData\Roaming\VMware\ovftool.cfg

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] OvfTool Environment:

--> /X:httpTimeout = "0"

--> /X:imageReadSize = "262144"

--> /X:logToConsole = "true"

--> /X:maxNumberOfTermSignals = "5"

--> /X:maxRedirects = "256"

--> /X:maximalDeltaConfSize = "8"

--> /X:maximalDeltaTreeSize = "6"

--> /X:progressSmoothing = "60"

--> /X:useMacNaming = "false"

--> /X:vCloudEnableGuestCustomization = "false"

--> /X:vCloudKeepTemplate = "true"

--> /X:vCloudTimeout = "3600"

--> /X:vimSessionTimeout = "600"

--> /authdPortSource = "902"

--> /authdPortTarget = "902"

--> /compress = "9"

--> /fencedMode = "bridged"

--> /prgPath = "C:\OVF_Tool"

--> /source = "vi://root:doublesecret@hoo.lgc.com/ha-datacenter?ds=[sata0] igloo (RH5)/igloo (RH5).vmx"

--> /target = "F:\igloo"

--> /vCloudTemplate = "false"

-->

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Done initializing libs

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Determining source

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Determining target

2013-05-23T12:55:47.152-05:00 [02908 verbose 'HttpConnectionPool-000000'] HttpConnectionPoolImpl created. maxPoolConnections = 20; idleTimeout = 900000000; maxOpenConnections = 20; maxConnectionAge = 0

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Getting http page: https://hoo.lgc.com/sdk/vimServiceVersions.xml

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Proxy host

2013-05-23T12:55:47.167-05:00 [00756 info 'Default'] Thread attached

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [02908 verbose 'Default'] [ViConnection] Using vim API version: 4.1

2013-05-23T12:55:47.183-05:00 [02168 info 'Default'] Thread attached

2013-05-23T12:55:47.183-05:00 [03780 info 'Default'] Thread attached

2013-05-23T12:55:47.198-05:00 [03920 info 'Default'] Thread attached

2013-05-23T12:55:47.198-05:00 [03192 info 'Default'] Thread attached

2013-05-23T12:55:47.198-05:00 [02752 info 'Default'] Thread attached

2013-05-23T12:55:47.245-05:00 [02908 verbose 'HttpConnectionPool-000001'] HttpConnectionPoolImpl created. maxPoolConnections = 1; idleTimeout = 900000000; maxOpenConnections = 1; maxConnectionAge = 0

2013-05-23T12:55:47.261-05:00 [02908 verbose 'Default'] Keeping VI session alive

Opening VI source: vi://root@hoo.lgc.com:443/ha-datacenter

2013-05-23T12:55:47.432-05:00 [02908 verbose 'Default'] Backtrace:

--> backtrace[00] rip 000007fef141722a

--> backtrace[01] rip 000007fef12df578

--> backtrace[02] rip 000007fef12e078e

--> backtrace[03] rip 000007fef129266b

--> backtrace[04] rip 000007feeeb0d3d1

--> backtrace[05] rip 000007fef0f703b8

--> backtrace[06] rip 000007fef0f707e9

--> backtrace[07] rip 000007fef0f8efbe

--> backtrace[08] rip 000007feee8b024e

--> backtrace[09] rip 000000013f83824d

--> backtrace[10] rip 000000013f7aca0d

--> backtrace[11] rip 000000013f7ad04a

--> backtrace[12] rip 000000013fa3a426

--> backtrace[13] rip 0000000076b5b1bd

--> backtrace[14] rip 0000000076d66861

-->

Error: vim.fault.FileNotFound

Completed with errors


Error: Failed to open disk: Test.vmdk

$
0
0

Hello all,

 

I am having a problem with the ovftool.

 

Here's what i did.

 

1)I created a VM running CentOS.

 

2)These are the 3 files that i got.

 

Test.vmx

 

Test.vmdk (Descriptor File)

 

# Disk DescriptorFile

version=1

CID=5046e880

parentCID=ffffffff

createType="vmfsPreallocated"


# Extent description

RW 83886080 VMFS "Test-flat.vmdk" 0


# The Disk Data Base

#DDB


ddb.virtualHWVersion = "4"

ddb.geometry.cylinders = "83220"

ddb.geometry.heads = "16"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

 

Test-flat.vmdk

 

3) This is the command that i ran

 

ovftool "Test.vmx" "Test_New.ova"

 

4)This is the error that i got.
2012-09-05T12:24:57.817+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Done initializing libs
2012-09-05T12:24:57.817+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Determining source
2012-09-05T12:24:57.818+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Determining target
Opening VMX source: Test.vmx
2012-09-05T12:24:57.821+05:30 [7F22134FE740 verbose 'Default'] Failed to open disk: ./Test-1-0.vmdk
2012-09-05T12:24:57.821+05:30 [7F22134FE740 verbose 'Default'] Exception: Failed to open disk: ./Test-1-0.vmdk. Reason: The file specified is not a virtual disk
Error: Failed to open disk: Test-1-0.vmdk

Please help!

 

Thank you

OVA template deployment - sysprepping and customizing the deployment

$
0
0

Hello,

I am seeking guidance on automation\customization of an OVA deployment.

 

Looking to use an OVA due to it's compression ability which is favorable when needing to transfer a VMWare virtual machine from Host to Host for deployment at different location across a WAN.  In the past, we have created a VM template and provided customization file for deployment but the size of the template was too large for transfer across the WAN....so we would have to ship on seperate media.

 

I am looking to achieve the same end result of deployment of a vm template but through the deployment of the OVA template.

Here is where I am at so far:
1. Create the VM (in this case Windows XP SP3)
2. Export the VM to OVA Template.
3. Deploy OVA Template

 

All of the above works without any problem.  However, during deployment of the OVA, I would like to prompt the end user to input computer name, Fixed IP information or DHCP, domain to join, etc.  Additionally, I would like sysprep to run.

 

I have read the guide and numerous articles on the OVF descriptors, but not quite sure where or how to input these prompts so they appear during the OVA deployment.  Additionally, if I sysprep the vm before exporting to OVA, how can I get sysprep and the input from the end user deployment to work hand in hand.

 

Thanks in advance for any guidance or tutorial reference you can supply to help me understand OVA deployment of a single vm and how to configure custom settings during deployment with sysprep running.

Deploy ovf from within the datastore help

$
0
0

Hi,

 

I currently am trying to deploy an ovf onto an esxi machine. The ovf is currently located on the destination esxi machine.

 

Here is the command I was trying to use:

 

.\ovftool "https://<ip address>/folder/group1/Win7-5/Win7-5.ovf?dcPath=ha-datacenter&dsName=datastore1" vi://user:password@<ip address>

 

 

group1/Win7-5/Win7-5.ovf is the is the location of the ovf within the datastore.

 

When I try to execute this it has the error:

 

Error: Could not open URL https://<ip address>/folder/group1/Win7-5/Win7-5.ovf?dcPath=ha-datacenter&dsName=datastore1 (response code 404)

 

If i open up the vsphere UI and go through the deploy ovf wizard using

https://<ip address>/folder/group1/Win7-5/Win7-5.ovf?dcPath=ha-datacenter&dsName=datastore1  (same as above)

as the location of the ovf file it works fine.

 

If anyone can help me i would greatly appriciate it. I searched all over and couldnt find an answer anywhere else and couldnt figure it out when looking at the docs. Sorry if this is a repeat post.

 

Ray

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

Unsupported element 'Property'

$
0
0

 

I am trying to import OVF with custom propery set and getting folling error with vmware ovf tool. Any idea on how to resolve this issue?

 

 

Error:

- Line 107: Unsupported element 'Property'

 

 

 

 

 

 

 

 

Viewing all 34499 articles
Browse latest View live


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