How to delete "Virtual Machines to Hosts" DRS rules using pyvmomi?
Hi,I am using the following code to remove a DRS VmHostRule. The vm group and the host group used in the rule do not exist anymore when trying to delete the rule (they were deleted previously).spec =...
View Article"vDS dvs port cannot be found" when deleting a port mirroring session
Hi,I have the following scenario:- create a distributed port mirroring session- add one source port and one destination port- delete the vm marked as destination together with the portgroup it belongs...
View ArticleRe: c# exportvm lease never gets past initializing.
I have the same issue. It never gets past Init and loops over and over before it gets to Debug.WriteLine("Ready")Did you ever find the solution? Dim MyVirtualMachine As VMware.Vim.VirtualMachine =...
View ArticleRe: InstantClone APi ??
I have the same question, webservices api would be great, there's already a bunch of other API that's marked experimental
View ArticleRe: c# exportvm lease never gets past initializing.
Hi Thomas!! use this![code]Private Sub DownloadVM(ByVal VMName As String) Dim MyVirtualMachine As VMware.Vim.VirtualMachine = GetVM(VMName) Dim ExportedMoR As...
View ArticleVB.net CreateImportSpec VMDK File over 2GB.
Hi Everyone, When I call this function with an end goal of uploading a .VMDK file to an ESX host, I get an Arithmetic Overflow due to the amount of memory trying to be allocated by .NET frame over...
View ArticlePerformanceManager::queryPerf is returning null for resource pool performance...
I'm using PerformanceManager::queryPerf(PerfQuerySpec[]) to query perf.cpu.usagemhz.average and perf.mem.consumed.average for ResourcePool. The same program can get return value for lower version VCs,...
View Articlevsphere Api c# - get infrastructure tree
HelloCan anybody give me an example how to list all VMs, Clusters, ESX Hosts and Datastores using api in c#?I want to get a tree like in esx vcenter client
View ArticleNeed specific event that gets triggered when the host gets destroyed which...
hi, I need the exact event that gets triggered when host that has a VM attached gets destroyed but it has a HA host which becomes active .Marianne
View ArticleRe: How to get virtual mac address of a physical nic?
Hi All,Do we have an answer for the above query.If yes,can you please route me to the solution available. I also have a similar requirement to get virtual mac address of a physical nic using sdk.This...
View ArticleLicenseAssignmentManager.QueryAssignedLicenses replacement
Hi all, I was wondering if someone could tell me how I should replace LicenseAssignmentManager.QueryAssignedLicenses calls in 6.0 version of the vSphere Web Services SDK, please? VMware documentation...
View ArticleRe: vsphere Api c# - get infrastructure tree
Have you tried reading the developer's guide?http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.pg.doc/PG_Introduction_Inventory.6.4.html
View ArticleRe: PerformanceManager::queryPerf is returning null for resource pool...
Hey, I can confirm I get non-null values for cpu.usagemhz.average against ESXi 6.0CheersDmitri
View ArticleRetrieving SAS HBA Identifier using SDK
Hello,I'm facing some issues in retrieving the SAS identifier (SAS Address) for a SAS HBA using API.However I'm able to list the SAS Address using the esx cli command " esxcli storage san sas list".Are...
View Articlecan's run web service SDK samples
hello all, I have download and compile the vsphere web service SDK and samples. but when I try to launch a simple test, it fails:➜ vsphere-ws ./run.sh com.vmware.general.Connect --basic-connection...
View ArticleRe: Multiple vlan for a port group
one more follow up question on that. can same port be part of different port group.? If that is possible , then i can configure different vlan by attaching the same port with different vswitch...
View ArticleRe: Multiple vlan for a port group
No, a virtual network adapter from virtual machine can be associated only with one port group, but you can add more than one virtual network adapter in a VM and each virtual network adapter can be...
View Article