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

OutOfMemoryException inside VIMService constructor

Hi, We have a 32Bit .NET application that connects to a 4.0 vSphere Server via a compiled wsdl dll. Inside the constructor of the VIMService Class we receive an OutOfMemoryException. - for what is all...

View Article


Searching for a Managed Entity

Using the VI Java API, I've seen two ways of searching for Managed Entities. For example, if I'm looking for a Virtual Machine, I could do eitherManagedObjectReference mor = new...

View Article


Composer View: List of Virtual Machines that are deleted after a logoff

Hi Community, One of our custommers has the Composer View feature bought. He wants now a list of all permanent Virtual Machines (skiping the dynamic VMs that are destroyed within a log of). I searched...

View Article

Using vCenter/vSphere API & SDK, get VM count using Java

I am trying to write administrative routines for a simple cloud management package. How do I get VM info, such as total VM count, powered VM count, etc using Java and the various vCenter/vSphere APIs...

View Article

Image may be NSFW.
Clik here to view.

how to get all OID/TRAP from VMware MIB

Hello All, I found the admin guide which mentioned SNMP for VMware,but did not find anything about OID and Trap information.Does anyone have the snmp oid/trap list. If yes, could you please pass it...

View Article


ESX Files - read only

Hi, Is there a way to read any ESX file I want through any of the API provided. As far as my research I could not find any api to get read only access to any of the ESX file I want. What I'm looking at...

View Article

How can I get the info about physical hosting device where a vCenter runs...

Hi All,    We'd like to get the info about the hosting device on which the vCenter is running, such as the its IP/hostname, CPU, memory, storage, etc. I searched through the vsphere web service SDK and...

View Article

Error: InvalidRequest when WaitForUpdatesEx is executing

Hi, all. I'd like to get vm information when VM's events are occured.I wrote a test code using WaitForUpdatesEx (vSphere 5.0) method. When I ran this, I got the following...

View Article


Troubleshoot net boot failure using the API

Hi all, We are using the API in a simple way to  Set boot device to net Wait a few secondsReset VMWait appr. 10 seconds, set boot device to net. This is done for many VMs as part of software testing...

View Article


Guest Operations - The operation is not supported

Hi, I'm using vmware.vim api in a C# project. When I try to get GuestAuthentication object with AcquireCredentialIsGuest I get the following error:"A server fault of type NotSupported with message 'The...

View Article

A general system error occurred: Invalid argument

Hi Everyone     Right now I am trying to make a copy of a Virtual Machine  and to customize the settings on the unit for deployment. Right now my  code is as follows (Note: I cleaned some of the values...

View Article

How to get the hardware's product number via web service SDK?

Hi All,    I need to get the host's serial/product numbers. I can get the serial number through,      HostSystem: hardware.systemInfo.otherIdentifyInfo[].otherIdentifyInfo.identifierValue      But it...

View Article

RecommendDatastores for Create machine fails with an Internal Server Error...

Hi,I am trying to create a virtual machine in a cluster using a storage pod cluster.I am getting an error when calling the RecommendDatastores.The error looks like this:Internal Server Error Occured:...

View Article


Retrieve disk read/write statistics doesn't work

I'm busy retrieving VM statistics using the VMWare VSphere API (in Java). Retrieving memory or cpu statistics is no problem at all but I can't find the way to retrieve disk read/write statsitics (over...

View Article

How to retrieve virtual disk reads and writes?

Hi everybody, I've been able to get all kind of information, but I haven't found how to retrieve the virtual disks I/O (reads and writes). Does anybody know how I could retrieve the I/O information of...

View Article


how to get specific nic usage for a vm using vcenter api?

Hi,    how to get specific nic usage for a vm using vcenter api? Kindly help me on that . I'm in need.     Thanks,alex

View Article

Error connecting to SRM Server with API

OK, I have created the required stub file from the WSDL definition on the SRM server and can see all the classes within. But when I try to connect to the server using the code below, I keep getting an...

View Article


Image may be NSFW.
Clik here to view.

How to get object name from metric instance ?

When i receive my performance information for disk latencies i have my PerfMetricId[] Array with all the available metrics. If i pick out the disk metrics i want, the instance is something like this...

View Article

Image may be NSFW.
Clik here to view.

vmrc connect ESXi 5.1 error

vmrc5.1 connect ESXi 5.1 errorAs follows----------------------------------------------------------------------------------------------------- vmrc4.1 connect ESXi 5.1 errorSuccess   is ok , No errors

View Article

Download location for VASA SDK

Hi AllKindly help me to find the VASA sdk download location ThanksSiva

View Article
Browsing all 1860 articles
Browse latest View live


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