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

Resignaturing multiple copies of the same LUN at the same time fails with the...

Resignaturing multiple copies of the same LUN at the same time fails with the error: Cannot change the host configurationI am getting this issue with ESX 5.x version. I found the KB artical for the...

View Article


Clone VM using existing CustomizationSpec and changing ComputerName property

So I've been working on this project for work and have started a thread (http://communities.vmware.com/message/2194869#2194869) that has more or less turned into a build log since nobody has responded...

View Article


ESXI - Send soap request from esxi host

Hi all, i'm new in web services. I have a PHP soap (wsdl) server and "just" want to send/receive information from/to my ESXI server (5.0 and 5.1).So, i want to know how to create a soap client running...

View Article

vmclone - SoapFault spec.identity

Hi, I am encountering an issue running vmclone2 script with windows machines.I am running the exact same script on linux machine with no issue. Running the following:  ./vmclone2.pl --username yyyy...

View Article

Sample code for using ExtendedFault

I couldn't find any example that demonstrates how to use ExtendedFault with setTaskState (TaskInfostate.ERROR). Appreciate any help. I tried following:1) when I call setTaskState with ExtendedFault, VI...

View Article


vSphere APIs for Storage Profiles

Is there any support available for Storage Profiles in vSphere?  We are specifically interested in capabilities like: - Obtain all configured storage profiles- Obtain list of datastores (or clusters)...

View Article

find_entity_views filter

Hi, I am trying to get a list of all virtual machine which have "reserve all guest memory" switched off.I didn't manage to find a reference to this field in the documentation.any idea what is the...

View Article

I'm confused

I'm trying to create myself a WHMCS module so users can shutdown their own VPS. Although, I am pretty confused on how to achieve it. First, I don't know how to download the .pl files required. Second,...

View Article


Multidisk in a VM and boot order

When creating a VM with multidisks(IDE or SCSI or both) by populating the vw1__VirtualMachineConfigSpec sturcutre by a backed up info of vw1__VirtualMachineConfigInfo - the VM gets created along with...

View Article


Problems using the SRM SDK and vijava concurrently

Hi, I downloaded the SRM SDK from VMware and used their build.bat script to build the project. If I include the resultant srm.jar as a dependency to my project in Eclipse, I'm able to utilize the...

View Article

FileNotFound on startProgramInGuest

I am trying to execute the "net" command in a windows guest from java using the startProgramInGuest method.  I've tried using "%SystemRoot%\System32\net" as the path.I've tried retrieving the...

View Article

Image may be NSFW.
Clik here to view.

How to get Groups for a User?

Hi, I need to retrieve User Groups that a user belongs to. I''ll use the groups to lookup the authorization rights for the user. I'm trying the following:      String domain = "MYDOMAIN";     String...

View Article

cloneVMTask threw RuntimeException: The operation is not supported on the object

Hi, I am using the web sdk against esxi 5.1 (enterprise+ license) to clone a vm.I am not using vCenter, this is only the esxi hypervisor.The codes are based on the sample codes come with the sdk, but I...

View Article


Looping all VM machines - file opeartions

Hi all, I'm using with vSphere Guest SDK Documentation in .NET C#.I'm trying to loop all my vm machines in my ESXi and to do some file operations , I'm confused but I didn't find how I can loop all...

View Article

Pros and cons of latest (vSphere SDK 5.1) over vSphere SDK 4.1?

Pros and cons of latest (vSphere SDK 5.1) over SDK 4.1? orAdvantages and disadvantages of  vSphere SDK 5.1 and SDK 4.1?

View Article


Which VMware sdk 4.1 method is used to fetch supported Guest operating...

Which VMware sdk 4.1 method is used to fetch supported Guest operating systems list and its versions?

View Article

Api that will allow me to register a vendor provider with the vcenter server 5.1

Hello Is there any api that will allow me to register a vendor provider with the vcenter server 5.1?In the vsphere client application, there is an Add button that allows  to add a vendor provider. I am...

View Article


Vi Perl crash with vCenter 5.1.0b

Hi, Our application calls the VI Perl sdk (version 5.0) to communicate with the vCenter 5.1.0b. What we observe is a crash in vpxd process, showing following stack trace:  0000000`11aadbe0...

View Article

Getting started with WSDLs

I've downloaded the latest SDK and would like to create classes using WSDL files. The problem is that I didn't find anything about "service instace", so I've no idea how to actually connect to vSphere...

View Article

Need help - SOAP request for performance information

Hello, I need help with a problem. I'm using SOAP with PHP to connect to a vSphere Webservice. So far I'm able to login and get references for Managed Objects but I can't retrieve CPU, Memory and disk...

View Article
Browsing all 1860 articles
Browse latest View live


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