Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Browsing all 1860 articles
Browse latest View live

vmware queryAvailablePerfMetric fails

I am connecting to vmware 5&6's wsdl URL, https://ip:port/sdk/vimService .AppUtil cb =.....String entityType= "VirtualMachine";String entityName = "LinuxInstance1";ManagedObjectReference mor =...

View Article


Image may be NSFW.
Clik here to view.

Getting Esx and guest Vms Performance Data Using Vmware Sdk vmware.vim C#...

I'm using vmware sdk for .net to get overall data from an esx host and its guest vm'si've connected to esx server and got some data from guest like max cpu,max memory,ip and etcnow i want to get...

View Article


Image may be NSFW.
Clik here to view.

Performance Metric: cpu.wait.summation - what is it summing over?

I'm using SOAP requests to QueryPerf to pull some performance data about VMs.   The request I'm making uses the realtime interval (20s), and pulls cpu.wait.summation amoung other things. For one VM,...

View Article

Image may be NSFW.
Clik here to view.

Problems setting the EnterLockdownMode Method with SOAP / PHP

My question is hos to I use PHP / SOAP calls to  enable Lockdown mode?  The ESXi host is controlled via a  vCenter Server and I'm able to connect to the system and perform other tasks. Hers a quick...

View Article

Image may be NSFW.
Clik here to view.

Retrieve vCenter instance name

Hi,How can I retrieve vCenter's instance name with SDK?In vsphere Client i can see the name (in image below : SRVCENTER): I could not find it in any object...Thanks in advanceHenry

View Article


Image may be NSFW.
Clik here to view.

How 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 Article

vCenter 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Could 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 Article


Image may be NSFW.
Clik here to view.

Deleting 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 Article

How 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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Getting 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 Article

What 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 Article


Image may be NSFW.
Clik here to view.

MOR 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 Article

Image may be NSFW.
Clik here to view.

virtual 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 Article


Latest 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 Article

Image may be NSFW.
Clik here to view.

how to get past this error? "Cannot find 'vimService.wsdl' wsdl. Place the...

Hi, I download the VMWare management SDK 5.1 with Java samples. I ran the build.bat file to build everything (I had to tweak it to get it working because it didn't like the spaces in "Program Files",...

View Article

Set 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 Article
Browsing all 1860 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>