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.

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

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

AcquireTicket and vmware-vmrc.exe

Hi all, We let users open remote consoles, and we used to call AcquireMksTicket and pass the ticket to vmware-vmrc to paypass the credential With Vi SDK 4.1, AcquireMksTicket is replaced with...

View Article

Is there any API to get/update session timeout value

Hi, Is there any API to get or update the Timeout value between vcenter server and vsphere web client?  I am attaching the screenshot which shows this value in the VShpere Web client v5.1.  Thanks

View Article


'Error parsing the server 'ip' "clients.xml" file. Login will continue,...

Hi, I'm experiencing a problem when trying to login to one of our esx hosts. I see the following error at login... Error parsing the server 'ip' "clients.xml" file. Login will continue, contact your...

View Article


Vcenter server operation timeout

Hi, Is there any API or other way to get/update the timeout intervals for vcenter server operations other than web client or vSphere client? I need to check/update the values of the interval timeout in...

View Article

vim.fault.invalidticket exception when passing AcquireTicket value to...

 I have written an app that opens the vmware remote console (vmware-vmrc.exe) by passing it the VirtualMachineTicket value from the AcquireTicket method (see vSphere API for more details).  The problem...

View Article

Unable to retrieving more than 100 VMs using PropertyCollector and...

Using vSphere SDK for .NET. Sorry, couldn't find a .NET forum for the vSphere SDK but the Java forum should be close enough. I am having problems retrieving a list of VMs from a Resource Pool....

View Article

How does root/cimv2 enumerate instances of CIM_StorageExtent?

Hello All, I am writing a VMWare CIM plugin for proprietary SSD.  In the mof file, I inherited the my class (XYZ_StorageExtent) from CIM_StorageExtent. Now I need to find instances of all...

View Article


ReconfigVM_Task soap call results in Invalid operation for device '0'

We are currently attempting to create a VM by cloning a VM template, and then assign that new VM to a portgroup. We have the cloning working fine, but we are running into an issue with reconfiguring...

View Article

Get VirtualMachine for Reboot using Vim

I'm working with VMware.Vim library in C# and am having a bit of trouble intermittently when using the VirtualMachine.Reboot functionality.  It seems that when I call for a vm with...

View Article


QueryChangedDiskAreas returns a FileFault error while trying through "mob"

Hi, I have tried to query the changed disk area(QueryChangedDiskAreas) of a VM through Managed Object Browser(mob) [reference : How to find or validate Change Block Tracking results returned by VMware...

View Article

how to fetch FRU details ?

Hi, Is there any way to get the FRU details using CIM SDK or any other ways ? tried OMC_FRU but looks like that class is not implemented. Any help would be appreciated. thanks,Aravinda

View Article


Disconnect a Ethernet Adapter always "Invalid configuration for device '0'."

I have a piece of code to disconnect the ethernet adapter from a virtual machine. But it always complains "Invalid configuration for device '0'." Anyone can help me figure out what can be wrong in my...

View Article

LoginBySSPI to ESXi 5 host error

I've used the code below to connect to my vCenter (v 5) servers via SSPI however when I try to login to our ESXi (v 5) servers using the same method I get an InvalidLogin fault/error.   I assumed that...

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


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