Need Help on ExtendVirtualDisk_Task on .NET SDK
Hi , I am developing an app to upgrade the hard disk of a VM. ExtendVirtualDisk_Task seems to be the API to extend the hard disk. However it is throwing the below exceptions when trying to upgrade the...
View Article"code too large" - Javac complains about VimServiceStub.populateFaults method...
Hi, I am trying to genreate jar file from java classes by compiling the Vsphere wsd, using the Axis2 wsdl2java utility. Java complains that the code is tool large for method populateFaults in...
View ArticleHelp creating a VApp from perl
So I'm trying to use CreateVAPP to create a new barebones Vapp and I'm running into problems. I have this call: my $vapp = $rp->CreateVApp(name => "Test_for_DR_Script", configSpec =>...
View ArticleActual memory and CPU usage of ResourcePool managed object - which one is it
Hi, I'm creating a simple web page with jsp and Web Services SDK for monitoring usage of resouce pools.I'm getting usage information from ResourcePool MOR using (ResourcePool...
View ArticleThroughput by traffic type on a vSwitch and/or distributed switch
Hello, I am currently working on a piece of software that determines how much of different types of traffic is flowing through switches in my VM environment. I am collecting throughput information...
View Articledatastore.siocActiveTimePercentage.average returning odd values
When you look at the datastore.siocActiveTimePercentage.average value through the vSphere Web Client you see either a 0 or a 100 for each datastore connected to a Host. When I query that same counter...
View ArticleVcTag scripting object
I am not sure if I missed the memo or what but it seems that in 5.1 custom fields are now read only and everything needs to be converted to tags. I am trying to figure out how to programatically...
View ArticleUsing copyVirtualDisk_Task with ESXi 5.5 API
Hi! So far I used the method "copyVirtualDisk_Task" of the API on an ESXi 5.1 server to copy a vmdk file on the datastore - and it worked well.With an upgrade to version ESXi, 5.5.0, (Build 1331820) it...
View ArticleHow to find disk usage of a thin provisioned virtual disk?
Hi I have a virtual machine having a thin provisioned virtual disk. The disk's allocated size is 8 GB but used size is around 2 GB. I am interested in knowing is there a why of finding out the used...
View ArticlevSphere & SOAP - API from Hell
We are trying to use the vSphere SOAP API to gather some statistics and informations about running systems. During our development we have found so many stupid, useless, and irritating things,that i...
View ArticleDirectory copy using InitiateFileTransferToGuest ??
Hello experts, I do have the question related to the FileOperation using the vSphere API. Q: How can we use the InitiateFileTransferToGuest() to upload the directory ?- Do we have to browse through...
View ArticleMaking Desktop Pool
hi, Everyone. I want to make VMware Desktop Pool with making VM.And I Know There are exist VMware Horizon view Administrator web Page. but There are may step for making the Pool.So, I want to make a...
View ArticleHow to get VMs from datastore cluster?
Hi,Im trying fetch VMs from specific storage pod (datastore cluster) using ContainerView and PropertyCollector (example code use rbvmomi but I think it's more generic question): pc =...
View ArticlecreateSnapshotTask with SE-sparse disk type
In Vmware's Horizon View Linked Clones are of a disk type SE-sparse. Is there any programmatic way to take a snapshot (basically linked clone) and to have it use the se-sparse type?We currently use...
View ArticleC# vSphere SDK: advanced search with VimClient.FindEntityViews()
Hi, i'd like to do some advanced search with VimClient.FindEntityViews(Type viewType, ManagedObjectReference beginEntity, NameValueCollection filter, string[] properties). Actually i get some VMs based...
View Articlec# exportvm lease never gets past initializing.
I am trying to export an ovf utilizing the powershell tools Vmware.Vim.dll and When I try to create a export job the job just stays in the initialize state and never changes to the ready state and the...
View ArticleWay to get HA dedicated failover hosts via java SDK
Hi, I'm using java VMware vSphere SDK 5.0.0 to get properties of managed object. I set two hosts as dedicated failover hosts for HA admission control policy. I wanna this failover host list from SDK...
View ArticleProperty value getting by PropertyCollector is null but exists in the MOB
Hi, calling createVmfsDatastore(...) needs a MOR to a HostDatastoreSystem MO.I use the PropertyCollector to retrieve the property value of the property...
View ArticleRecommendDatastores with C# throws an error - The object has already been...
Hi All, I'm new to VSphere. I have written a C# program to clone VM. Earlier we have used CloneVM_Task and it worked fine but now we are changing our environment to Datastore-clusters so I have...
View ArticleinstanceUuid from the ServiceContent AboutInfo
Hi, I would like to get the instanceUuid that I see in the MOB from the ServiceContent but when I retrieve and look at the returned object, instanceUuid is missing. I have tried to retrieve the info...
View Article