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.

VMRC连接ESXi的5.1错误

vmrc5.1 connect ESXi 5.1 errorAs followsAn error occurred that affected the security of the connection How to deal with?Thank              VirtualMachineMksTicket vmmt =...

View Article


Unexpected element tag "SOAP-ENV:Envelope" seen

Hi, we get this error message on every request we are trying to send via gSOAP:Unexpected element tag "SOAP-ENV:Envelope" seen Could anyone explain me, why i get this error? Here is the request: POST...

View Article


VcTag scripting object

I am not sure if I missed the memo or what but it seems that in 5.1 custom fields are now read only and everything needs to be converted to tags.  I am trying to figure out how to programatically...

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

vsphere management sdk write file (txt)

My virtual machine not have a networkHow do I pass the information to the virtual machineHow do I write a Notepad (txt file)   vsphere management sdk  thank

View Article


set ip

HelloI passed the the cloning task to create a new virtual machine for (windeos or Linux)May I ask how can I set a new virtual machine ipPlease provide ideas  Thank

View Article

How to add Vmxnet3 Ethernet adapter to VM

Hello everyone, Can anyone show me a smple code or give me an example of how to add Vmxnet interface?I managed to add ethernet card, but it added as "Flexible", any ideas? Thanks, Dan.

View Article

Hardware status and value differs in vCenter's MOB and Host MOB

Hi,      The hardware status and sensor values differs in vCenter MOB and Host MOB for same host. Sensor values remains same (static) for all host if we traversed via vCenter, but the sensor values are...

View Article


API to get VM CPU Cycles, Memory [RAM] Usage, Bandwidth Usage and Disk Space...

Hello, Since I am pretty new to VM Ware, can anybody suggest me how to extract the following by a  C# application: Virtual Machine API to get VM CPU Cycles, Memory [RAM] Usage, Bandwidth Usage and Disk...

View Article


Vim::login(service_url =>)

Hi I m trying to make a script for retrieving some informations about the esxi here is my problem I have two variables:$opt_H and $url$url = "https://".$opt_H."/sdk/webServer"; If I use $url with a...

View Article

How create virtual disk with specified geometry?

Hi everyone,I need create virtual disk with 56 sectors per head. How can I do that?Thank you very much for any help.

View Article

Image may be NSFW.
Clik here to view.

FLEX Component in Summary view

Is there a way to use SDK's flex component for the Summary view? What is the name of the package/class? I need an foldable grid like one on the screenshot:Thanks!

View Article

PHP - vSphere WSDL Primer

I'm not sure if this is the "correct" place for this, but after spending HOURS of searching and many, many curse words, I wanted to share a quick little guide to using PHP to interface with the vSphere...

View Article


The session is not authenticated

 I am trying to communicate with vcenter server using webservices SDK.     I send Login XML and is successful.   I tried RetrieveServiceContent method and is successful and able to get all details.  I...

View Article

Fail to create a data store in Version Vmfs3

Hi All                    I have tried to create a vmfs3 datastore in ESX5.1 using vim25.jar  VmfsDatastoreOption[] dsOptions =...

View Article


vSphere web service sdk: how to mount vmdk

Hello, I am new to the vmware and its SDK in general.  Does the vsphere web service sdk provide functionality to mount the vmdk of a VM which is in OFF state ?If so, what is the type/object model for...

View Article

Retrieve hostFolder from Newly Created Datacenter

Hey everyone - I am trying to retrieve hostFolder (the ManagedObjectReference to the folder itself) from a newly created DataCenter so that I can add hosts to it.   However, when I try to use a simple...

View Article


VMClone: The operation is not supported on the object.

I use Java in the sample VMclone class and submitted to the mistake, how to solve?  Cloning Virtual Machine [xp001] to clone name [copyxp001]java.lang.RuntimeException: The operation is not supported...

View Article

How to get datacentername?

How to get datacentername? I want to call VMClone method  VMClone This sample makes a template of an existing VM and deploy multiple instances of this template onto a datacenterParameters: url...

View Article

Attaching a RDM to VM. Can you please tell what am i missing here?

Hi, I am using the below configuration spec to attach a RDM (raw disk - pass-throuh) However attaching is failing:( It says Invalid configuration for device '0'. Any help is greatly appreciated as i am...

View Article
Browsing all 1860 articles
Browse latest View live


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