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 ArticlecloneVMTask 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 ArticleLooping 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 ArticlePros 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 ArticleApi 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 ArticleVi 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 ArticleAcquireTicket 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 ArticleIs 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 ArticleVcenter 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 Articlevim.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 ArticleUnable 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 ArticleHow 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 ArticleReconfigVM_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 ArticleGet 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 ArticleQueryChangedDiskAreas 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 Articlehow 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 ArticleDisconnect 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 ArticleLoginBySSPI 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 ArticlePros 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