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

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 Article


CopyDatastoreFile_Task strange behaviour

 Hello,  I need to copy virtual disks (or files) between datastors in VI. I am using VMware Infrastructure (VI) API from perl. Initialy I tried to use CopyVirtualDisk_Task, but it apeared that it works...

View Article


Throwing vmodl.fault.RequestCanceled without actually having cancelled a request

I'm running VMware Server 2.0.0, Build 122956, and Vix 1.6.2, Build 127388, on an Ubuntu 8.04.03-LTS system. The setup works reasonably well most of the time - I've been able to do VM management via...

View Article

Can i configure installed virtual machine programatically?

Hey guys, is there any low level api which allows me to configure installed virtual machine using c#? (like increasing memory or adding n/w adapter)Vix api doesn't provide such functions.

View Article

Backup VMs

 hallo!  i have a problem automatically backing up my vms running on esxi 4.0.0 208167.  i purchased  vsphere essentials to get full access to the api. installed the newest vsphere powercli on a...

View Article


Image may be NSFW.
Clik here to view.

vmrun fails on ESXi 4.1

I need to use only one simple command, but it unfortunately ends up with error on ESXi 4.1. The command is: vmrun -T esx -h "https://x.x.x.x/sdk" -u root -p ****** stop "[Datastore] New Virtual...

View Article

VIX Illegal instruction (core dumped) on Ubuntu using sample code

Hi, I'm trying to learn VIX but can't even get beyond the first connect call.I get a Illegal instruction (core dumped) in SSL_InitEx () Anyone any ideas? Thanks, Jan // c-program #include...

View Article

runProgramInGuest with Switch

Hello, I am attempting to use KIX to initiate a korn shell script with a switch however I get the following error.  Please let me know if there is a way of accomplish this, my only other option is to...

View Article


Executing "vmrun runScriptInGuest" on FreeBSD 8.2 guest

Hello, I would like to use VIX API to run some custom scripts on FreeBSD system. For that purpose I installed VMware Player 4.0 on my Windows 7 x32 host system, and then installed FreeBSD 8.2 guest...

View Article


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

ListProcessesInGuest doesn't display command line in 64bit VM

Hello all, I don't know if there's a reason or it's a bug, but If I run     > vmrun -T ws -gu guestUser -gp guestPassword listProcessesInGuest VM.vmx32bit VM will display the command line and 64bit...

View Article

vix-perl installation problem

Hi,I'm trying to install vix-perl module on a Windows server with cygwin as build environment.I have unzipped the vix-perl tar in a directory and succesfully executed the 'perl Makefile.PL'...

View Article

Problems using vmrun on ESX3.5

Hopefully a quick question because I'm missing something obvious. I am running vmrun version 1.12.1 against an ESX 3.5 Server and am getting partial sucess. If I run: vmrun -T ESX -h http://{ip...

View Article


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

Getting "VMware Tools are not running in the guest" from VIX, but tools are...

I'm having an issue with a Perl VIX script that I am writing. I am connecting to a VM, I wait for the VMWare tools using VMWaitForToolsInGuest, and then I execute a VBScript. After about 15 minutes, I...

View Article


vim-cmd vmsvc/snapshot.removeall command took about 20 mins to finish

Experts, I am using command line tool vim-cmd to control my Vsphere clients' snapshots.Because I can not use vim-cmd to identify one snapshot by name, need to provide Index and Level, which I dont...

View Article

issues getting the VM to "notice" runtime changes I've made via the VIX API?

Hello there!  I appear to have run into an interesting quirk in some automated testing I'm setting up using the VIX VM Perl API, and was wondering if anyone had seen anything similar and/or could offer...

View Article


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

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

DHCP Server Lease Time

 I noticed that the dhcp lease time inside my VM is set to 30 minutes.  Where/how can I adjust the time to increase the lease time?  thanks,  Rod   

View Article
Browsing all 34639 articles
Browse latest View live


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