All Posts

Is there an official roadmap for VI Perl Tool Kit or a timeline for when some of the things like 'customizable views' and the VI Perl appliance might be available?
I'm using the vi perl toolkit to build a web application that allows users to connect to a VirtualCenter and interact with their Virtual Machines. They have to login at the beginning and a sessio... See more...
I'm using the vi perl toolkit to build a web application that allows users to connect to a VirtualCenter and interact with their Virtual Machines. They have to login at the beginning and a session is used to keep the connection to the VC. My question is: Is there a limit number of sessions that can be established to one VC? In this case it may be possible that 100 or more users are connected at the same time to one VC. Thanks, Benjamin
Hi, I'm getting this error from a call to VMGuestLib_UpdateInfo (error code 3). Guest SDK library is there of course and the session opens successfully. The error doesn't occur in other VM... See more...
Hi, I'm getting this error from a call to VMGuestLib_UpdateInfo (error code 3). Guest SDK library is there of course and the session opens successfully. The error doesn't occur in other VMs on the same host. VMware Tools are installed in all the VMs on the host. The Guest API is not disabled in the VM's configuration file (no isolation.tools.guestlibGetInfo.disable = "TRUE" entry in it). I've run out of ideas. I'd appreciate any help or slightest suggestions.
A recording of today's "Virtual Machine Reconfiguration" webinar is being posted at http://www.vmware.com/vmtn/technology/developer/webinars/. --Harvey
Is there any way to decrease the amount of time it takes to connect to the host? Disable SSL, etc.
Suggest that you attend the webinar today. H
Hello ! I want to add floppy and cd-rom drive (client side) to the machine i make. Would someone have a sample code ? USB would be sweet also. Thanks Arnaud[/i]
Thanks I thought that might be the case since the option was not offered in Virtual Center but it never hurts to ask.
Look at the http://pubs.vmware.com/vi301/sdk/ReferenceGuide/vim.cluster.DrsConfigInfo.html this will tell what objects that you need to monitor. Basically, from a Host Object, you would fin... See more...
Look at the http://pubs.vmware.com/vi301/sdk/ReferenceGuide/vim.cluster.DrsConfigInfo.html this will tell what objects that you need to monitor. Basically, from a Host Object, you would find the owning ComputeResource and then follow the data from there.
At present there is no way to grown a VMDK using the SDK. The "edit" method is to replace it. You can use VMKFSTOOLS on COS to modify the VMDK size, if I remember. It's on the list of ... See more...
At present there is no way to grown a VMDK using the SDK. The "edit" method is to replace it. You can use VMKFSTOOLS on COS to modify the VMDK size, if I remember. It's on the list of futures to enable that via the SDK. Programmatically, your choice is to create a new VMDK with the required size. Copy the old contents to the new and then replace the drive.
I am trying to increase the size of an existing hard disk using the SDK and Java. I set up the file backing (VirtualDiskFlatVer2BackingInfo) and the virtual disk (VirtualDisk) with the same va... See more...
I am trying to increase the size of an existing hard disk using the SDK and Java. I set up the file backing (VirtualDiskFlatVer2BackingInfo) and the virtual disk (VirtualDisk) with the same values as I used to create the hard disk initially. I then set the device and operation in the VirtualDeviceConfigSpec. The operation is set as "edit". The task completes successfully but the disk is not set to the size I requested. Setting the file operation causes an 'invalid operation' error from the VC. I have tried setting the DiskMode in the backing to both 'persistent' and 'append' but this does not seem to make a difference. Can anyone supply some guidance on this? (I am already signed up for the reconfigure webinar on Thursday)
Using perl has nothing to do with the configuring the Virtual Center server. The good news is that we will be releasing a beta version of the VI Perl Toolkit in the next few weeks which should m... See more...
Using perl has nothing to do with the configuring the Virtual Center server. The good news is that we will be releasing a beta version of the VI Perl Toolkit in the next few weeks which should make it easier to you to install and run the supplied sample app. I would suggest that you install that beta when available. H
I'll start with what's happening with the Linux environment. First it might help if I explain what I'm trying to do. I am building a Rexx wrapper for the VMWare Vix API to enable VMWare Ser... See more...
I'll start with what's happening with the Linux environment. First it might help if I explain what I'm trying to do. I am building a Rexx wrapper for the VMWare Vix API to enable VMWare Server to be controlled via a Rexx program. I am generating the wrapper code from the vix.h header file. Linking against the libvmware-vix.so that comes with VMWare Server 1.0.3, and a number of undefined references result; I assume that these are functions in the 1.1 Vix API that are only available when using Workstation. This is not a real problem, but annoying that there are incompatibilities between the two products. As far as linking with the libVixAllProducts.a static library and having to install an old version of gcc is not an ideal situation when you are distributing a wrapper library for other to use and providing installation instructions: "You will need to download the Vix API SDK, and install an old version of gcc." This is not going to encourage people to use it; I'm not even prepared to install an old version of gcc just to try and make this work. Using code that used to work with the 1.0 Vix SDK, I now get the error: "One of the parameters was invalid" on Vix_HostConnect(). Now with an API function that takes 9 parameters, this is a useless error message; at least WHICH parameter is in error would help. I tried using 1 as the ApiVersion as suggested in another thread. Details of the problems I'm having with the Windows version of the Vix 1.1 SDK will be posted in another post. Seriously considering moving back to the 1.0 SDK. Cheers, Mark
Just to clarify: VixVM_LogoutFromGuest is \*not* supported for Server 1.0.x.
Yes, VixVM_LogoutFromGuest() was added after server 1.0.x. Though it looks like the per-function docs have that wrong, and I'll fix them.
I have everything working properly but one question I have is LogoutFromGuest a valid function for VIX 1.0 and Server 1.0.3?[/b] It returns the same protected memory problem that is thrown whe... See more...
I have everything working properly but one question I have is LogoutFromGuest a valid function for VIX 1.0 and Server 1.0.3?[/b] It returns the same protected memory problem that is thrown when trying to connect to VMwareServer with VIX 1.1/2 API Version being passed instead of 1.0. I just find it kinda odd that you can login to the guest tools but not remove authentication of it, even though this step seems unnecessary. For reference I am using VIXcom 1.1 API and sending the connection string as Version 1 for VMware Server 1.0.3. When calling job = vm.LogoutFromGuest(Nothing) Error Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Learn more about the using the VI API for Virtual Machine Reconfiguration from the comfort of your own desk. Register for a free webinar: VI API Webinar Series: Virtual Machine Reconfigu... See more...
Learn more about the using the VI API for Virtual Machine Reconfiguration from the comfort of your own desk. Register for a free webinar: VI API Webinar Series: Virtual Machine Reconfiguration This Thursday, May 24, 2007 11:00 am Pacific Daylight Time / 12:00 noon MDT / 1:00 pm CDT / 2:00 pm EDT Duration: 1 hour Presenters: \- Henry Robinson -- Director, Product Management, VMware \- Harvey Alcabes -- SDK Product Marketing Manager, VMware Learn how to perform Virtual Machine Reconfiguration using the VMware Infrastructure API technology with Virtual Center and ESX Servers. This Webinar will discuss: \- the VMware Virtual Hardware Architecture \- the VMware Infrastructure Object Model \- illustrative examples using VI Perl Toolkit sample scripts \- troubleshooting and debugging techniques. For registration information, presentation slides and sample code go to http://www.vmware.com/vmtn/technology/developer/webinars/ After the webinar a recording will be posted here.
I was hoping to be able to run it, but I since I have no knowledge of perl, I failed. If it is not to much troubles for you, can you tell me what I need to install and configure on my virtual ... See more...
I was hoping to be able to run it, but I since I have no knowledge of perl, I failed. If it is not to much troubles for you, can you tell me what I need to install and configure on my virtual center server, in order to use it. Thanks.
Hello, Pls assume there is VC server and ESXes that configured HA cluster. In this environment, I wanted to change one ESX (named ex, ESX-A) to maintenance mode from my application via VI-SDK... See more...
Hello, Pls assume there is VC server and ESXes that configured HA cluster. In this environment, I wanted to change one ESX (named ex, ESX-A) to maintenance mode from my application via VI-SDK for doing some config changes to ESX-A. It's basically works, but if HA is working same time to move VMs to ESX-A, ESX-A is going to maintenance mode but HA is failed. My expectation for app's behavior is to get an error if HA is running and stop to maintenance mode. So, I want to add some check code if now HA is running or not. Does anyone know is there a way to check if HA is running from VI-SDK? Please advice,
This also solved my problem with Visual C+, unfortunately not DevC+ The C code connect example[/b] #include "stdafx.h" #include <vix.h> int _tmain(int argc, _TCHAR* argv[]) { VixHan... See more...
This also solved my problem with Visual C+, unfortunately not DevC+ The C code connect example[/b] #include "stdafx.h" #include <vix.h> int _tmain(int argc, _TCHAR* argv[]) { VixHandle jobHandle = VIX_INVALID_HANDLE; VixHandle hostHandle = VIX_INVALID_HANDLE; VixError err = VIX_OK; jobHandle = VixHost_Connect(1,VIX_SERVICEPROVIDER_VMWARE_SERVER,NULL,0,NULL,NULL,0,VIX_INVALID_HANDLE,NULL,NULL); err = VixJob_Wait(jobHandle, VIX_PROPERTY_JOB_RESULT_HANDLE, &hostHandle, VIX_PROPERTY_NONE); if (VIX_OK != err) { printf("\nError: %i",err); printf("\n%s\n",Vix_GetErrorText(err,NULL)); goto abort; } else { printf("connection success!\n"); } Vix_ReleaseHandle(jobHandle); abort: return 0; }