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

cloneVMTask - What about storage?

I am reading about clone task: http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.CloneSpec.htmlhttp://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.CloneSpec.htmlI am not sure about one thing when...

View Article


changing guest operating system's nic details via c# using CustomizeVM_Task

Hello.I would like to change for example the ip address of a nic on the guest operating system.  CustomizationSpec customsSpec2 = new CustomizationSpec();...

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

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

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


Image may be NSFW.
Clik here to view.

Help! Why does my script crash 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

GuestOSIds for different editions.

VMware mentioned different GuestOSids for different OSs with different Editions in below link. But in CreateVM task through vSphere client shows only basic OS names and with OS editions like 'Windows...

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

where to find error details?

I'm invoking CloneVM_Task on a VM template and eventually the task aborts with an error "Cannot deploy template: A specified parameter was not correct." which is less than helpful. Where can I find...

View Article

Integrating management of StarWind iSCSI Target to VCenter/vSphere

Hi everyone! I'm a developer from StarWind Software that participates in TAP of VMware. May you help me to clarify some points concerned with the task of integrating management of StarWind iSCSI Target...

View Article
Browsing all 1860 articles
Browse latest View live


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