Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Browsing all 2052 articles
Browse latest View live

Copying a large file to the guest causes the virtual machine to hang and...

VMware vCenter Server 6.0U1 (6.0.0.3018523)VMware ESXi Server 6.0U2 (6.0.0.3620759)Guest OS: Windows Server 2012 R2VMware Tools: 10.0.6.3560309 Trying to copy a large file to the guest causes the...

View Article


Image may be NSFW.
Clik here to view.

Re: InstantClone APi ??

Great post about this, get's us much further:https://www.higebu.com/2016-04-27-vmfork-using-mob-en.html The methods...

View Article


Image may be NSFW.
Clik here to view.

.NET SDK and PowerCLI licensing

Hi there,Our technical writer is trying to find the license agreement for mentioned products and date until licenses are valid (if not perpetual).Could anyone help with this? Support was not able to...

View Article

Image may be NSFW.
Clik here to view.

How to find all unregister vm in a datastore?

Hi all,I have a datastore with some unregister vm.How do I find all unregister vms and register them?Does anyone has any idea?I'm find how to get into datatstore folder and get them, but I can't find...

View Article

Image may be NSFW.
Clik here to view.

identify esx boot disk

how should i identify the host disk used as boot device?i don't see such attribute in HostScsiDisk  in esx shell i can do:vmkfstools -P /bootbank/vfat-0.04 file system spanning 1 partitions.File system...

View Article


Image may be NSFW.
Clik here to view.

VMWare vSphere SDK - Fail to run SDK Samples due to...

Hi All, I've downloaded vSphere Management SDK for vSphere 5.5.I am using VS 2008 for this test.I'm using the C# dotnet samples.We have two ESXi 5.5 hosts that are in one cluster.I've created the the...

View Article

Re: how to get a list of Distributed vSwitch in c#

Hi , Could you please share some code how to get Distributed vSwitch in C# Thanks in advance

View Article

Image may be NSFW.
Clik here to view.

SDK support creating vm with VMDK > 2T ?

Hello May I create a vm with vmdk size >2T with SDK ? I created a vm with wmdk 2046G with vSphere API, It works. But when I try to created a vm with vmdk 2048G, it fails and the error is :File...

View Article


How to set connection timeout in vSphere Java SDK?

Hi all,how can be set the connection timeout in vSphere SDK?I've tried to set in different way on VimPortType, with no luck.For example:        ((BindingProvider)...

View Article


Image may be NSFW.
Clik here to view.

GetViewByMorefs causes "Required parameter specSet is missing" for HostSystem

Hello,I am attempting to get a collection of HostSystem objects in a specific cluster using the VMware.Vim API that comes with PowerCLI 6. I can retrieve the cluster by doing: var clusters =...

View Article

pyvmomi - example of DatastoreSystem.QueryVmfsDatastoreCreateOptions

I have been unable to make calls to the API's in the vim.host.DatastoreSystem. I am passing the right number of arguments but i still get an error 'Unexpected error: _InvokeMethod() takes at least 2...

View Article

Re: pyvmomi - example of DatastoreSystem.QueryVmfsDatastoreCreateOptions

It seems 'QueryVmfsDatastoreCreateOptions' and other functions take an additional parameter which is the datastore system. (vim.host.DatastoreSystem).Will try to add a sample example in the pyvmomi...

View Article

Image may be NSFW.
Clik here to view.

Re: specifying the vmpath for cloning a VM with the SDK vmClone sample

way of passing vmpath in java sample to clone a virtual machine will be as shown below- datacenter/vmfolder/vm1 where-datacenter is datacenter name. vmfolder is virtual machine folder name.vm1 is name...

View Article


Re: VMINFO.PL: how to list the power state of the VM????

Hi, Not sure if you have got the answer but it is quite easy & have done it myself. I came across this need of getting Power State few days back. I have done few things that I am mentioning here :...

View Article

Image may be NSFW.
Clik here to view.

Re: how to get past this error? "Cannot find 'vimService.wsdl' wsdl. Place...

I have the same problem here , have someone sovled this? rhume55 do you still have this problem?

View Article


vSphere-WS SDK Packages and JavaDoc

Hello guys, I do have a bunch of question regarding to the java vsphere-ws sdk. I have build the vim25.jar and samples.jar following the instructions here:...

View Article

Re: How to set connection timeout in vSphere Java SDK?

This works for me: requestContext.put("com.sun.xml.internal.ws.connect.timeout", connectTimeoutMs); requestContext.put("com.sun.xml.internal.ws.request.timeout", readTimeoutMs);

View Article


Re: Setting VM annotation/notes via SDK.

I found this page, when trying to find a piece of code to read the annotations. So in case somebody wants the same, here is the code: use strict;use warnings;use VMware::VIRuntime; use...

View Article

Image may be NSFW.
Clik here to view.

pyvmomi - add disk - RecommendDatastores

I am trying to add a disk to an existing VM.if vm:    for cluster in ds_cluster:        print cluster.name        spec = vim.vm.ConfigSpec()        # get all disks on a VM, set unit_number to the next...

View Article

Image may be NSFW.
Clik here to view.

Need help in identifying right vmware API Property to check whether a...

Hi ,We are developing a datastore view screen where we need to bring in a column to check if  "Hardware Accelearation" is Supported/Not Supported. Can someone help me in identifying the right vmware...

View Article
Browsing all 2052 articles
Browse latest View live


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