How to get/answer question via VIX API?
What I'm trying to do is to create virtual machines using C program with VIX API. First I create a VM as template. Then I copy all files of the first VM and do some neccessary modificaitons on the...
View ArticleConnecting to ESXi host using VIX C API
Has anyone had problems using the Vix C API to connect with an ESXi host? I can't get VixHost_Connect to connect with the C API, but if I use vmrun.exe with the same parameters it connects fine. A...
View ArticleVIX with Freebie ESXi
Hi all, I'm trying to use VIX 1.7 remotely against a test ESXi 3.5 server (VMware ESX Server 3i, 3.5.0, 153875). It fails from the API when connecting (no errors) so I've tried going to basics and...
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 ArticleIssue with vmrun runProgramInGuest running 2008 Powershell commands
I am trying to run an install script in powershell on a 2008 server using vmrun from a linux server. I have had a few problems doing this and am wondering if there is a way to make it work.. The...
View ArticleConnect/Disconnect USB
Is there an API to connect/disconnect a USB device to/from the guest/host? I don't see any function definitions for such a use case in the APIs.... but this is "mission critical", so I thought I'd...
View ArticleVerify that a VIX host is connected?
I want to connect to a VIX host with VixHost_Connect() and then share the handle with various threads. If the connection drops I want to reconnect and acquire a new handle to share out. How can I...
View ArticleAutomate virtual machines with VIX api
Hi: I´m automating virtual machines on a ESXi host using the vix api. I try to power on and the virtual machine do it, but the script returns 3008 error:VIX_E_CANNOT_CONNECT_TO_VM What ´s the problem??...
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 license VMware-vix-1.11.0-471780
I found that I can't use VixCOM without license. What kind of minimal required package should I buy for using the library with my ESX server? (5.X or 4.X)
View Articleunable to connect to host using VIX API with Perl
Hi The envrionment we have is Vsphere with VCenter 4.1. I am attemping to make a connectiion to vcenter using VIX API with Perl.(End goal being able to create a vm on a node). I am not successful with...
View Articlevix API C# not able read the CPU utilization and memory usage
iam automating the report of the VI server utlilization. Need help to get the CPU ustilization of the server, IP host of the server list and memeory usage of the VI server. I gone through all the...
View ArticleVixHost_Connect intermittent operation
I find the VixHost_Connect sometimes connects, or sometimes fails with VIX_E_FAIL: code: extern "C" {#include "vix.h"} #include using namespace std; class VixHost ; VixHost::VixHost(){ handle =...
View ArticleSpaces In Path To VMX File Causing Problems?
Hello All, I just set up VMWare Server 2.0 (Build 122589) on an Ubuntu 7.10 box, and am attempting to get started with the VIX Perl API. Unfortunately, I'm stuck very early in the process -...
View ArticleUnable to open VM image
I'm running VMWare ESX server 4.0, and want to automate testing on several major Windows OS' using VIX 1.10. Started off by downloading VIX 1.10, and putting the VI-Server-2.0.0 dlls into my classpath....
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 ArticleCannot execute VIX API command on a Powered On Virtual Machine - vCenter
I cannot execute any VIX API vmrun command once the Virtual Machine is powered on. The setup is a vCenter server with a number of esx hosts. I can list all virtual machines, and power the machines...
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 ArticleC# and VIX API
I'm new to using vmware automation at least and I have VMWare server 1.0 installed. I'd like to use the VIX Api in C#, but I haven't been able to load the vix.dll as a reference. I've tried to find a...
View ArticleMemory Access Exceptions
When I call some VixCOM apis I get a memory access exception when it's called. Specifically the FileExistsInGuest API is called when I call it:...
View Article