Re: Need start up with VMWare API in c++
So there isn't any official C++ documentation and example code bits. You won't have tooling like AppUtil which are libraries added into the dotNET and Java tool kits. That being said, myself and...
View ArticleLooking for windows 64-bit version of VDDK
The Virtual Disk SDK for windows is only for the 32-bit version. Does vmware support the 64-bit windows version ? thanksahalimz
View ArticleRe: Help! Why does my script crash my vSphere server?
Just posting an update here... Still no joy on the script. Vmware support wants me to use CreateVM_Task which isn't SRDS aware and thus doesn't meet my needs. I did post to developer.vmware.com forums...
View ArticleRe: Looking for windows 64-bit version of VDDK
Hi ahalimz! Take a look at Installing the VDDK Package section "To unpack Windows 64-bit Libraries". To get good response to VDDK related questions please post VDDK questions in the VDDK forum. Please...
View ArticleListing visible resource pools
Hi, I am trying to list the resources pools in vCenter using vijava, and got a list including the hidden "Resources" resources pools. May I know how I can filter out these hidden pools? ThanksKH
View ArticleTaskFilterSpecRecursionOption self doesn't seem to work
I'm trying to run a TaskHistoryCollector and in the TaskFilterSpec I want to use the Entity property.I specify a MoRef to an entity and define the recursion as "self".This doesn't return any TaskInfo...
View ArticleRe: TaskFilterSpecRecursionOption self doesn't seem to work
The "self" recursion seems to work when the Entity is a VirtualMachine, but not when the entity is a HostSystem or a ClusterComputeResource
View ArticleRe: Need start up with VMWare API in c++
Just adding to the above, this is a better link to refer https://github.com/bfzhao It is the link by the same author, but will additional projects. There is a project for Windows which has complied...
View Articlenode.getSnapshot() returns null
I need to revert a set of 6 snapshot. I use code from the VMSnapshot.java example: First get a list of VirtualMachineSnapshotTree and call the traverseSnapshotInTree method:...
View ArticleRe: node.getSnapshot() returns null
Auto-response in case somebody has the same problem: The example code is wrong:The full code of traverseSnapshotInTree:1 private static ManagedObjectReference...
View ArticleGuestProcessManager C#
Hi, I tested WebService SDK 5.1.0 , but it didn't work.The code is below. I think GuestProcessManager TYPE and VALUE is wrong.I can't find the TYPE and VALUE character string in any resource.(The...
View ArticleRestore VM to ESXi server and VSS
Hello.I have two questions about restore VM to ESXi server and VSS. I.This page http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vddk.pg.doc_50%2FvddkBkupVadp.9.6.html says: “Windows...
View ArticleRe: GuestProcessManager C#
Hello. I obtained this moref as: ManagedObjectReference _guestOpManger = _ecb.getServiceConnectionV25().ServiceContent.guestOperationsManager;ManagedObjectReference _processManagerRef =...
View ArticleRe: node.getSnapshot() returns null
You are right. By the way, C# version of this sample is correct:private ManagedObjectReference traverseSnapshotInTree( VirtualMachineSnapshotTree[] snapTree, String findName, Boolean print) {...
View ArticleRe: GuestProcessManager C#
Dear Alexey You are a genius! That work correctly. Thank you so much. H.Nishi
View ArticleRe: vSphere API to fetch datastore is taking huge time.
Thanks stumpr,Based upon your suggestion I have coded in below fashion. I need to make improvements in below code for two things. 1. The code below will scan all hosts present in datacentre. Instead I...
View ArticleRe: Get every vm inside folder
Hey. Thanks for the answers. You mention that I can call the retrieveProperties to find my folder. However I can't find no such function? I'm guessing I need to include something in order to get that...
View ArticleRe: Get every vm inside folder
Bear in mind that just using getChildEntities() won't return nested folders unless you recurse through them. That's why I suggested a ContainerView. RetreivePropertiesEx() is the method call name,...
View ArticleRe: Get every vm inside folder
Hey Stumpr. Thanks for the quick answer. Is there anywere where I can see an example of the containerView in action?
View ArticleUnable to install Windows Server 2012 - HAL_INITIALIZATION_FAILED
Hello. We are unable to install Windows Server 2012 on our vSphere. Error is "HAL_INITIALIZATION_FAILED"Screen Attached. Could you help me ? Best RegardsDon
View Article