Java Client monitoring VM motion
Hello, We have Java client using SDK that retrieves VM events from VCenter. To observe VM motions we retrieve two types of events VmMigratedEvent and DrsVmMigratedEvent from vSphere through web...
View ArticleHow to determine if an ESX's device is local or not with vSphere API (Java)
Hi, I've searched for "is local" property on ESX host's device but haven't found anything in the VMware API. In esxcli there's a property "is local", How can this be retrieved or calculated from the...
View ArticleRe: vSphere SDK API to get Tags of VirtualMachine (ManagedEntity) from...
Hi, facing the exact same issue. Added Tags to virtual system object using WebGui works but SDK does return empty tags array.Is there any plans from VMWare to change this in future? Cheers, Frank
View ArticleUpdate Guest IP address without running Sysprep
Hi all, I have a question which I will try and articular correctly. After a machine has been deployed and sysprep has run and setup everything. What if I want to update the IP addresses on the network...
View ArticleAnyone have the vSphere 5.5 SDK C# DLLs for download. I am having hard time...
If anyone have the DLLs for .NET environment STSService and Vim25Api DLLs, can you share it. I am having difficulty building the batch file to create the STSService DLL.
View ArticleRe: vSphere SDK API to get Tags of VirtualMachine (ManagedEntity) from...
stumpr is right. The tag managed entity that you see as part of the vSphere SDK API is deprecated. Tags are stored in Inventory Service and can be created either using the web client or power CLI. If...
View ArticleUnable to get session - ConnectionRefused
May I know how to fix this? I've increased the timeout too but doesn't work. Please help 15:05:10:529 java.rmi.RemoteException: VI SDK invoke exception:java.net.ConnectException: Connection timed out:...
View ArticleRe: Unable to get session - ConnectionRefused
Still it is throwing the same error java.rmi.RemoteException: VI SDK invoke exception:java.net.SocketTimeoutException: connect timed out
View ArticleRe: Need help with Copying nested Resource Pools
I know this is a very old question but in case anyone else looking for the same thing stumbles here, this very talented person has a powershell script for exactly this:...
View ArticleTrying to use UpdateVAppConfig to add vm's to a Vapp
I keep getting the error "SOAP Fault:--------Fault string: A specified parameter is not correct.entityConfig.key[vim.VirtualMachine:vm-54]Fault detail: InvalidIndexArgumentFaultEnd Disconnect" The...
View ArticleRe: Trying to use UpdateVAppConfig to add vm's to a Vapp
Not 100% sure from the first pass look at it. Have you tried getting the vApp directly though? $vapp = Vim::find_entity_view(view_type => 'VirtualApp', filter => { 'name' => 'MyVApp' });...
View ArticleSingle sign on in vCenter environment
Hi, I am writing a service to manage virtual machines storage through vSphere SDK. I have service running on one machine which connects to vCenter server and performs WS calls. I also have vSphere...
View ArticleQuerying / configuring RAID-controlled drives using VIJava
I wonder if knowledgeable people can direct me to a write-up or a sample code which configures datasets on top of RAID controllers, and / or probes such datasets to enumerate the physical drives...
View ArticleError in SSOConnect method - 'Vim25Api.VimService' does not contain a...
Downloaded the latest build VMware-vSphere-SDK-5.5.0-1284541.zip from here Made sure vCenter server version is 5.5 and local vSphere Client 5.5 is connecting to host with no issues. Followed the...
View ArticlevSphere Plugin Service
Hi, I have developed a vcenter Service plugin which calls the REST service running on some other server. I have developed a UI plugin in vsphere web client wherein the user will enter the login...
View ArticleRe: vSphere Plugin Service
This is a question for the vSphere API forum so I'll move it there.
View ArticleRe: Anyone have the vSphere 5.5 SDK C# DLLs for download. I am having hard...
Check this out http://codechief.wordpress.com/2013/04/24/extracting-vmware-web-service-proxies-for-net/ . Installing the PowerCLI includes the VMware VIX infrastructure components which can be...
View ArticleVcenter Licence
HiI am using to add licence the AddLicense method from the vmware api,and it works fine ,now when i want to assing in as current licence i am using UpdateAssignedLicense method from the vimware apiall...
View ArticleRe: Vcenter Licence
Thisthe way to do ithttp://www.lucd.info/2009/10/29/assign-a-vcenter-license/
View ArticleRe: Error in SSOConnect method - 'Vim25Api.VimService' does not contain a...
After spending quite a bit of time, I finally figured this bit out. Basically you've generated the client based off standard soapClient while the samples expect a MSE 3 webClient. Assuming you've used...
View Article