Cannot 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 ArticleVIX function to find guest OS volumes
hello I am trying to find volumes of guest OS is there any function or method in VIX.Thanks in advance
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 remove a shared folder
I'm using the VixCOM API with VBScript and I attempted to use the AddSharedFolder() call, and got the error that the shared folder "Already Exists". There seems to be no way to pre-emptively remove the...
View ArticleVMWareTasks: A VIX API C# Library (let's reinvent less wheels)
I posted a CodeProject Article this morning with a VMWareTasks C# library on top of the VIX API. It exposes a better programming model for the 99% of those synchronous VMWare scenarios where you don't...
View Articleconnect failed, 30007 failed to connect to host or proxy
have the following code: #!/usr/bin/perl## Copyright 2006. VMware, Inc. The use of this code is subject to # your agreement to the terms of an applicable VMware license.### This test opens the host,...
View ArticleMemory leak when using the wrapper library?
When compiling the following code against the windows wrapper library, I seem to have an memory leak. After ~1500 reverts is has consumed about 170 MB of RAM. It starts as about ~7MB. After ~50 the...
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 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 ArticleVIX Perl, VMRunProgramInGuest and reading exitcode
Hello all,is there posibility to read exitcode that program executed via VMRunProgramInGuest returns? I mean in Perl.I found that there is a VIX_PROPERTY_JOB_RESULT_GUEST_PROGRAM_EXIT_CODE but this is...
View ArticleProblem with VMware Server 2.0 Beta and VIX API 1.5 (Vix Perl)
I am working on Windows XP. I have VMware Server 2.0 Beta and the Vix Api that comes with that. I have successfully compiled on Visual C++ Toolkit 2003 as well as on Visual Studio 2005 the Vix Perl...
View ArticleLinker error with Visual Studio 2008 (VS 2008) and Vix API 1.6.2
Tried to compile a project with the sample PowerOn.c and statically linked VixAllProductsd.lib. Receive some errors from the linker: 1>VixAllProductsD.lib(pollDefault.obj) : error LNK2019:...
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 ArticleLinker Error in VS2005
Error 2 error LNK2019: unresolved external symbol __imp__WSAEventSelect@12 referenced in function PollMapSocketToEvent e:\My Documents\Visual Studio...
View Articleconnect to ESX VM from VBScript ( VIX or VmCOM) - Urgent :(
I have a ESX 3.5 Server running few VMs I have a urgent request to write vbscripts to do switch on a machine "VM-x" remotely, copy a batch file from my local windows XP host to this VM-X and then...
View ArticleCRITICAL **: file ..\..\..\gobject\gobject.c: line 1737: assertion...
I've got a C# console app that uses VIX 1.6.2 (to connect to ESXi v3.5.0Sometimes during a call to Connect, the text:(MyConsoleApp.exe:5508): CRITICAL **: file ..\..\..\gobject\gobject.c: line 1737:...
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 Articlehow to config the function RemoteDisplay throuth vnc by vmrun?
i'd like to remotely control the virtual machine by vmrun. but i can't make it work the RemoteDisplay throuth vnc all the time with vmrun command. here is my cmdline: vmrun -T ws...
View ArticleWhich API for enumerating datacenters/clusters/hosts/vms in VC?
Hi, I'm new to the APIs so this may be the wrong place for this discussion. I was thinking about using VIX to automate some tasks but i think first i'd like to be able to connect to virtual center 4...
View Articleis it possible to find the absolute path of vmx using vix api?
Hi, I want to know where the vmware machine is installed and the configuration files available. using the vix api I can easily found the vmx file path but its giving the path name like...
View Article