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

How do you add a serial port (with named pipe) to an ovf file?

$
0
0

Hello,

 

I'm currently working on devtest automation, and have a vm that I

use as my automation infrastructure. I need to test our product as an

appliance, and need to connect to the serial port of the appliance.

Using the gui I was able to create serial ports on both machines using

the same named pipe, and was able to get the serial port working

correctly. The crux of the issue is that our ovf that gets uploaded to

the esx doesn't mention a serial port, so I either have to add it to

the ovf, or add it to the vm. I cannot find any documentation for doing

either, so am trying to find out if it's even possible.

 

 

 

Thanks,

 

 

Ben


OVFTOOL - Configuration file syntax for parameters without explicit values

$
0
0

(Easy) Question… Regarding the use of global configuration file (ovftool.cfg) and local configuration file with OVFTOOL.

 

Syntax is given only for comments and parameters which are name-value pairs, e.g. datastore=DATASTORE-NAME. 

 

For a single parameter without a corresponding value, e.g. –acceptAllEulas, should these parameters be expressly set to TRUE?

Or can they simply be present (no equals sign)?  Both styles seem to work properly for --acceptAllEulas option.

 

Example:  which of the following CFG files shows the expected syntax?   Or are both acceptable?

 

acceptAllEulas=true

disableVerification=true

quiet=true

datastore=S123D0001

ipAllocationPolicy=fixed

 

or

 

acceptAllEulas

disableVerification

quiet

datastore=S123D0001

ipAllocationPolicy=fixed

 

(Yeah, I know - this question probably is a gimme.    Just curious if there's anything to trip over here. ) 

 

=cjs

 

Message was edited by: cjstaples-emc -- sorry, original formatting garbage

run ovftool error , anyone helps?

$
0
0

i am using ovftool (verisn 2.01), and i have got some error  as below, anyone ever met these? SOS

 

(1)

command:"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --X:logToConsole "e:\shared\Windowns2003EServerSp2\Win2003.vmx" "e:\shared\1\Win2003_0.vof"
error information:

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 2 (SIGINT)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 4 (SIGILL)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 22 (SIGABRT)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 8 (SIGFPE)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 15 (SIGTERM)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] [ovfTool.cpp] Using home directory C:\Documents and Settings\tom\Application Data\VMware\ovftool.cfg

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] [ovfTool.cpp] OvfTool Environment:

/X:fencedMode = "bridged"

/X:imageReadSize = "262144"

/X:logToConsole = "true"

/X:maxNumberOfTermSignals = "5"

/X:maxRedirects = "256"

/X:maximalDeltaConfSize = "8"

/X:maximalDeltaTreeSize = "6"

/X:progressSmoothing = "60"

/X:vimSessionTimeout = "600"

/authdPortSource = "902"

/authdPortTarget = "902"

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

/source = "e:\shared\Windowns2003EServerSp2\Win2003.vmx"

/target = "e:\shared\1\Win2003_0.vof"

 

 

[2011-03-08 14:51:19.656 03480 verbose 'ovftool'] [ovfTool.cpp] Done initializing libs

 

[2011-03-08 14:51:19.656 03480 verbose 'ovftool'] [ovfTool.cpp] Determining source

 

[2011-03-08 14:51:19.671 03480 verbose 'ovftool'] [ovfTool.cpp] Determining target

 

Opening VMX source: e:\shared\Windowns2003EServerSp2\Win2003.vmx

[2011-03-08 14:51:19.750 03480 error 'ovftool'] CoreDump: ExternalCoreMaster was not setup

 

[2011-03-08 14:51:19.750 03480 error 'ovftool'] CoreDump: ExternalCoreMaster was not setup

 

[2011-03-08 14:51:19.765 03480 info 'ovftool'] CoreDump: Writing minidump

 

[2011-03-08 14:51:19.843 03480 panic 'ovftool']

 

Panic: Win32 exception: Access Violation (0xc0000005)

   Read (0) at address 00000000

   rip: 7855b9f0 rsp: 0012fb14 rbp: 0012fb20

   rax: 00000000 rbx: 0012fc78 rcx: 00000000

   rdx: 00000004 rdi: 029a3d38 rsi: 0012fc78

 

Backtrace:

backtrace[00] rip 01b9936d (no symbol)

backtrace[01] rip 01b06fa4 (no symbol)

backtrace[02] rip 01b07517 (no symbol)

backtrace[03] rip 01bb2d49 (no symbol)

backtrace[04] rip 01bb2e6d (no symbol)

backtrace[05] rip 01ba72f4 (no symbol)

backtrace[06] rip 7857dca0 (no symbol)

backtrace[07] rip 7857d4eb (no symbol)

backtrace[08] rip 7857d8b6 (no symbol)

backtrace[09] rip 7857d9d3 (no symbol)

backtrace[10] rip 7857db8a (no symbol)

backtrace[11] rip 7c9232a8 (no symbol)

backtrace[12] rip 7c92327a (no symbol)

backtrace[13] rip 7c92e48a (no symbol)

backtrace[14] rip 78487155 (no symbol)

backtrace[15] rip 0044661f (no symbol)

backtrace[16] rip 0044aedf (no symbol)

backtrace[17] rip 0040cfba (no symbol)

backtrace[18] rip 0058799b (no symbol)

backtrace[19] rip 7c817077 (no symbol)

 

 

Section for VMware Workstation, pid=3292, version=e.x.p, build=build-260188, option=Release

 

[2011-03-08 14:51:19.843 03480 panic 'ovftool'] Win32 exception: Access Violation (0xc0000005)

 

   Read (0) at address 00000000

 

   rip: 7855b9f0 rsp: 0012fb14 rbp: 0012fb20

 

   rax: 00000000 rbx: 0012fc78 rcx: 00000000

 

   rdx: 00000004 rdi: 029a3d38 rsi: 0012fc78

 

(2)

command:"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --X:logToConsole "e:\shared\Windows2003EESp2\Clone of Windows Server 2003 Enterprise Edition.vmx" "e:\shared\1\Clone of Windows Server 2003 Enterprise Edition_0.vof"
error information:

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 2 (SIGINT)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 4 (SIGILL)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 22 (SIGABRT)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 8 (SIGFPE)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 15 (SIGTERM)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] [ovfTool.cpp] Using home directory C:\Documents and Settings\tom\Application Data\VMware\ovftool.cfg

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] [ovfTool.cpp] OvfTool Environment:
/X:fencedMode = "bridged"
/X:imageReadSize = "262144"
/X:logToConsole = "true"
/X:maxNumberOfTermSignals = "5"
/X:maxRedirects = "256"
/X:maximalDeltaConfSize = "8"
/X:maximalDeltaTreeSize = "6"
/X:progressSmoothing = "60"
/X:vimSessionTimeout = "600"
/authdPortSource = "902"
/authdPortTarget = "902"
/prgPath = "C:\Program Files\VMware\VMware OVF Tool"
/source = "e:\shared\Windows2003EESp2\Clone of Windows Server 2003 Enterprise Edition.vmx"
/target = "e:\shared\1\Clone of Windows Server 2003 Enterprise Edition_0.vof"

 


[2011-03-08 14:51:21.296 01468 verbose 'ovftool'] [ovfTool.cpp] Done initializing libs

 

[2011-03-08 14:51:21.296 01468 verbose 'ovftool'] [ovfTool.cpp] Determining source

 

[2011-03-08 14:51:21.296 01468 verbose 'ovftool'] [ovfTool.cpp] Determining target

 

Opening VMX source: e:\shared\Windows2003EESp2\Clone of Windows Server 2003 Enterprise Edition.vmx
[2011-03-08 14:51:21.359 01468 verbose 'ovftool'] OVF Descriptor: <?xml version="1.0" encoding="UTF-8"?>
<!--Generated by VMware ovftool 2.0.1 (build-260188), UTC time: 2011-03-08T06:51:21.359375Z-->
<Envelope vmw:buildId="build-260188" xmlns="http://schemas.dmtf.org/ovf/envelope/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/wscim/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/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <References>
    <File ovf:href="e%3a%5cshared%5cWindows2003EESp2%5cWindows%20Server%202003%20Enterprise%20Edition-cl1-000005.vmdk" ovf:id="file1"/>
  </References>
  <DiskSection>
    <Info>Virtual disk information</Info>
    <Disk ovf:capacity="8" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized"/>
  </DiskSection>
  <NetworkSection>
    <Info>The list of logical networks</Info>
    <Network ovf:name="bridged">
      <Description>The bridged network</Description>
    </Network>
  </NetworkSection>
  <VirtualSystem ovf:id="vm">
    <Info>A virtual machine</Info>
    <Name>Win 2003SP2 Vulnerrability</Name>
    <OperatingSystemSection ovf:id="69" vmw:osType="winNetEnterpriseGuest">
      <Info>The kind of installed guest operating system</Info>
    </OperatingSystemSection>
    <VirtualHardwareSection>
      <Info>Virtual hardware requirements</Info>
      <System>
        <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
        <vssd:InstanceID>0</vssd:InstanceID>
        <vssd:VirtualSystemIdentifier>Win 2003SP2 Vulnerrability</vssd:VirtualSystemIdentifier>
        <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>1 virtual CPU(s)</rasd:ElementName>
        <rasd:InstanceID>1</rasd:InstanceID>
        <rasd:ResourceType>3</rasd:ResourceType>
        <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
      </Item>
      <Item>
        <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
        <rasd:Description>Memory Size</rasd:Description>
        <rasd:ElementName>384MB of memory</rasd:ElementName>
        <rasd:InstanceID>2</rasd:InstanceID>
        <rasd:ResourceType>4</rasd:ResourceType>
        <rasd:VirtualQuantity>384</rasd:VirtualQuantity>
      </Item>
      <Item ovf:required="false">
        <rasd:Address>0</rasd:Address>
        <rasd:Description>USB Controller</rasd:Description>
        <rasd:ElementName>usb</rasd:ElementName>
        <rasd:InstanceID>3</rasd:InstanceID>
        <rasd:ResourceType>23</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:Address>0</rasd:Address>
        <rasd:Description>SCSI Controller</rasd:Description>
        <rasd:ElementName>scsiController0</rasd:ElementName>
        <rasd:InstanceID>4</rasd:InstanceID>
        <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
        <rasd:ResourceType>6</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:Address>1</rasd:Address>
        <rasd:Description>IDE Controller</rasd:Description>
        <rasd:ElementName>ideController1</rasd:ElementName>
        <rasd:InstanceID>5</rasd:InstanceID>
        <rasd:ResourceType>5</rasd:ResourceType>
      </Item>
      <Item ovf:required="false">
        <rasd:AddressOnParent>0</rasd:AddressOnParent>
        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
        <rasd:Description>Floppy Drive</rasd:Description>
        <rasd:ElementName>floppy0</rasd:ElementName>
        <rasd:InstanceID>6</rasd:InstanceID>
        <rasd:ResourceType>14</rasd:ResourceType>
      </Item>
      <Item ovf:required="false">
        <rasd:AddressOnParent>0</rasd:AddressOnParent>
        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
        <rasd:ElementName>cdrom1</rasd:ElementName>
        <rasd:InstanceID>7</rasd:InstanceID>
        <rasd:Parent>5</rasd:Parent>
        <rasd:ResourceType>15</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:AddressOnParent>0</rasd:AddressOnParent>
        <rasd:ElementName>disk1</rasd:ElementName>
        <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
        <rasd:InstanceID>8</rasd:InstanceID>
        <rasd:Parent>4</rasd:Parent>
        <rasd:ResourceType>17</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:AddressOnParent>2</rasd:AddressOnParent>
        <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
        <rasd:Connection>bridged</rasd:Connection>
        <rasd:Description>E1000 ethernet adapter on &quot;bridged&quot;</rasd:Description>
        <rasd:ElementName>ethernet0</rasd:ElementName>
        <rasd:InstanceID>9</rasd:InstanceID>
        <rasd:ResourceSubType>E1000</rasd:ResourceSubType>
        <rasd:ResourceType>10</rasd:ResourceType>
      </Item>
    </VirtualHardwareSection>
    <AnnotationSection ovf:required="false">
      <Info>A human-readable annotation</Info>
      <Annotation>445端口漏洞服务,未做任何服务安装和修改。

 

Windows2003 企业版 sp2</Annotation>
    </AnnotationSection>
  </VirtualSystem>
</Envelope>

 

Opening OVF target: e:\shared\1\Clone of Windows Server 2003 Enterprise Edition_0.vof
Error:

 

- Line 106: Could not parse the document: 'not well-formed (invalid token)'.

Error loading Operating System

$
0
0

I recently had an issue where I exported a VM as an OVF using the vSphere client, a few weeks later I needed to import the VM back into our environment and after importing I received an "Error loading Operating System" error.  I have imported and exported countless VMs as OVF files, and this is very frustrating.  I also have VMs sent to me from Government entities and I always express how they should send them as an OVF file since it makes it very easy for me to import.  Recently I had 1 out of 3 errors after the import with the same "Error loading Operating System" message.

 

I have tried to change the HD controller on the VM, I also created a New VM with the "custom" option and I chose the exact OS and vHardware for the VM, and I tried to use the existing .vmdk files and that does not work.  I'm just wondering if there is some simple fix out there for what I thought was a simple import and export.

 

I'm using ESXi 4.1 Update 2 on HP BL hardware...oh, I also have VMware Workstation 8, and I can mount the vmdk files.

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"

OVF ERROR

$
0
0

Hi,

 

I am getting below error while depoying a OVF template. Please suggest.

 

 

Failed to Deploy:Unable to access file: server1.vmdk.
The process cannot access the file "fullpath of vmdkfile\server1.vmdk' because it is being used by another process.

 

 


OVF Bootstrap/Configuration Utility for Linux VM Guests

$
0
0

Hello all,

 

I wanted to share an open source project, FVORGE, that we use in house to rapidly, and with repeatable consistency, deploy a Linux VM guest that will configure itself based on the set of OVF properties that you apply.

 

Using VMware's OVF properties for a virtual appliance you can take a stock Linux guest and configure networking, storage, packages, users, applicatons among other things; supporting RHEL, CentOS, SLES and Oracle Linux.

 

It is hosted at GitHub and is open sourced GPLv3.

 

There is wiki documentation and more importantly an OVF Template which has the project setup for you to kick the tires.

 

Again, this project was created and used in house but has proved useful enough that we'd like to share it with the community. It is a 1.x release so any and all that find it useful and would like to help it grow are more than welcome!!

 

https://github.com/siostech/fvorge

https://github.com/siostech/fvorge/wiki

 

Thanks.

 

-James

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


OVF tool crashing?

$
0
0

 

Anyone using OVF extensively?

 

 

Environment...

 

 

ESXi 4 box, with a single very simple VM, just a VM, no disks, nothing more than a VM shell really.

ESXi 3.5 U 4 running a single VM, which has vCenter 4 running in it.  Windows 2008, 32, 1.5GB RAM for VM

Windows XP SP3 fully patched desktop to run OVF CLI tool for Windows and VIClient 4

 

 

Attempted...

 

 

1) From VI client, try to use GUI to Export OVF Template, VirtualCenter Service stops.

 

2) From Windows XP SP3 full patched desktop, where Windows OVF1.0 Tool installed, Attempt to do OVF export as attempted above, generates an unexpected exception trap.  vCenter 4 VMware Virtual Center server stops.

 

 

C:\Program Files\VMware\VMware OVF Tool&gt;ovftool "vi://administrator@192.168.15.3/Home Office/vm/Test01" ./Test01.OVF

Please enter login information for source vi://192.168.15.3/

Username: administrator

Password: *********

Opening VI source: vi://administrator@192.168.15.3/Home Office/vm/Test01

Error: The specified network name is no longer available.

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

Terminate process signal received - aborting operation

C:\Program Files\VMware\VMware OVF Tool&gt;

 

 

 

 

 

OVF Tool memory range error

$
0
0

 

I'm using the ovf tool to convert a virtual appliance to virtual machine format and getting a memory size limitation error based on the OVF source.  The source ovf file specifies 4GB of memory for guest OS:

 

 

Error:

- Virtual machine has 4,096 megabytes of memory, which is outside the range of 4 to 3,600 megabytes supported on the host.  This may be a general limitation of the host software, or specific to the guest OS selected for the virtual machine.

 

 

The work around is to edit the source ovf file and decrease the RAM size to  3 GB and conversion works fine.  But I'm curious why this limitation is occuring.  Is 3,600 MB the maximum virtual memory size supported byVMware workstation or server?

 

 

 

 

 

 

 

 

Trying to convert VirtualBox OVF

$
0
0

 

I'm trying to convert an VirtualBox OVF that we had prepared to use in a ESX environment, but am recieving errors.  First off, I just want to make sure we are able to do this and secondly if anyone is able to help me resolve the errors.

 

 

Initiall I received the following errors.  This is trying to do a conversion directly on the ovf I was given.

 

E:\Documents and Settings\user\Desktop&gt;ovftool debian-server-32bit.ovf debian-s
erver-32bit.vmx
Opening OVF source: debian-server-32bit.ovf
Warning: No manifest file
Opening VMX target: debian-server-32bit.vmx
Error:
- Line 8: Unsupported value 'http://www.vmware.com/specifications/vmdk.html#spa
rse' for attribute 'format' on element 'Disk'.
- Line 37: Unsupported element 'Description'
- Line 45: Unsupported element 'Description'
- Line 48: Unsupported element 'AllocationUnits'
- Line 54: Unsupported element 'Description'
- Line 57: Unsupported element 'ResourceSubType'
- Line 58: Unsupported element 'Address'
- Line 63: Unsupported element 'Description'
- Line 66: Unsupported element 'AutomaticAllocation'
- Line 67: Unsupported element 'AddressOnParent'
- Line 74: Unsupported element 'ResourceSubType'
- Line 75: Unsupported element 'AutomaticAllocation'
- Line 76: Unsupported element 'Connection'
- Line 81: Unsupported element 'Description'
- Line 84: Unsupported element 'Address'
- Line 89: Unsupported element 'Description'
- Line 92: Unsupported element 'ResourceSubType'
- Line 93: Unsupported element 'AutomaticAllocation'
- Line 94: Unsupported element 'AddressOnParent'
- Line 99: Unsupported element 'Description'
- Line 102: Unsupported element 'HostResource'
- Line 103: Unsupported element 'Parent'
- Line 104: Unsupported element 'AddressOnParent'
- Line 109: Unsupported element 'Description'
- Line 112: Unsupported element 'AutomaticAllocation'
- Line 113: Unsupported element 'Parent'
- Line 114: Unsupported element 'AddressOnParent'

 

After this I tried importing into VirtualBox and then exporting will checking the use Legacy OVF setting.  Which resulted in the following error:

 

E:\Documents and Settings\user\My Documents&gt;ovftool "Debian Server (32bit).ovf"
ian-server-32bit.vmx
Opening OVF source: Debian Server (32bit).ovf
Opening VMX target: ian-server-32bit.vmx
Error:
- Line 82: OVF hardware element 'ResourceType' with instance ID '7': No support
for the virtual hardware device type '35'.

 

ovftool download problem

$
0
0

 

Having problems installing  VMware-ovftool-2.0.1-260188-lin.i386.sh on a linux host.

 

 

When I try to install I get

 

VMware OVF Tool 2.0 installer script

Copyright VMware 2010

.........extracting archive........

 

Checksum validation failed for archive.

(If you use FTP, make sure to set it to binary mode)

The MD5 checksum is d14f14ab14f994131cf0d2fad2b318e3 not ff672047cbf2caf725bc1d295c7bbdc0

 

 

Am I downloading the wrong file?

 

 

Scripting ovftool

$
0
0

I need to write a script to remotely shotdown a guest VM, export it to .ova format an restart it.

Is there any sample I can start from?

Regards

marius

OVFTool crashes on Linux x64 - basic_string::_S_construct NULL not valid

$
0
0

Running into an issue with ovftool while moving VMs from Linux Workstation to ESXi 4.1 - When running the following command line with the attached vmx:

 

build@machine:/opt/vm/lab/qa/w7ultrtm-001_ruby18$ ovftool -ds=datastore1 -dm=thin -nw="VM Network" *.vmx 'vi://user:passwor@10.10.10.10'
Opening VMX source: QA7_w7ultrtm-001.vmx
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid

 

Terminate process signal received - aborting operation/usr/bin/ovftool: line 23:  7217 Aborted                 "$OVFTOOL_BIN" "$@"

 

VMX is attached. I've ensured that the vmx file is valid, and that it's been cleanly shut down in workstation.

 

Any suggestions?

Is there a way to specify static IP for a deploying OVA in the ovftool command?

$
0
0

Hi,

 

I am trying to deploy OVA using ovftool. I see the option --network and --net available for selecting the network by name, though I was not able to find a way to assign a static IP in the ovftool command itself. Something like --ip0=10.10.10.10. Is there a way we can do this? From UI when we deploy an OVA, we have provision to provide IP, Gateway, Netmask and DNS.

 

Thanks


Convert ovf template to vsx

$
0
0

Hello ,

I used the vcenter 4.1 console to Export OVF Template.  We need to be able to load this template in vmware player.  I downloaded ovftool and tried to convert the OVF template so that it could be run in Vmware player.

 

 

This is the command I am issuing to convert the template based off of the OVFTOOL PDF.  This, to my understanding should convert the OVF to a VMX and drop it in the D:\vms folder.  There are 4 disks in this VM server

 

Input

C:\Program Files\VMware\VMware OVF Tool>ovftool -tt=vmx D:\server_name\server_name.ovf D:\vms\

 

Output:

 

Opening OVF source: D:\server\server.ovf
The manifest validates
Opening VMX target: D:\vms\
Warning:
- Target does not support CPU validation.
Error:
-
Completed with errors

 

Needless to say the VMS folder is getting created but nothing else is being converted. 

 

Any help would be greatly appreciated.

 

Thanks,

 

DS

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>

Create OVF/OVA via ovftool

$
0
0

Hi,

 

I have a ESXi 5.0 server running which has a Guest VM running CentOS 5.6.

 

The ESXi server is a standalone server, not included in a datacenter, not managed by vCenter.

 

The server has a HDD of 80G which has both the ESXi host & the Guest OS running on top of it.

 

I installed ovftools on my Windows laptop & tried to create a ovf from the VM but am unsuccessful. I constantly get the following error -

c:\>ovftool vi://root:<rootpassword>@<ESXi Host IP>/datastore1/CentOS c:\testVM.ovf

Error: Cannot parse locater: vi://root:<rootpassword>@<ESXi Host IP>/datastore1/CentOS

Completed with errors

 

The local datastore name is "datastore1"

 

Can someone help me out here with forming the correct the ovftool command to create an ovf & possibly an OVA out of the running VM?

 

 

Thanks

 

Bhushan Pathak

Maximum (realistic) sizes for OVA/OVF format and export?

$
0
0

Hi- has anyone hit any problems with exporting large (e.g. > 1TB) VMs in OVA/OVF format?

 

I realise that you can split the files generated, but leaving aside any issues to do with the file-system on which the files reside, are there any inherent gotchas with the export mechanism or the file format that would mean it's not a good idea to rely on this for exporting large VMs...?

Thanks!

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

Viewing all 34499 articles
Browse latest View live


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