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

Image may be NSFW.
Clik here to view.

VMRC连接ESXi的5.1错误

vmrc5.1 connect ESXi 5.1 errorAs followsAn error occurred that affected the security of the connection How to deal with?Thank              VirtualMachineMksTicket vmmt =...

View Article


Unexpected element tag "SOAP-ENV:Envelope" seen

Hi, we get this error message on every request we are trying to send via gSOAP:Unexpected element tag "SOAP-ENV:Envelope" seen Could anyone explain me, why i get this error? Here is the request: POST...

View Article


VADP & Avamar integration

Hello Everyone, Recently  we implemented Avamar image backups for our virtual infrastructure. The  performance and features have been great, however managing this config  with Vsphere 5.0 Vcenter and...

View Article

InitiateFileTransferToGuest Issues

I am trying to get the InitiateFileTransferToGuest web services call to work but i am not having any luck. I believe the issue is around the guest file path.Whne i use a path like @"c:\temp\test.txt"...

View Article

Querying license information of Esx connected through vCenter

I am validating license information of a Esx Server to find out whether a server is in Evaluvation. When connecting to a Esx server directly and taking License information either from...

View Article


c# - StartProgramInGuest

Hi, I'm very confused with VI API, I'm trying to set a startprogram in guest and I got stuck with diffrent object types, Can somebody please have a look on that.:   List<VirtualMachine>...

View Article

Reconfigure VM to modify SDRS

Is there not a way to set the SDRS rules for a VM using a ReconfigVM_Task?  I see some examples using ReconfigureComputeResource but I need to use the _Task version and don't know what cluster resource...

View Article

How to get all luns of vmfs datastore?

Hi,I need to get all luns of specific datastore through vi sdk. I see VmfsDatastoreInfo has getLun() function which returns ScsiLunInfo[], but the result is null for datastore with lun.Can anyone help...

View Article


How to use VMCI in VMware Workstation?

Dear All, I meet a problem by using VMCI. when I run the code , it shows that "connect error: Connection reset by peer(errno: 104)" here list the code of server side, which running on the host with...

View Article


How to get naa of a lun

Hi, Is it possible to get naa of a lun through vi sdk? IScsiLunInfo class has function called getCanonicalName, but probably it will not give naa, because Vsphere client doesn't show naa for a lun....

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

Grabbing DRS Power On Recommendations in Java

Greetings,      I have been trying to obtain the DRS Recommendations for powering on a VM by using the "PowerOnMultiVM_Task" method but it is always returning a ManagedObjectReference to a "Task" and...

View Article

Question about licensing

I would like to start an open source project which will use vSphere Java SDK, the project will be under BSD license. My question is : May I include and distribute the vSphere SDK .jar files in my...

View Article


SRM 5.0 API - Unable to Initiate Recovery Plan.

Forgive me if this is posted in the wrong forum but there doesn't appear to be one specifically for the SRM API. So I've downloaded the WSDL files and compiled them to a C# dll and been able to...

View Article

How can I search by moref ID (instead of by name)

I'm trying to figure out which property name to use while defining a PropertySpec object to search by moref ID.  I'm buildling a plug-in for vSphere and the value that is sent to the webapp looks like...

View Article


Image may be NSFW.
Clik here to view.

This script crashes my vSphere server

I have to be doins something wrong. I'm not sure what. I'm very new to the API and I'm piecing a script to create VMs together. I can't use the standard one because I have different requirements (SAN...

View Article

Can't create linked clones

Hi All,   I'm trying to clone a vm from a snapshot point and share the disks with the original vm (linked clone). According to the API reference documentation, I'm setting:   * spec.snapshot  to the...

View Article


Problems connecting to ESXi host with Samples from vSphere SDK

I am trying to control an ESXi host via the vSphere SDK. After successfully compiling the .NET samples on my Windows 7 machine I am unable to connect to the ESXi host. I have tried SimpleClient and...

View Article

app get hanged(dire need of help)

friends,        app polling vm history points every 5 minutes. For this we are using vim25.jar(vsphere sdk 4.1 version) to get vm history report. Its running for 3 to 4 hours succesfully. Then it gets...

View Article

Max SOAP sessions?

I've run into the "SOAP session count limit reached" issue, during testing my code against an ESX server.  I believe this is due to the number pieces of test equipment hitting the ESX server at the...

View Article
Browsing all 1860 articles
Browse latest View live


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