Re: Retrieve vCenter instance name
You'll need to login. If you are logging in, you also need permissions: This method might require any of the following privileges depending on where the property fits in the inventory tree.System.View...
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 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 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 ArticleRe: How to get the configuration of a running VirtualMachine
Hi Andrea,Please have a look at the method attached in the text file to collect VM disks information from the VirtualMachineConfigInfo object. Thanks.Viswanath private static List<VMDisk>...
View ArticleCould not set custom "guestinfo" key value pair in the VM configuration for...
I have a VM in "Powered Off" state. I am trying to set a custom "guestinfo.xxx" key value pair as part of extraconfig structure into the VM configuration file using ReconfigVM task API. Actually, the...
View ArticleDeleting a VM from ESX host leaves a VM in orphaned state in the vCenter
My ESX host is managed by a vCenter. I am trying to delete a VM from the ESX host. Actually, I tried 2 approaches. I called destroy_Task() on the VM. I also tried a different approach of removing the...
View ArticleHow to do OvfNetworkMapping in OvfCreateImportSpecParams?
Hi ,I am using vim25 JAR obtained with latest vSphere 6.0.0 management SDK . And there I have to do some OvfNetworkMapping for OvfCreateImportSpecParams . The issue is I am not able to set the list...
View ArticleHow to use vSphere Distributed switch while deployment of OVF ?
Hi ,While trying to deploy an OVF, we are facing one issue. After creating Import spec the result of the OVF create import spec contains LocalizedMethodFault as Host did not have virtual network . The...
View ArticleHow do I fetch the value of active client from vSphere SDK
The command (esxcli call) shown in the picture above lists all portgroups and associated vswitch info for an ESX host system. I am wondering how I would obtain value for "Active Client" in the list...
View ArticleGetting summary per vcenter.
Hello, I downloaded and fully configured the vCloud SDK for PERL.I want to achieve a capacity information per dc/cluster. For example, after running the script there will be output based on this this...
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 ArticleRe: Problems setting the EnterLockdownMode Method with SOAP / PHP
I was able to get this to work on my own... If you want to connect to VMware vcenter server or ESXi hosts (5.x0 then do the following; 1 ) Download the NuSoap files sourceforge. Here's a sample of how...
View ArticleMOR persistance and re-use
Hi folks. Does anyone know if the mo-refs persist throughout the life of the vcenter server? Do the mo-refs id's get re-used if an object is removed?
View Articlevirtual application clone using delta disks
I'm creating a virtual application clone. The CloneVApp_Task method takes a VAppCloneSpecProvisioningType Enum as argument. This has the following description:The cloned VMs can either be provisioned...
View ArticleLatest VASA SDK download option
Hi All, As TAP member, I am successfully able to download VASA SDK for vSphere 5.1 from https://developercenter.vmware.com/group/sdk/51/vasa But this SDK is released on 2012 for vsphere 5.1. What about...
View ArticleRe: virtual application clone using delta disks
Is a 4th option required ?Thin / thick describe the provisioning of the basedisk of a snapshot-chain.All the other parts of a snapshot-chain are build with delta-disks.So when creating a linked clone...
View Articlecpu utilization
How can I get cpu , memory and disk utilization using .NET , C#?thanks,shilpa
View ArticleSet affinity VM-VM of a group of VMs
Hi community!,I'm searching (without so much success) a example of the creation of a VM-VM affinity in a group of VMs, for example:I deploy a set of vms that need to work together in the same host...
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 Article