Get connection closed error when trying to extract data from vCenter Server...
I get the below error while extracting data from vCenter 5.5 Server using C# vSphere 5.5 SDK (The underlying connection was closed: A connection that was expected to be kept alive was closed by the...
View ArticleGetting complete list of servers and attributes directly from web services
We want to utilise web services provided by vSphere directly bypassing Java or C# libraries as part of our "environment discovery" routine which would be periodically performed by a Middleware...
View ArticleWhat is the difference between the View and ManagedObjectView?
Im reading the docs for the API reference.It looks pretty straight forward, but Im a little confused about the purpose of ManagedObjectView.According to the docs:ViewManager can be used to create...
View ArticleHow to get the configuration of a running VirtualMachine
Hello,I'm a beginner with the SDK and I'm trying to get the configuration of a running VirtualMachine.I'm able to connect to the virtual center and to the following: Dim myVM As New...
View ArticleHow do I use a local ticket acquired via VMware.Vim?
Object vSphereClient is already established and logged in. using VMware.Vim; private SessionManager GetSessionManager() { SessionManager sessionManager = null; try { ManagedObjectReference _svcRef =...
View ArticleHow do we know from which template does the Virtual Machine is deployed?
Hi Folks,I am trying to find out a property in the Java SDK saying that the specific VM is deployed from which template, something like bios uuid or any property can define the relation ship between...
View ArticleHow to start a VM?
Good morning everybody! Really quick simple question, strange that I can't find any info elsewhere, but here goes: How do I start a virtual machine using the web API? I know my VMWare hypervisor web...
View ArticleModifying virtual machine custom attributes values using pyvmomi
There is a discussion https://communities.vmware.com/thread/474322?start=0&tstart=0 which talks about creating virtual machine custom attribute using pyvmomi.I want to set and get virtual machine...
View ArticleHow to Get Running Task ID Through Vsphere Webservice
I want to get the running task ID in vcenter server. Because sometimes we need to cancel this task due to some reasons. I know I can use PowerCLI get-task to get this.Can I get the Running task ID use...
View ArticleIncompatible device backing error when editing network adapter
Hello Expert Developer,I am working on an automatic VM deployment project for vSphere. I am trying to reconfigure deployed VM and change the MAC address of its network adapter. Device type which is...
View ArticleHelp with creating baremetal VM on Storage DRS Cluster (vSphere SDK)
Hello, I would appreciate any help from anyone who has successfully built a baremetal VM on a Storage DRS Cluster in the vSphere SDK. I am using c#.I can clone vm's fine on the Storage DRS cluster,...
View ArticleIncompatible device backing error when changing network adapter address type
Hello Expert Developer,I am working on an automatic VM deployment project for vSphere. I am trying to reconfigure deployed VM and change the MAC address of its network adapter. Device type which is...
View ArticleClone VM from TPL, Change DVS Backing - Not allowed in current state
Hi all, having some issues with the cloning of a template and modifying the existing virtual network device on the way through. I am getting the error "The operation is not allowed in the current...
View Articlemount a volume always fail invoked by vmtools
Hi, I wrote a python script to execute command in guest OS by pyvmomi 6.0. The main function I used is "GuestProcessManager.StartProgramInGuest" to talk with vmtools in guest OS to execute specific...
View ArticleCreate a VM through CreateVM_Task and SOAP WebServices
Hello, I am facing a strange problem here, trying to create a VM with Php & SOAP ! I managed to connect to my vCenter, and creating an "empty" VM with no additional hardware (no deviceChange...
View ArticlePowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error
I have been developing a c# app and was using the VMWare.Vim DLL from PowerCLI 6.0. I updated my PowerCLI and now i am unable to connect to the vCenter. The connection now throws an error of "The...
View ArticleIs there any way to call system calls(like ioctl) in the SDK?
I need send a message a vmk device driver in the Java service, but I don't know whether current SDK support this.In a local application, I can use system calls to open the device and call ioctl to...
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 ArticlevCenter API description about instance for virtual disk performance counter...
We are invoking queryPerf method (vCenter API) and trying to get virtual disk performance parameter "totalReadLatency". In queryPerf output, we are getting "scsi0:0" and "scsi0:1" as instance for...
View Articlevvol datastore became inactive
Hello there After we registered our VASA Provider to the webclient(Version 6.5.0 Build 4240420),we successfully created datastores. But after we refreshing the datastores,their status came into...
View Article