Question about VIX versions
The sticky note at the top of this group states "Vix 1.1 is recommended for VMware Workstation 6.0, not VMware Server 1.0" that was as of 9-24-2007. Since then there seems to be a Vix 1.1.2 & 1.2,...
View Articleerror 16, VixVM_PowerOn working in regular process but fails in windows service.
Hello The following code: jobHandle = VixVM_PowerOn(vmHandle, VIX_VMPOWEROP_NORMAL, VIX_INVALID_HANDLE, NULL, // *callbackProc, NULL); // *clientData); err = VixJob_Wait(jobHandle,...
View ArticleLogInGuest fails with an error message "The command is not recognized by the...
Hello, Using VIP API v1.1.4 against Server v1.02 and getting an error on LogInGuest with the error message specified in the subject. When I execute the same script while machine is already powered on...
View Articlevmrun revertToSnapshot failes
creating a snapshot works vmrun -T esx -h https://host:443/sdk -u root -p pass snapshot "[datastore] dtsrv07/dtsrv07.vmx" test reverting to snapshot notvmrun -T esx -h https://host:443/sdk -u root -p...
View ArticleReading Environment variables problem
Hi, I am using ReadVariable with the option VIX_GUEST_ENVIRONMENT_VARIABLE and I am getting blank values. I am logged in as the Administrator. Note, the two environment variables I can retrieve...
View ArticleDoes vmrun in 1.7 support reverting to snapshots on ESX?
This was a dealbreaker for me in 1.62, and it's still not working for me in 1.7... am I doing something wrong? Here's what I'm doing: 1. C:\Program Files\VMware\VMware VIX>vmrun -T esx -h...
View ArticleRevertToSnapshot error vmrun
Hi, When I run the command: vmrun -T server -h "http_address" -u userHost -p passwordHost revertToSnapshot "file.vmx" snapshot_name I get the following error: One of the parameters was not valid....
View Articlevmrun clone: "The Operation is not supported"?
Hi, I am trying to clone a VM using vmrun with vSphere/ESX4 using the following command line: "C:\Program Files\VMware\VMware VIX\vmrun.exe" -T esx -h https://44.1.1.122/sdk -u root -p password...
View ArticleVIX_E_HOST_USER_PERMISSIONS and VIX_E_VM_NOT_RUNNING errors on VixVM_PowerOn...
I'm doing stress testing of automation of spin-up and tear-down of many virtual machines on an ESX4u1 system using the vix libraries. I've noticed the following behaviors that I was hoping someone at...
View ArticleWhich VMware Tools version required
What's the "official" decree about which VMware Tools version is required for VIX. Seems some VIX functions (such as VMLoginInGuest) will run only in VMware Tools version 4.0. For instance, I had a...
View ArticleQuestion about VMCI
Is there a forum around for VMCI? I'm trying to test out vm to vm communication using vmci sockets on windows guests. The Programming Guide doesn't mention much about the vsocklib.dll provided...
View ArticleProgramming VIX in Python
Hello: I need to program some funtions with VIX API but I need do it in python. For this purpose I need to import dll, etc to python... and call vix functions from a python script... someone can helps...
View ArticleCall to Reset(VIX_VMPOWEROP_FROM_GUEST) hangs at some guests
Hello, calling Reset with the option VIX_VMPOWEROP_FROM_GUEST and then calling Wait hangs at some guests waiting forever for the operation to complete (even when the guest SO restarted ok). Currently I...
View ArticleHow to check for directory existence with vmrun?
Hello, I'm porting an existing VIX interface to use vmrun and I cannot find the way to use the DirectoryExistsInGuest with vmrun. Could be that VMware developers forgot it? Is there a workaround?...
View ArticleHow do I set the current snapshot using VIX?
Hi all, I'm looking for a way to programmatically set the current snapshot of a virtual machine. I need this to be able to programmatically create snapshots at arbitrary locations in the snapshot tree....
View Articlevmrun and Debian
Is vmrun supported on Debian? I ask because I can't seem to make a connection to my VM (which is running the latest VMware Tools on ESX 4.1) When I run vmrun to copy a file, it says "can't connect...
View Article64-bits VIX API does not include implementation of libvix.so for vmware...
I've just installed the newest VIX API on SLES 10 64 bits and realized that it does not support vmware server 1.x. there is no /usr/lib/vmware-vix/server-1.0.9/64bit/libvix.so or...
View ArticleFusion 4 vmrun fileExistsInGuest results in "This operation is not supported...
HI, I have a Mac Mini server running OS X 10.7.3 Lion - on this I have VMware Fusion 4.11 installed - using Fusion I created a virtual mac running OS x 10.7.3 Lion Using the vmrun utility I am able to...
View ArticleSample Code to test VIX install
#include "vix.h"#include <stdlib.h>#include <stdio.h>VixHandle hostHandle = VIX_API_VERSION;VixHandle jobHandle = VIX_INVALID_HANDLE;VixError err;jobHandle =...
View ArticleVIX_RunProgramInGuest time out
Hi, I am using Veeam B&R which uses this API to run an amount of tasks inside the VMs when performing a backup. One of these tasks is an indexation. In 99% of the cases this runs without a hitch...
View Article