Create Vmci Socket in c#
Hello,I want to create a socket between host and guest in C#...I have a little problem.. I not find the dll that i need to use Can someone help?I dont have files in...
View ArticleUnable to get OS from VIX API
I am trying to get OS Name by using VIX API in Java. Syntax :osName = vixVmHandle.readVariable("GuestOS", VixConstants.VIX_VM_CONFIG_RUNTIME_ONLY); in above command I am getting null value in One ESX...
View Articlepreventing multiple clients controlling a vm
I am using the VIX API to do a simple set of operations I open a vm, revert to a snaphsot, then power on the vm and run some commands on it. Finally I close it. I have one difficulty in that the vm can...
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 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 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 Articlevmrun insufficient permissions
hello everyonewhen i try to start a vm using the following commandvmrun -t esx -h https://myserver.com/sdk -u domain\user -p ******* start "[datastore1-mydata] vmname/vmname.vmx"i get an error message...
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 ArticleHow 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 ArticleVMWare API: Create a Web for see my VMMachines status,info...
Hi all, I'm new in the VMWARE API World. I wish to create a web that let users check their VMMachine Info, status and also Reboot,Start or Shutdown. I've been looking for some info but I'm becoming...
View ArticleAPI for Get-template?.
Hello All,I am trying to find VMware template API command, what we use to get the templates from the vcenter using get-template command in the power cli method. IS anybody know, is any handy guide...
View ArticleFrom where i can get the VMCI SDK which can be used in c# development...
HI,I want to implement communication between guest and host machines of a VM using VMCI . My development platform in c#.From where i can get the VMCI SDK which can be used in c# development environment?
View ArticleCan VIX be used to get UPTIME
Can VIX be used to get UPTIME as seen via a column in vSphere client? I am not looking for the client OS uptime. I'm looking for the time since it was started or since it was last resumed from pause.
View ArticleIs there any way to check if VMware tools is installed in a powered off VM?
I would like to know whether or not a VM has VMware tools installed without having to power on the VM. Any help is very much appreciated.
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 ArticleManage VMWARE by python
Good morning to everybody,I'm working to write a script python to manage a virtual machine, I choose, for example, VMware. To realize this script I need vmware's API and a library, called libvirt....
View ArticleAbout undocumented VIX API
I would like to be able to configure networking as well as set vcpus and memory of my VMs, and so on. It seems like the VIX library includes a whole bunch of functions that are not exposed in the...
View ArticleDifference between VIX API TO VSPHERE API
Helloi am a very "green" in vm world and i am trying to create some simple implication c# that will read the data from vcenter about machine and will deploy machine in a future .rom what i have learned...
View ArticleVSphere 5.5 with Vix 1.12 - Cancelled Operation
We are performing a number of guest operations through Vix (1.12), mainly to execute script files over virtual machines (Windows 2008 R2) hosted on VCenter 5.5 (Esxi hosts 5.5). Some of the blocking...
View ArticleVIX 1.1.3 and Delphi 7
Hi everyone, I started porting VIX API calls on Delphi (using Delphi 7 upd. 1) and first tests are encouraging (I can connect to a host, start a VM, stop it, suspend it, login, logout, run...
View Article