Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Browsing all 34639 articles
Browse latest View live

VixVM_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 Article


What is common/ most popular and up to date VIX API for Ruby

I have test framework written in Ruby. To automate some of the tests i would like to use Ruby library for VIX. What would be the best choice of Ruby VIX API to use? This is ongoing development, so it...

View Article


VIX API 1.1.2 issues

 I am using the VIX API (v1.1.2) with MS Visual Studio 2005 running against VMware Server v1.0.4 and have a few issues I'd like to report.  First off, integrating the VixAllProductsd.lib into the debug...

View Article

VixVM_WaitForToolsInGuest timeout can't work after call VixVM_RevertToSnapshot

 I encounter a issue.  VixVM_WaitForToolsInGuest timeout can't work after call VixVM_RevertToSnapshot. I call VixJob_Wait and hope that it can return after timeout or detect VM Tools is installed. But,...

View Article

vifs --get internal error

Hi, I'm getting an internal error 500 from # vifs --server srv2 --username root --password *** -g "[SATA-RAID5] ISO/CentOS-6.2-x86_64-minimal.iso" ./xGET...

View Article


How to get VM path to .vmx file when you have the VM name?

Hi All,I'm using the latest release of VIX API to power on VMs on an ESX server. I'm working with C# in Visual Studio 2012 and currently, I power on the VM using the following code:...

View Article

Can removable devices connect or disconnect with VIX API?

Hi,  I want to be able to connect a USB device (currently being connected to the host) to the guest with command-line or program.  Is this possible in some way? Menu -> VM -> Removable...

View Article

JNI VIX multithreading issues

Hi, we just bought VMware workstation 6 and are trying to automate some aspects of VMware through the VIX API (mostly just revert to snapshot).  We use to use VMware server but it was giving us a lot...

View Article


VIX Com on 64 bits

 It looks to me that Vix Com doesn't work on 64 bits or I'm doing something wrong. What's happening is that the call:  VixLibClass myVixLib = new VixLibClass();  job = myVixLib.Connect(1,...

View Article


How to Power On a remote host virtual machine

 I am using vix api and vmware workstation.  My scripts in perl and C++ can power on a guest operating system in my computer (localhost).  However, I cannot power on a remote VM in another computer on...

View Article

AV: assert from Glib + crash in a C# environment

Using 1.6.2 and an ESX VM. There's something very wrong caused by a RevertToSnapshot + Disconnect call. I can reproduce this 100%. Maybe I can have symbols for vix.dll or a developer can contact me? -...

View Article

Image may be NSFW.
Clik here to view.

Multithreading in VIX API: more crashes, any news on fixes?

I've been trying to extend our test automation to parallelize against multiple virtual machines. I am using VMWareTasks. I make a connection to a different VM on two threads, then use the handle(s)...

View Article

VMDK mount automation using vixDiskMountServer

 It is possible to mount a VMDK disk by right-clicking on it with VMware Workstation 6.5. It uses vixDiskMountServer.exe. Unfortunately,  there is no documentation on how to do it automatically.   My...

View Article


Error: Cannot open vm. Insufficient permission host os

Hi, When I run the command:  vmrun -T server -h "http_address" -u userHost -p passwordHost -gu guestUser -gp guestPassword fileExistsInGuest"file.vmx" /home/ab.txt      I get the following error:Error:...

View Article

VIX sample code crashes on windows when compiled with mingw32

 I'm running vmware workstation 6.5.3 on windows 7 (64bit) and am now trying out the VIX API.  I tried compiling some of the sample code included with vmware workstation (vix api) and every time I run...

View Article


RevertToSnapshot() fail with VIX_E_FAIL on Windows 7

I have a program written in C# that automates a process that involves a few RevertToSnapshot() calls. I have run this program against Workstation 6.5.0 and 6.5.3 on Vista and XP Hosts with XP SP2 and...

View Article

Image may be NSFW.
Clik here to view.

VMRun to obtain Guest hostname or IP address

Hello, I'm using VMRun to start some virtual machines, however it would be really useful if I could execute a command to obtain their hostname and\or IP address. The guest machine is an ubuntu box. I...

View Article


Win7 64Bit VMrun problem

 Hi   I have installed the last Vix API on a Win7 64Bit machine and when i try to connect to ESX or Workstation i got following error :  Unable to connect to host.Error: The specified version was not...

View Article

VIX for MAC VMware fusion

Hi,  I am unable to get VIX library for MAC VMware fusion. Can anyone guide me to get VIX libraries to run vmrun utility?  Regards,akash

View Article

ESX 3.5 and the VIX API

 I'm getting this error when I run "vmrun" on my ESX 3.5 system.   What library am I missing specifically? Is this a linux library I need to download or is it a VIX API library?    Dec 07 10:38:58.223:...

View Article
Browsing all 34639 articles
Browse latest View live