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

Importing ovf to workstation 8 not working

$
0
0

Each search for my question leads me here; I found a similar issue, but have been getting consistent failures.

 

I have a server VM that is in ESXi 4.1.0 502767 that I have exported to OVF Template using vSphere 5.0, then either directly in VMware Workstation 8.0.1 528992 or using ovftool 2.1.0 (build-467744) I get failures. The first failure was "target does not support CPU validation".

Following a thread I found in this list, I attempted to comment out the CpuCompatibilitySection and deleting the .mf file. This resulted in a parse error.

My next attempt was to simply delete the CpuCompatibilitySection from the .ovf file, which it appeared to do something, created a .vmx file and reported successful completion, but when trying to open the .vmx file, I get an internal error.

I also tried to do an open of the ovf file with Workstation and it appears to complete, but fails on open with again an internal error.

I've restarted Workstation and tried to open the ovf file, which appeared to complete. Including the ovftool.log and what appears to be the session log.

I'm running VMware Workstation on an HP xw6600 workstation with 8G under Windows 7 Enterprise x64.

 

The goal is to export a copy of a production VM server to workstation to test a software upgrade locally as I have in the past.

 

If there is a better way to get a copy to my workstation, please direct me to the appropriate how-to references.

 

Thanks!

 

    --alan


giving Connect error when converting Win2K8 by vConverter

$
0
0

Was giving an SSL error, now giving a connecgt error. No firewall involved. I wonder Windows does not have ssh, so, why is vConverter using ssh.

 

Any help much appreciated.

 

 

Section for VMware vCenter Converter Standalone, pid=2656, version=5.0.0, build=build-470252, option=Release
2012-03-24T22:48:06.984-04:00 [02680 info 'Default'] Initialized channel manager
2012-03-24T22:48:06.984-04:00 [02680 info 'Default'] Current working directory: C:\Program Files\VMware\VMware vCenter Converter Standalone
2012-03-24T22:48:07.031-04:00 [02680 info 'Default'] Trying converter_agent
2012-03-24T22:48:09.921-04:00 [02680 info 'Default'] Trying converter_worker
2012-03-24T22:48:15.250-04:00 [02680 info 'Default'] Trying ufa_agent
2012-03-24T22:48:15.265-04:00 [02680 info 'Ufa'] Initializing SSL context
2012-03-24T22:48:16.265-04:00 [02680 info 'Default'] Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 20000000
2012-03-24T22:48:16.265-04:00 [02680 info 'Ufa'] Plugin initialized
2012-03-24T22:48:16.265-04:00 [02680 info 'Ufa'] SOAP pipe name: \\.\pipe\vmware-converter-worker-soap
2012-03-24T22:48:16.265-04:00 [02680 info 'Ufa.HTTPService'] Using default for nonChunkingAgents: 'VMware VI Client|VMware-client|VMware-client/3.*'
2012-03-24T22:48:16.265-04:00 [02680 info 'Ufa.HTTPService'] Using default for agentsNeedingContentLength: 'VMware-client'
2012-03-24T22:48:16.265-04:00 [02680 info 'Ufa.HTTPService'] Max buffered response size is 104857600 bytes
2012-03-24T22:48:16.265-04:00 [02680 info 'Ufa'] enableChunkedResponses: true
2012-03-24T22:48:17.140-04:00 [02680 info 'Ufa.HTTPService'] Http Service started: [class Vmacore::Ssl::SSLServerSocketImpl:028E2350]
2012-03-24T22:48:17.140-04:00 [02680 info 'Ufa'] Soap (over Named Pipe) started on pipe \\.\pipe\vmware-converter-worker-soap. enableRemoteAccess = false, nonRootAccess = false, useSSL = true
2012-03-24T22:48:17.140-04:00 [02680 info 'Ufa'] Plugin started
2012-03-24T22:48:17.234-04:00 [02680 info 'Default'] [,0] DiskLibProvider init - OK
2012-03-24T22:48:17.234-04:00 [02680 info 'Default'] [,0] Mntapi_Init Asked - 1.0 Served - 1.0 was successful,TempDirectory: C:\WINNT\TEMP\vmware-temp\vmware-SYSTEM.
2012-03-24T22:48:17.234-04:00 [02680 info 'Default'] [serviceWin32,413] vmware-converter-worker service started
2012-03-24T23:00:57.937-04:00 [06060 info 'Default'] Impersonating user nkundu8 in session 52671cb3-92df-7045-64c9-14316e5d6fa7
2012-03-24T23:04:22.687-04:00 [06060 error 'vmomi.soapStub[0]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : service state request timed out after 120 seconds
2012-03-24T23:04:22.687-04:00 [06060 warning 'vmomi.soapStub[0]'] Terminating invocation: server=TCP:64.25.88.236:9089, moref=converter.ServiceInstance:ConverterAgentServiceInstance, method=retrieveContent
2012-03-24T23:04:22.796-04:00 [02680 info 'vmomi.soapStub[0]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : Closed
2012-03-24T23:04:22.796-04:00 [02680 error 'Default'] Operation was canceled
2012-03-24T23:05:02.000-04:00 [03524 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-24T23:05:31.687-04:00 [03524 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-24T23:08:04.171-04:00 [03524 error 'vmomi.soapStub[1]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : service state request timed out after 120 seconds
2012-03-24T23:08:04.171-04:00 [03524 warning 'vmomi.soapStub[1]'] Terminating invocation: server=TCP:64.25.88.236:9089, moref=converter.ServiceInstance:ConverterAgentServiceInstance, method=retrieveContent
2012-03-24T23:08:04.171-04:00 [06060 info 'vmomi.soapStub[1]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : Closed
2012-03-24T23:08:04.171-04:00 [06060 error 'Default'] Operation was canceled
2012-03-24T23:08:43.109-04:00 [02680 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-24T23:09:13.078-04:00 [04780 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-25T09:51:47.296-04:00 [03524 info 'Default'] Stopped impersonating in session 52671cb3-92df-7045-64c9-14316e5d6fa7
2012-03-25T12:39:41.421-04:00 [06060 info 'Default'] Impersonating user nkundu8 in session 5250faa8-7f24-e7d9-1c6b-63c4f022f6d6
2012-03-25T12:40:20.500-04:00 [04776 info 'Default'] Could not find the session object cache, will create a new one
2012-03-25T12:40:20.593-04:00 [04776 info 'Default'] Obtaining query results for host 64.25.88.236
2012-03-25T12:43:30.359-04:00 [04776 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint <emptyThumbprint> administrator@64.25.88.236 uname -m" received error code (247) with result: FATAL ERROR: Network error: Connection timed out
-->
2012-03-25T12:43:30.359-04:00 [04776 error 'Default'] [Converter Agent SysinfoQuery] ssh connection timed out
2012-03-25T12:43:30.406-04:00 [04776 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] ssh connection timed out
2012-03-25T12:43:30.437-04:00 [04776 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds
2012-03-25T13:57:10.718-04:00 [02680 info 'Default'] Obtaining query results for host 64.25.88.236
2012-03-25T14:00:21.406-04:00 [02680 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint <emptyThumbprint> administrator@64.25.88.236 uname -m" received error code (247) with result: FATAL ERROR: Network error: Connection timed out
-->
2012-03-25T14:00:21.421-04:00 [02680 error 'Default'] [Converter Agent SysinfoQuery] ssh connection timed out
2012-03-25T14:00:21.421-04:00 [02680 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] ssh connection timed out
2012-03-25T14:00:21.421-04:00 [02680 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds
2012-03-25T14:00:30.046-04:00 [03524 info 'Default'] Stopped impersonating in session 5250faa8-7f24-e7d9-1c6b-63c4f022f6d6
2012-03-25T14:00:30.046-04:00 [03524 info 'Default'] Session is closing, releasing cached session objects
2012-03-25T14:00:30.046-04:00 [03524 info 'Default'] ConverterConnection: KeepAlive timer canceled, StopKeepAlive succeeded
2012-03-25T14:00:33.203-04:00 [03524 info 'Default'] Impersonating user nkundu8 in session 52171b50-7734-c26a-fd31-76b4e0eb8dc4
2012-03-25T14:01:29.078-04:00 [04780 info 'Default'] Could not find the session object cache, will create a new one
2012-03-25T14:01:29.078-04:00 [04780 info 'Default'] Obtaining query results for host 64.25.88.236
2012-03-25T14:04:38.515-04:00 [04780 error 'Default'] [Converter Agent SysinfoQuery] while trying to execute "C:\Program Files\VMware\VMware vCenter Converter Standalone\plink.exe -noprompt -stdin -P 22 -thumbprint <emptyThumbprint> Admimistrator@64.25.88.236 uname -m" received error code (247) with result: FATAL ERROR: Network error: Connection timed out
-->
2012-03-25T14:04:38.515-04:00 [04780 error 'Default'] [Converter Agent SysinfoQuery] ssh connection timed out
2012-03-25T14:04:38.515-04:00 [04780 error 'Default'] Sysinfo Query failed with error [Converter Agent SysinfoQuery] ssh connection timed out
2012-03-25T14:04:38.515-04:00 [04780 info 'Default'] Scheduled timer canceled, StopKeepAlive succeeds
2012-03-25T15:04:09.515-04:00 [04776 info 'Default'] Session is closing, releasing cached session objects
2012-03-25T15:04:12.875-04:00 [02680 error 'Default'] ConverterConnection: Keepalive thread failed with exception vmodl.fault.SecurityError
2012-03-25T15:04:13.015-04:00 [04776 info 'Default'] ConverterConnection: KeepAlive timer canceled, StopKeepAlive succeeded
2012-03-25T15:29:53.125-04:00 [06060 info 'Default'] Impersonating user nkundu8 in session 52246d19-6de8-2eeb-eaa6-1be17a46a9c3
2012-03-25T15:33:11.390-04:00 [06060 error 'vmomi.soapStub[2]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : service state request timed out after 120 seconds
2012-03-25T15:33:11.390-04:00 [06060 warning 'vmomi.soapStub[2]'] Terminating invocation: server=TCP:64.25.88.236:9089, moref=converter.ServiceInstance:ConverterAgentServiceInstance, method=retrieveContent
2012-03-25T15:33:11.390-04:00 [04776 info 'vmomi.soapStub[2]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : Closed
2012-03-25T15:33:11.390-04:00 [04776 error 'Default'] Operation was canceled
2012-03-25T15:33:50.453-04:00 [04780 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-25T15:34:20.328-04:00 [03324 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-25T15:36:39.687-04:00 [04776 error 'vmomi.soapStub[3]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : service state request timed out after 120 seconds
2012-03-25T15:36:39.687-04:00 [04776 warning 'vmomi.soapStub[3]'] Terminating invocation: server=TCP:64.25.88.236:9089, moref=converter.ServiceInstance:ConverterAgentServiceInstance, method=retrieveContent
2012-03-25T15:36:39.703-04:00 [02680 info 'vmomi.soapStub[3]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : Closed
2012-03-25T15:36:39.703-04:00 [02680 error 'Default'] Operation was canceled
2012-03-25T15:37:18.687-04:00 [03324 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-25T15:37:48.640-04:00 [04780 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2012-03-25T15:41:57.734-04:00 [06060 error 'vmomi.soapStub[4]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : service state request timed out after 120 seconds
2012-03-25T15:41:57.734-04:00 [06060 warning 'vmomi.soapStub[4]'] Terminating invocation: server=TCP:64.25.88.236:9089, moref=converter.ServiceInstance:ConverterAgentServiceInstance, method=retrieveContent
2012-03-25T15:41:57.734-04:00 [03324 info 'vmomi.soapStub[4]'] Resetting stub adapter for server TCP:64.25.88.236:9089 : Closed
2012-03-25T15:41:57.734-04:00 [03324 error 'Default'] Operation was canceled
2012-03-25T15:42:36.718-04:00 [02680 error 'HttpConnectionPool'] [ConnectComplete] Connect error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Large OVF imports into vCloud Director 1.0.1 fail, smaller imports succeed

$
0
0

I'm getting wildly different results while importing large OVF file into vCloud Director 1.0.1 via the ovftool than when performing the upload of the same OVF via the native JAva tool within vCloud Director itself. AS long as the file transfer compeltes through the vCD Java tool, the file is importing into vCenter correctly, and then being correctly registered within vCD.

 

The OVF I'm working with is 68.2 GB in size.

 

Below is a sanatized version of my command line and the output from the tool:

 

 

ovftool --net:"dvportgroup-48=company-Services_Internal" E:\OlioWebtest\oliowebtest.ovf "vcloud://user:password@testvcd1.company.com:443/?org=company_Services&vapp=OlioWebTest&vdc=company_Services_ALLO_vDC01&catalog=test"
Opening OVF source: E:\OlioWebtest\oliowebtest.ovf
The manifest validates
Warning: File is not referred in the manifest: oliowebtest.ovf
Opening vCloud target: vcloud://user@testvcd1.company.com:443/
Waiting for task on server .done
Deploying to vCloud: vcloud://user@testvcd1.company.com:443/
Disk Transfer Completed

Error: Invalid response from server
Completed with errors

 

Looking in the vCD GUI logs for the organization, I see the descriptor being processed, and the process for finalizing the upload completing, but the vApp is never added to the catalog. If I look in vCenter, I can find the VM on a valdi datastore for the org vDC and the correct resource pool in the proper state for a catalog vApp. The error "Error: Invalid response from server" is displayed immediately upon completion of the data transfer.

 

 

 

If I move the VM to the root of the datacenter, I can import the VM as a vApp and copy it to the caalog with no issue.

 

I tested with a much smaller OVF (1.3 GB), and received exactly the behavior I expected.

 

ovftool --net:"none=company-Services_Internal" E:\suse\descriptor.ovf "vcloud://user:password@testvcd1.company.com:443/?org=company_Services&vapp=SUSE32&vdc=company_Services_ALLO_vDC01&catalog=test"
Opening OVF source: E:\suse\descriptor.ovf
Warning: No manifest file
Opening vCloud target: vcloud://user@testvcd1.company.com:443/
Waiting for task on server .done
Deploying to vCloud: vcloud://user@testvcd1.company.com:443/
Disk Transfer Completed

Waiting for task on server ...................done
Waiting for task on server .......................................done
Waiting for task on server ..done
Completed successfully

 

Looking at the succesful transfer, I see an additonal action logged in the GUI logs for the organization. After the finalization record, there is a "Create virtual application" event logged on the smaller transfer that is never logged on the larger transfer.

 

The only item I can think of from a vCloud Director standpoint is that that vCD logon sesion timeout has expired on the large transfer long before the additional tasks are issued to vCD resulting in the invalid response. Is this the case, or is something else going on?

 

When looking at the vcloud-container-info.log file on the cells doing the processing for the succesful imports, I see a whole string of commands being executed in the current logged on user context.

Comment sauvegarder une VM équipée d'un périphérique SCSI avec ovftool ?

$
0
0

Bonjour à tous,

 

Je travail actuellement sur le développement un script de sauvegarde de VM qui utilise l'outil OVFTOOL. Le script se déroule correctement pour des VM n'ayant pas de périphériques particuliers, mais ce dernier bloque lorsqu'un périphérique SCSI y est rattaché.

 

Lors que je lance mon script manuellement j'obtiens l'erreur :

 

"Device 'scsi - passthru' is not supported. This is a general limitation of virtal machine's virtual hardware version on the selected host" ;

 

au moment de la conversion en .ovf, autrement dit lorsque la commande suivante passe :

 

"ovftool -q /Sauvegarde/Tmp/$vmname.vmx /Sauvegardes/Bkp/".

 

Lorsque j'effectue un export ovf depuis l'interface vSphere Client, un pop up d'avertissement apparait effectivement pour me signaler :

 

"Impossible d'exporter le périphérique 'Périphérique SCSI1'.".

 

Mais dans ce cas j'ai le choix de continuer la sauvegarde ou non.

 

Pour moi ce n'est pas important de pouvoir sauvegarder les paramètres concernant ce périphérique, bien que si je peux le faire c'est un plus.

 

Ce que je voudrais savoir, c'est comment procéder pour forcer la sauvegarde avec ma commande ovftool ? (bien que je n'ai pas trouvé l'option le permettant dans l'aide de cette commande). Je reste également à l'écoute de toutes solutions de contournement pouvant être automatisés, puisque mon but comme vous l'aurez compris est d'automatiser mes exports ovf.

 

Ma configuration est la suivante :

 

ESXi 4.1 update 1

OvfTool 1.0.0

 

Merci d'avance pour vos réponses et votre aide.

No local configuration options in .ovftool

$
0
0

Hello:

 

I am working in a Windows environment with ovftool 3.01.

 

When running the ovftool in a directory that contains an ovf and a .ovftool file, the ovftool does not seem to pick up the local configuration file.

 

> ovftool --help config

 

This will show as "Currently no local configuration options in .ovftool"

 

I have tried a number of permutations: ".ovftool", "<name>.ovftool", even "ovftool.cfg" on the off chance it is looking for the global name.

 

But none of these options work.

 

When I move the file to C:\Documents and Settings\$USERNAME\VMware\ovftool.cfg, which makes it global, it works just fine. So, I know the file is working.

 

But I am managing dozens of unique OVAs, and so having the local configuration option would be most helpful.

 

Am I misnaming the local config? Or is this a known bug or linux-only feature?

 

Thanks,

 

Andrew

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

OVFtool cannot authenticate to vcloud

$
0
0

I am atempting to connect to a vcloud instance to download an OVF and no matter what I cannot authenticate. Even if I manually input the userid and password it continues to prompt for them. I have creayed a userid and password specifically for this task local to the vcloud and the password and username don't conatin ANY special characters.

 

Any ideas?

Unsupported section "BootOrderSection" (Virtual hardware device boot order)

$
0
0

I have a Linux VM running on fusion, and using ovftool to convert this .vmx into .ovf, then import into a ESXi 5...unfortunately having this error message.

 

I tried the -lax option, but doesn't help...I look into the ovf file, and found it could be this section issue

 

    <vmw:BootOrderSection vmw:instanceId="7" vmw:type="disk">

      <Info>Virtual hardware device boot order</Info>

    </vmw:BootOrderSection>

 

Anyone can share me some light to get around this...thanks


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.

Not able use the ipaddress and netmask properties from ovf using ovftool

$
0
0

OVF Command option:

ovftool.exe "--acceptAllEulas=true" "--name=Robo_Naren_vApp_Temp" "--datastore=fiddleback-esx2:storage1" "-dm=thin" "--network=VM-Network" "C:/appliance-main-image-8.0.0.3.0.ova" "--prop:hostname=naren.am.com" "--prop:ip=10.0.0.xx9" "--prop:netmask=255.255.252.0" "--prop:gateway=x1.3x.2xx.1" "--powerOn" "vi://root:xxxxx@1x.xx.2xx.5x/"

 

When i try to execute the above command i'm getting the below error.

Error:

Error: Unexpected option: --prop:ip=10.0.0.xx9

Completed with errors


OVF properties

Here's is my ovf content for the properties

      <Property ovf:key="ip" ovf:required="true" ovf:type="string" ovf:userConfigurable="true" vmw:qualifiers="Ip">

        <Label>2. IP Address</Label>

      </Property>

      <Property ovf:key="netmask" ovf:required="true" ovf:type="string" ovf:userConfigurable="true" vmw:qualifiers="Ip">

        <Label>3. Subnet Mask</Label>

      </Property>

      <Property ovf:key="gateway" ovf:required="true" ovf:type="string" ovf:userConfigurable="true" vmw:qualifiers="Ip">

        <Label>4. Default Gateway</Label>

      </Property>

 

Using  "vSphere Client version 5.1.0"

 

Can anyone help me in resolving this problem ?

Is there a way to disable Settings - Options - Vmware Tools - advanced

$
0
0

We have requirement to disable the option of Auto upgrade so that user cannot change it. Please provide the option which I can set at vmx file so that ovf will have the option disable.

Is there a way to disable Settings - Options - Vmware Tools - advanced - Check and upgrade Tools with powering cycling ?

OvfTool - Resource Switch not working.

$
0
0

Hi,

Thanks in advance for any help that can be given with this, Have been looking at rolling out .ovf VM's as part of a automation project. What we are trying to do is roll out two servers to a specific datacentre, cluster, host and Resource pool.

 

Script below is what we are using, it works perfectly to roll out a VM but this will only be in the root of the Datacentre.

 

C:\Program Files\VMware\VMware OVF Tool>ovftool -tt=vi -st=ovf --lax -n=Test --datastore=VMWARE --network="VLAN" --powerOn "Full UNC path of .ovf" "vi://Domain%5cUSER:Password@vsphere/DATACENTRE/host/Development/FULL HOST NAME/"

 

But when I add in the switch for Resource and the required Resource pool as seen below:

 

C:\Program Files\VMware\VMware OVF Tool>ovftool -tt=vi -st=ovf --lax -n=Test --datastore=VMWARE --network="VLAN" --powerOn "Full UNC path of .ovf" "vi://Domain%5cUSER:Password@vsphere/DATACENTRE/host/Development/FULL HOST NAME/Resources/Dev"

 

It give the following error:

Opening OVF source: Full UNC path of .ovf.ovf

Opening VI target: "vi://Domain%5cUSER:Password@vsphere/DATACENTRE/host/Development/FULL HOST NAME/Resources/Dev"

Error: No target host found in cluster that supports the chosen network/datastore/virtual hardware combination.

Possible completions:

ESXHOST 01

ESXHOST 02

ESXHOST 03

 

using OVFtool 3.5 with VMWare 5.0

 

See attached image for layout of vCentre

 

any help would be much appreciated.

How to correctly run a .py python script at bootup

$
0
0

Hi all ...I'm not sure if this is the correct place to post this question and I'm hoping someone could plase advise me as to how to do this.

I created a nested ESXi 5.5b VM.The VM is not connected to a vCenter as yet and it may or may not be connected based on whether or not I want to join it to a vCenter or not.

I then set the vAPP options to enable for the VM settings.

I then set various advanced properties for the VM.

I now have a Python script (I named it test2.py) which collects the properties from an OVA during it's deployment , the script then uses the info collected from the properties and applies them in commands at the cli.

I use this info to alter things like the Hostname, DNS, IP and other info inside the VM.

This all works successfully.

 

I would like to have the script start/run-once at boot time after the vAPP is deployed.

 

How do I do this ? and where to I place the script ? so that is does not get deleted or destroyed when the ova gets created and then deployed.

 

Any help would be greatly appreciated.

Kind regards

Den

Migrate to another vCenter

$
0
0

Hi all,

 

I have a "little" question. I have installed a new vCenter 5.5 in my farm and I would like to migrate all clusters/hosts to it. In my old vcenter there are a lot of vApps. How can migrate all without problems?

 

Thank you very much.

 

Matrix

ovftool command line on Win 7 unable to process backsplash in domain\user:password@vcenter

$
0
0

Hi VMWare experts,

 

I am having problem with automation script because the string passed in the ovftool command uses credential vsphere.local\userXYZ instead of just userXYZ

 

It appears that the backsplash in the 'vsphere.local\user' cause the command line to be misinterpreted, so the automation script that calls ovftool to deploy VMs kept failing.  It erred with "cURL error of ‘couldn’t resolve hostname" even though there is nothing wrong with any hosts or hostname resolution on the network.

 

On a Win-based vCenter I was able to reconfigure it so that instead of requiring login user format of 'vsphere.local\userXYZ', it will now accept user = 'userXYZ'. 

 

With that change, ovftool.exe command string is now progress correctly and VMs are deployed. 

 

I could reconfigure Window-based vCenter to not use just user = userXYZ (instead of vsphere.local\account), but I could not figure out how to get vCSA to stop requiring the format of vsphere.local\userXYZ.

 

The string segment in the long ovftool.exe command line looked like this …

 

This works:

"vi://userXYZ:password@tm-vcenter55/DC2-SJ/host/Topology/csg-sj-esxi112.cisco.com"

 

This does not work:

"vi://vsphere.local\userXYZ:password@lin-vcenter55/DC2-SJ/host/Topology/csg-sj-esxi111.cisco.com"

 

Is there anyway to configure vCenter Virtual Appliance to use log in format of user = userXYZ instead of user = vsphere.local\userXYZ?   Or is there some way of reformatting the string so that OS can interpret it correctly even with backsplash '\' is used in the string?

 

Thank you

Charles

 

The complete ovftool.exe command is shown below:

 

"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --acceptAllEulas --skipManifestCheck --diskMode=thin --name=linsys2-vm1 --deploymentOption=vm_typeA --datastore=EMC-LUN1 --net:"Network Adapter 1"="VLAN 410 - 172.27.14.0/24" --net:"Network Adapter 2"="VLAN 410 - 172.27.14.0/24" --vmFolder=   --prop:cisco_hostname.Proj=linsys2-vm1 --prop:cisco_ip_0.Proj=172.27.14.135 --prop:cisco_dnsDomain.Proj=cisco.com --prop:cisco_netmask_0.Proj=255.255.255.0 --prop:cisco_gateway_0.Proj=172.27.14.1 --prop:cisco_dns1_0.Proj=172.27.200.199 --prop:cisco_dns2_0.Proj=173.36.131.10 --prop:cisco_language.Proj=English v:\ova\projectX_1.0.0.ova "vi://vsphere.local\userXYZ:password@lin-vcenter55/DC2-SJ/host/Topology/csg-sj-esxi111.cisco.com"

 

Opening OVA source: v:\ova\projectX_1.0.0.ova

The manifest does not validate

Error: cURL error: Couldn't resolve host name

Completed with errors

 

Installation Done!


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?

 

 

 

 

 

 

 

 

Cannot convert an other26xlinux-64 guest from VMX to OVF

$
0
0

I'm not sure if this is a bug or I'm missing something, but if I create a VMX using the "Other 2.6.x Linux (64-bit)" guest type (so that guestOS is "other26xlinux-64"), and then convert it to OVF via ovftool (I tried 1.0 and 2.1.0, both on Linux), the resulting XML seems wrong:

 

    <OperatingSystemSection ovf:id="1" vmw:osType="*other26xLinux64Guest">

 

Note the id of 1, and the asterisk before the osType string.  When importing the resuting OVF (ESXi & vSphere 4.1.0), the guest ends up as "Other (32-bit)", which is incorrect, but more significantly can't even boot until I change it manually to a 64-bit type.

 

I was expecting the OVF to contain:

 

   <OperatingSystemSection ovf:id="100" vmw:osType="other26xLinux64Guest">

 

Hand-editing the OVF to fix up the XML works fine, and I could do some sed magic to automate all this, but I'm wondering if there is a reason for this, or a more proper fix?

 

Thanks a lot for any help

VMware OVF Tool

$
0
0

Experts,

I downloaded and installed VMware OVF Tool i am running Vmware Workstation 9. I am trying to figure out how to use VMware OVF Tool and create my VMs. Any help with this ?

 

Regards,

SD

ovftool - Defining the 'Product', 'Version' and 'Vendor'?

$
0
0

Hi,

 

Am trying to export an ova from a VM using ovftool.  Something along the lines of...

 

ovftool --prop:Version=100 --privateKey=./id_rsa.pem --eula@=./eula.txt vi://root:mypass@myserver.mydomain.com/myVM ./myOVA.ova

 

Everything looks good except that I haven't been able to define the 'Product', 'Version' and 'Vendor'  that appears in the initial dialog when customers deploy the template into a running ESX / vCenter instance.

 

Assume this must be a v common question but have not found how this might be done from the ovftool user guide (http://www.vmware.com/support/developer/ovf/ovf301/ovftool-301-userguide.pdf) or the VMware communities.  Closest I've found is http://communities.vmware.com/thread/328504 which indicates that defining a vCenter vApp allow configurable properties to be set.

 

Is there any way to define these parameters via ovftool?  If not, is there a way to hack the .ova manually to define them?

 

Thanks in advance,

Frank.

setting ovf properties with ovftool and vcloud

$
0
0

I'm trying to import an OVA file with settable OVF properties for configuration (product key, network configuration) into vCloud with ovftool. It seems from the documentation that I should be using the --prop option to set these values, but they don't seem to get passed through vCloud to the deployed vApp, and the system gives an error about unconfigured properties when it tries to start up. I can go in the vCloud interface and manually enter them for my vApp, but I was hoping to automate the process with ovftool.

 

At first I thought the issue was that the properties where at the VM level instead of the vApp level, but changing the OVA in vSphere to move the properties to the vApp itself produces the same result. Using the same command to import the OVA directly into vSphere correctly sets the properties with either version.

 

Is setting of OVF properties for vCloud supported by ovftool? If so, what is the correct syntax?

 

Currently running:

 

ovftool -o --acceptAllEulas --prop:productkey="XXXXX-XXXXX-XXXXX-XXXXX" --prop:ipaddress="10.146.3.1" --prop:netmask="255.255.0.0" --prop:gateway="10.146.1.254" vApp.ova vcloud://vclouddirector?org=IT&vdc=IT&catalog=IT&vapp=test1

 

Thanks.

Viewing all 34499 articles
Browse latest View live


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