Python Module for the VIX API
I started a python module for the VIX API. It is very immature and I've just started it last night. Parts of it are working and other parts are a work in progress. Currently the entire VIX API has...
View ArticleLoginInGuest returns a 3034 even using WaitForToolsInGuest
Hello, we have updated our ESX hosts (from 3.5 to 4.1 version) and the VIX API from 10.1 to 10.2. Since then I have a problem when doing LoginInGuest because even using WaitForToolsInGuest I get a 3034...
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 ArticleVIX License, vCenter and vmrun.exe
Hi, I saw a previous thread about VIX license issues at http://communities.vmware.com/message/1681440#1681440, but it didn't directly address a couple of questions that I have. 1. Do all vCenter 4.0...
View ArticleVIX API communicating to a FreeBSD VM
Are there any known issues with the VIX API communicating from a windows server with vCenter to a FreeBSD VM to make calls like RunProgramInGuest?
View ArticleEasiest Way to Use VIX from PowerShell?
I need to write a Windows PowerShell script to deploy a Linux VM from a template, assign the network adapters to particular networks, start the VM, copy some files to the VM, execute a script on the...
View ArticleCan we use VIX to get VMNet info from Workstation
Hi, I am using VIX for communicating with VM i.e. to start and run the apps inside VM. I am curious to know , is there any way to get the available VMNet info from Workstation. Usually VMnet0, Vmnet1...
View ArticleVixVM_ReadVariable return invalid path for Guest environment variable 'TEMP'
I am trying to get 'TEMP' Guest environment variable using VIX API VixVM_ReadVariable but it returns invalid path which does not even exits. THe value of 'TEMP' i am geting is...
View Articlevix api errors
Hello, I wrote this short programme to manage my tiny cloud, which consists of two machines. One is running windows server 2008 with vCenter 5.0 and the second is a ESXi 5.0 host. On the ESXi i have...
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 API Locale for non-Unicode programs Error
Hi All, I use the VIX API 1.11 on the Windows OS and I have a problem with locale for non-Unicode programs.When I try to call the VixHost_Connect() function to connect to VmWare Workstation Hypervisor,...
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 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 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 Articlevifs --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 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 Articlevix-perl installation problems
Hi all, I'm having problems installing the vix-perl packages on Windows XP. The first thing i did was installing the ActivePerl-5.8.8.820-MSWin32-x86-274739.msi. Then I started the command prompt of...
View ArticleStoring Variables in VMX
Is it possible to permanently store a variables inside the guest's VMX file? (This used to be possible with VMCOM)
View ArticleVMware Server 2.0 Backups (VIX 1.6.2 only)
Vix_Virtuozo_Suite enables domain-wide cold and hot backups of your guests. Windows and Linux (SAMBA required) Server 2.0.x host OSs are supported. Linked is the current build of Vix_Virtuozo_Suite...
View ArticleHow 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 Article