All Posts

Ah, I just discovered I had both the old and the new SDK extracted to the same directory, and I'd been looking at the literature for the v1.* SDK.
I am not able to access the link you have provided. I am getting the following error message: "Error: you do not have permission to view the requested forum or category. " If possible can you p... See more...
I am not able to access the link you have provided. I am getting the following error message: "Error: you do not have permission to view the requested forum or category. " If possible can you please cut & paste the text from that message ? Ravindra
The Programming Guide talks about the basic data loop for Java and Perl, retrieving updates and applying them incrementally. Since C# is most similar to Java and there are no actual C# docs, I've... See more...
The Programming Guide talks about the basic data loop for Java and Perl, retrieving updates and applying them incrementally. Since C# is most similar to Java and there are no actual C# docs, I've been assuming that the C# API should be like the Java one, but the stub assembly generated for C# seems to lack some of the objects mentioned (Change, VHandleList, etc). Is the data loop handled in the background by the C# stub, or has it not been generated correctly on my machine?
We will have a beta imminently (watch for postings). It will include an appliance. It will also include the ability to retrieve a subset of a managed object view. I don't want to use "custom... See more...
We will have a beta imminently (watch for postings). It will include an appliance. It will also include the ability to retrieve a subset of a managed object view. I don't want to use "customizable views" because that term was used for other things in the past. H
See this thread: http://www.vmware.com/community/thread.jspa?messageID=654314&#654314 H
I need to find out the whether an ESX host is managed by a VC or not ? And I need to find out by querying ESX Host Web Service running on ESX Host by using an HOST SDK API. I do not want to go t... See more...
I need to find out the whether an ESX host is managed by a VC or not ? And I need to find out by querying ESX Host Web Service running on ESX Host by using an HOST SDK API. I do not want to go through via VC SDK Web Service. I tried to use HostSystem.QueryHostConnectionInfo()[/b] by calling on ESX Host Web Service connection, which returns HostConnectInfo, this object contains a member "serverIp" whose value as explained in VI SDK Reference guide:” The IP address of the VirtualCenter already managing this host, if any.", But this property shows as "Unset" when I queried on ESX Host Web Service connection. But the same HostSystem.QueryHostConnectionInfo() by calling on VC Web Service connection, returns this property as my VC IP address (serverIp=xx.xx.xx.xxx) And also even I tried to check HostRuntimeInfo. connectionState, but this is always returning “connected” on ESX, but returns “connected” / "disconnected” on VC based on the current state. So even this property from ESX Host Web Service is also not useful to find whether ESX is managed by the VC or not. Is there any one who knows any other reliable way to find whether ESX is managed by a VC or not by querying directly ESX web service ?
Given that the number of remote console connections is limited to 10 ( per http://www.vmware.com/pdf/vi3_301_201_config_max.pdf ) and approx 1500 VMs per VC for performance and management reasons... See more...
Given that the number of remote console connections is limited to 10 ( per http://www.vmware.com/pdf/vi3_301_201_config_max.pdf ) and approx 1500 VMs per VC for performance and management reasons, the theoretical there of 15000 seems rather high to me. I have seen other limits for this posted, but there is also a limit on the number of database connections from VC. I realize there is not a specific corelation from DB connections to VC sessions necessarily, especially given possible connection pooling. I created a test script with to spawn Vim::login as many times as possible. There does seem to be a default limit of 95 Active Sessions. I imagine this is a tunable in the webservices perhaps or tomcat.
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
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
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.