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

how to create a VM using a Datacluster (aka Storage Pod) instead of a...

Hi, I inherited Java code that creates a VM using a specified Datastore.  I'm trying to modify it to use a Datacluster (aka StoragePod) instead of a Datastore.  (Creating a VM with a Datacluster...

View Article


upload ovf via http to datastore

helloI am trying to upload ovf tamplate to datasttore via c# api and could not figure out what this object dose OvfNetworkMappingThx

View Article


VM Network setting using SDK Perl

Hi all!  I am trying to set the network of a VM with 2 vNIC; however I couldn't find any way yet. I am trying to apply using 'CustomizeVM_Task', but I am getting an error as:  SOAP...

View Article

Changes in metric timestamps in 5.1 update 2a?

Hello, I've noticed that when using latest version of vCenter - 5.1 update 2a timestamps of metrics are associated with START of the timestamp instead of the END.In earlier versions and in vCenter 5.5...

View Article

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

Hi, I download the VMWare management SDK 5.1 with Java samples. I ran the build.bat file to build everything (I had to tweak it to get it working because it didn't like the spaces in "Program Files",...

View Article


I have Getting started Tab for my Plugin Home , how can i add Basic Tasks to...

I have Getting started Tab for my Plugin Home , how can i add Basic Tasks to it which will call "configuration Wizard" for my plugin?

View Article

Windows registry gets corrupt when a quiesce snapshot is taken

Hello, we're trying to do a backup using the vSphere SDK.  For this, we take a quiesce snapshot, and then one of the first things we do is look for the registry hives.  In this process, we find that...

View Article

How to create Host?

How to create Host?facing problem while creating Host.In Vsphere SDK, SDK provide us one sample class called Create.java , which contains method Create. Create method takes parameter parent name...

View Article


Image may be NSFW.
Clik here to view.

Using SDK to retrieve values available in the Guest OS drop down in the...

Hi, I am working on a web application that allows users to perform a subset of the functionality provided by vSphere web client. I have been using doublecloud proxy to identify the Java commands...

View Article


Getting Moref using VM Name

Is there is any fastest way to get the moref of a VM using its name?Instead of traversing each VM and comparing its name.Can we specify propertyfilter in any manner to achieve this?

View Article

Reading vmx files from virtual machine

HelloI want to add some varibales to vmx files and then be able to read them from the virtual machine can u pls help me to understand how to do it?Thx

View Article

Problem while creating a VM in esxi 4.1

Hello, I have encountered a very strange problem which is occurring only in esxi 4.1. Basically I am creating a VM and the logic is working perfectly fome on esxi 5.0+ However, when trying this on an...

View Article

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 Article


How 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 Article

Anyone 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 Article


Update 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 Article

Unable 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 Article


Need help with Copying nested Resource Pools

I have one cluster now that has a complex resource pool configuration with many sub-pools. I've been trying to use the Perl VI SDK to somehow copy the resourcepool structure and settings from one...

View Article

Trying 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 Article

Single 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 Article
Browsing all 1860 articles
Browse latest View live


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