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.

503 Service Unavailable (Error connecting tunnel on named pipe: (null))...

Hello, I'm trying to use the html5 sdk console from vmware to externally manage the machines, I have used the sample code and fulfilled the necessary requirements, but I am not getting success in...

View Article


Why VMware.Vim dll is not strong name enabled from Power CLI 6.5

Hi, Till 6.5.0 Power CLI, VMware.Vim.dll was strong name enabled dlls. But from 6.5.1, those dll's are not strongly named dll's. In PowerShell gallery based installation also, dll's were not strongly...

View Article


Image may be NSFW.
Clik here to view.

Hostdiag vCenter extension - severity

Hello,There is a vCenter extension - hostdiag which sends events of type EventEx. For instance, eventTypeId – “esx.problem.scsi.device.io.latency.high” and severity field is empty string. There is no...

View Article

Image may be NSFW.
Clik here to view.

VimService65.dll not found

HelloI just updated to PowerCLI 6.5.2 as I need access to the VMware.Vim.dll.  After upgrading when I run my code it complains that VimService65.dll is not found.  Before when I used version 6.5.0...

View Article

Image may be NSFW.
Clik here to view.

vix api to vSphere API

Hi, I have a project which uses vix APIs to manage VMs in Workstation and esxi. After the release of vix1.15, these vix APIs are deprecated and no longer be used to manage VMs present in ESXi. The code...

View Article


Image may be NSFW.
Clik here to view.

Total bandwidth usage tracking

In VMWare vSphere, how can I set and track the monthly bandwidth usage of each guest? I need to reduce the network speed when bandwidth usage exceeds 90% or so. What are my options?

View Article

Image may be NSFW.
Clik here to view.

Knowing datastore name/url pair, how to get the actual datastore?

Hi, I collected a list of VirtualMachineConfigInfoDatastoreUrlPair from querying the target vm, is there easy way for me to get to the actual datastore without iterating/searching through the whole...

View Article

Image may be NSFW.
Clik here to view.

Help with TraversalSpec

HelloI trying to retrieve data from a standlone esxi host using c# and the vmware.vim.dll. I am trying to do this using the Property Controller along with the TraversalSpec.  The following code is what...

View Article


Image may be NSFW.
Clik here to view.

posting custom events and creating alarms on custom events

I m creating custom event on a VM in the following code.             ExtendedEvent myEvent = newExtendedEvent();             myEvent.chainId = 0;            myEvent.key = 0;...

View Article


Image may be NSFW.
Clik here to view.

Traffic shaping per VM, rather than vlan

As per VirtualMachineNetworkShaperInfo I tried to set bandwidth restrictions using Traffic shaping policy on VM using vmware API and it didn't work as expected.  Followed the below...

View Article

Image may be NSFW.
Clik here to view.

I want to use code to implement the function of console in VSphere Client to...

I want to use code to implement the function of console in VSphere Client to find that file

View Article

Image may be NSFW.
Clik here to view.

c# API getting VM name from MOR

HelloI am able to get a list of VM's MOR but is there a way to translate that to the actual VM names?I used the PropertySpec with Traversalspec to get the MOR of the VM's but how do I convert that to...

View Article

vSphere Server error: 0x803d0000 : The input data was not in the expected...

Hi, I am trying to connect esxi server using WWSAPI.  Generated the client side proxy stubs using WsUtil.exe comes with Microsoft SDK. After setting all the things, when I call proxy stub for...

View Article


Image may be NSFW.
Clik here to view.

In the Java program of vSphere Management SDK, how do I call the vmRc SDK...

In the Java program of vSphere Management SDK, how do I call the vmRc SDK function?

View Article

Image may be NSFW.
Clik here to view.

How to use SDK API to assign static IP address to VM

 Hi All,  Can I use SDK API to assign static IP address to VM when cloning a new VM? I used VI Client to do it but it failed. Therefore, I am wondering if SDK API can do this. Can anyone give me a...

View Article


How to assign static IP to the VM while cloning the VM from template using java

Hello,I am getting InvalidRequest exception while assigning static ip to the VM while cloning using java. Attached is the code and exception. Is there any mistake in my code?Thanks

View Article

Image may be NSFW.
Clik here to view.

How to update IP and Network adapter using Java

 Greetings,  would anybody have a working example on how to update the IP address and network adapter of an existing VM?  We are using ESX Server 3.5, and the VI SDK 2.5.0.  Similar to the code...

View Article


Image may be NSFW.
Clik here to view.

Using vCloud Suite SDK for tag management on vsphere 5.5 or earlier

Hello,I researched alot about this topic and found out that  5.5 and earlier versions of vSphere have tagging capability but they do not provide public API for tag management so we won’t be able to...

View Article

Image may be NSFW.
Clik here to view.

How to maintain session across VCP client and backend integration server?

Hi, We are building a vSphere client plugin with workflows offloaded to a backend server.Is there way using which I can use the logged in user session to run these flows in the backend server? I am...

View Article

Distributed Port Group assignment

How can we assign existing Distibuted port group to the VM using java?I tried with below code but it shows disconnected...VirtualDeviceConfigSpec nicSpec = new...

View Article
Browsing all 1860 articles
Browse latest View live


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