How to ignore quotes in vmrun commands
Hi, I am trying to execute a vmrun command like below which is working fine. vmrun -T esx -h https://test.eng.vmware.com/sdk -u root -p password -gu root -gp password runProgramInGuest "[datastore]...
View ArticleCan we use VIX to add/remove disks from a VM?
Hi All, I'm having a problem, I have a ESX server which as several VMs: A,B,C,D,E etc.On A, I want to add/remove disks to B,C,D,E with VIX APIs (or vmrun commands).Is this possible? Or I have to give...
View ArticleProblems using vmrun on ESX3.5
Hopefully a quick question because I'm missing something obvious. I am running vmrun version 1.12.1 against an ESX 3.5 Server and am getting partial sucess. If I run: vmrun -T ESX -h http://{ip...
View ArticleVixVM_Open() returns error "The datastore corresponding to the given...
In one of our setup, VixVM_Open() API call returns error "The datastore corresponding to the given datastore path is not found."The returned error code is 38. The specified vmx path as input to...
View ArticleFor snapshot
I want to get a virtual machine all snapshot,But by VixVM_GetNumRootSnapshots () does not get to all。What should I do to get it?
View ArticleGetting "VMware Tools are not running in the guest" from VIX, but tools are...
I'm having an issue with a Perl VIX script that I am writing. I am connecting to a VM, I wait for the VMWare tools using VMWaitForToolsInGuest, and then I execute a VBScript. After about 15 minutes, I...
View Articlevim-cmd vmsvc/snapshot.removeall command took about 20 mins to finish
Experts, I am using command line tool vim-cmd to control my Vsphere clients' snapshots.Because I can not use vim-cmd to identify one snapshot by name, need to provide Index and Level, which I dont...
View Articleissues getting the VM to "notice" runtime changes I've made via the VIX API?
Hello there! I appear to have run into an interesting quirk in some automated testing I'm setting up using the VIX VM Perl API, and was wondering if anyone had seen anything similar and/or could offer...
View ArticleVIX function to find guest OS volumes
hello I am trying to find volumes of guest OS is there any function or method in VIX.Thanks in advance
View ArticleSimulate a device status of disconnected in Workstation v.9?
I am trying to find a way to simulate a device status of disconnected in Workstation v.9. I could probably stop/start the network service inside a guest but I'm looking for something more disruptive....
View ArticleHow to get performance data of average CPU, MEM and NET.
Hi all, I am trying to get the details of performance data CPU, MEM and NET, my code output is as below Thu Jul 18 15:00:00 IST 2013 cpu.usage.average :: 3080Thu Jul 18 15:05:00 IST 2013...
View ArticleWill VIX API continue to be supported in vSphere 5.5 ?
Hi, Will the current VIX API's continue to be supported for the upcoming vSphere version - 5.5?I know that, now similar functionality are exposed by Web Services APIs. Still wanted to check whether the...
View ArticlePowerOn() doesn't work if remote Windows sessions are open
Dear Community Members, I would like to get support regarding VMWare Workstation. We are using the VMWare Workstation 9.0.1 (9.0.1 build-894247) to run tests directly on TFS build agents. It...
View ArticleVMware-VIX versions for Gentoo Linux
While installing VMware Player from the Gentoo Linux repositories, I was advised also to download directly from VMware, specifically, "VMware-VIX-1.11.4-744019.i386.bundle". I was not able to find this...
View ArticleRuntimeFault: Database temporarily unavailable or has network problems.
RuntimeFault: Database temporarily unavailable or has network problems. I always received that message when creating new Administrator from local users in Linux or adding user permission on a...
View ArticleVMWareTasks: A VIX API C# Library (let's reinvent less wheels)
I posted a CodeProject Article this morning with a VMWareTasks C# library on top of the VIX API. It exposes a better programming model for the 99% of those synchronous VMWare scenarios where you don't...
View ArticleLoginInGuest() issue with VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT...
Hi, I'm having problem with the LoginInGuest() function when using the VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT option. Here's the code written in C#: jobHandle =...
View Articleis it possible to find the absolute path of vmx using vix api?
Hi, I want to know where the vmware machine is installed and the configuration files available. using the vix api I can easily found the vmx file path but its giving the path name like...
View Articlehow to unlock vmdk files?
Hi, Im using vix api to create a snapshot of guest os. After creating snapshot i try to download the snapshot files to remote machine without power off the guest os . But the problem is...
View ArticleCID and Parent CID are same in *0001.vmdk files
Hi, Im using VIX api to create snapshot. Im doing in the following way... 1. delete the snap if already snap is available. So it merges the data's in flat.vmdk file and the changes will added in...
View Article