Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Browsing all 34639 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to check machine is ready for login?

Hi, As per the documentation I check the availability of VMware tools to know whether machine is ready for login. Then I call VixVM_LoginInGuest. I do have some of the machines those don;t have the...

View Article


Disable UI operations when VIX Automation is progress

I am doing the automation using VIX APIs. I do take the snapshot, run programs inside VM etc. WHen the VIX is doing its automation part I don;t want user to mess up the work using GUI. Here i mean take...

View Article


How to store the result of "which gcc"?

using VIX api I want to copy a C file into the guest and compile it and run it. the problem is with compiling the C program. Here we need to supply the full path of gcc. but I full path might not be...

View Article

VIX_FIND_REGISTERED_VMS supported Products?

Which VMware products support VIX_FIND_REGISTERED_VMS in VixHost_FindItems? I tried in VMware Server 2.0, it works fine. But with Vmware Player 3, it does not work.

View Article

libvixAllProducts.so: cannot open shared object file

on ubuntu 9.10 with VMware-server-2.0.2-203138. compiling is fine but when I try to run the program, I got the following error: error while loading shared libraries: libvixAllProducts.so: cannot open...

View Article


VixVM_RunProgramInGuest doesn't start right after the vmware is powered up

I have a vix program with common tasks including start the vmware, wait for vmware tool, then run a program in guest. The problem that I encounter is that my program in guest never get started right...

View Article

How 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 Article

Issue calling VIX API from vSphere Client

We are calling the VIX APIs from the vSphere Client Plug-in. I am loading the vSPhere Plug-in with vSPhere Client 4.1. When I call VIXHost_Connet for VMWare WOrkstion 7.1.X, I get the below error....

View Article


RunProgramInGuest Hangs

Hi, I need help...I have a problem using RunProgramInGuest I run the program inside the VMWare and it works however the problem is if the program runs too long (more 20 minutes) inside the VMWare, my...

View Article


VIX APIs are VERY SLOW with VMware Server 2.0.2

I using vix api to automate the VM operations with vmware server.  The  VixHost_RegisterVM, VixHost_OpenVM, VixHost_UnregisterVM are very slow. Each of these functions are taking 8 to 10 mins to...

View Article

VIX-Perl 64-bit version

Hello, I am using workstation 7.0.1 (Host is in Windows 7 Ultimate 64-bit version). While trying to build and install the VixPerl I'm getting the following error: VixBinding.obj : fatal error LNK1112:...

View Article

vix using esx

Can you guys help me with my code. It stops at HostConnect: use VMware::Vix::Simple;use VMware::Vix::API::Constants;my $err = VIX_OK;my $hostHandle = VIX_INVALID_HANDLE;my $vmHandle =...

View Article

windows 7 on Workstation 6.5.4: VixVM_RunProgramInGuest fails

Hi,I wrote a simple program that would turn on a vm, copy a file and run an executable file.Please see the code "run.c", attached.My workstation is 6.5.4 and I have two os's: windows xp and windows 7...

View Article


connect 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 Article

[Urgent] Please help me out - Invalid user name or password on Guest Ubuntu

Hi, Ater searching on Google for 1 week, I have finally came here. please help me out. I have Windows 7 host OS and Ubuntu 11.04 for the Guest OS on running VMWare Workstation 6.5 I have any problem to...

View Article


Compiling on Windows With Wrapper Library

Hi, I am new to VIX API. I have downloaded the SDK and the samples. I am unable to compile the sample code. I tried to follow the instruction at:...

View Article

Script Types supported by VIXVM_RunScriptInGuest call

I am writing a program which will run the scripts inside workstation based VMs. I am curious to know, what all scripts types supported by this VIX call  i.e. .bat .sh .vbs etc.... I don;t see any...

View Article


There was an error in communication

ESX version: 3.5 U4VIX version: latest Command run:C:\Program Files (x86)\VMware\VMware VIX>vmrun -T esx -h https://172.17.235.10/sdk -u serveruser -p serverpass -gu administrator -gp guestpass...

View Article

VIX connection problem to LabManager

Hello, I am new to LabManager and VIX. Please help if possible. I have an account with a LabManager that I access with https://labmanager.mycompany.com I tried to connect to the LabManager with VIX...

View Article

Error code 3 VixHost_Connect Issue

VixHandle hostHandle = VIX_INVALID_HANDLE;   VixHandle jobHandle = VIX_INVALID_HANDLE;   VixError err;   // Connect as current user on local host.   jobHandle = VixHost_Connect(VIX_API_VERSION,...

View Article
Browsing all 34639 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>