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

vmkfstools through API

I was wondering if there is a way to run vmkfstools through an api call. specifically I need the -r command.

View Article


How to get all ESX hosts from a vcenter

Hi, how do you get all esx hosts from a vcenter? I can navigate via MOB (/mob/?moid=HostProfileManager) which lists my clusters and I can then click through on those to see the hosts but I cant work...

View Article


Static iSCSI Target - after rescan, determine /vmfs/devices/disks entry

If I add a static iSCSI target via the command line, and then do a rescan, i can see a new entry appear in /vmfs/devices/disks. This is great, however, very unreliable once more than one static target...

View Article

RecommendDatastores for Create machine fails with an Internal Server Error...

Hi,I am trying to create a virtual machine in a cluster using a storage pod cluster.I am getting an error when calling the RecommendDatastores.The error looks like this:Internal Server Error Occured:...

View Article

Error while Provisioning a VM on Datastore Cluster

Hi, I'm trying to create virtual machine on datastore cluster using  Java API, however I'm getting the following error on the invocation of  "RecommendDatastores" method "A general system error...

View Article


Dell PowerEdge R420 and ESXi 5.0 VM libraries.

Recently I had a motherboard issue on a Dell PowerEdge R420, Dell came in and replaced the motherboard.  However after that here are the things that happened.  The root password reverted back to...

View Article

Disabling and enabling methods on managed entities

The ManagedEntity object has a disabledMethods field (see http://pubs.vmware.com/vsphere-55/topic/com.vmware.wssdk.apiref.doc/vim.ManagedEntity.html) that lists disabled methods that are blocked on...

View Article

Starting to learn the SDK... need some help getting the demos working

Hello,      I have had a decent amount of experience working with PowerCLI, but there has been a recent need to pick up the Java SDK. I am running Windows 7 and have downloaded JDK 7, and the SDK...

View Article


SRM 5.0 API - Unable to Initiate Recovery Plan.

Forgive me if this is posted in the wrong forum but there doesn't appear to be one specifically for the SRM API. So I've downloaded the WSDL files and compiled them to a C# dll and been able to...

View Article


datastore performance from ESXTOP

Hi, What elements from esxtop do I have to aggregate to see the performance by datastore? Thanks, A

View Article

Unable to customize Windows during cloning.

I can successfully clone a new Windows VM from a Win 2008 R2 template. However, when I use the following code to customize the VM. It shows the following error message: "A specified parameter was not...

View Article

Deploying Windows 2012 R2 virtual machine from template fails with error:...

We have a ESX1 5.5 installed. Deployment of Windows 2012 R2 virtual template fails to deploy on this ESX with the error "Windows could not finish configuring the system. To attempt to resume...

View Article

How to filter outbound DDoS attacks

Hello, the new TOS of my datacenter requires me to put in place some kind of software firewall to block these outbound DOS attacks from any VPS. How can I achieve this?

View Article


How to fetch the Virtual Machine’s object name and Config.files.PathName for...

Hi All, Requirement: Want to design an efficient logic to fetch the Virtual Machine’s object name and Config.files.PathName for a given host name.Protocol : SOAPAvailable input: hostname. Need to get...

View Article

How to Get Orphaned Snapshots List

I would like to know if there is a way to get a lista of "Orphaned" Snapshots. I mean those corrupted snapshots which do not appear on the VSphere Client Snapshot Manager.

View Article


How to distinguish connection endpoint (ESXi/vCenter)?

Hello, I would like to know if there is possibility to, using Web Service SDK, determine if I'm connected with stand alone ESXi host or through vCenter.  I've observed that in case of connecting to the...

View Article

Virtual machine primary IP address determination

Hi All, I want to second this unanswered question - how virtual machine primary IP address is determined when virtual machine has multiple NICs? The closest to what I am looking for is vSphere PowerCLI...

View Article


I am using vSphere Web Services SDK 4.0 and trying to create vm...

Hi, I am using vSphere Web Services SDK 4.0 and trying to create vm programmatically using c#.  Createvm task succeeds, guest os identifier is proper but OS is failing for MAC 10.9, 10.8, 10.7 etc.VM...

View Article

XML serialization not working with VMWare Web Services SDK on C#

I have followed the instructions in http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=87402 to create Vim25Service2005.dll and...

View Article

The object has already been deleted or has not been completely created

Hello,I'm programming the vmware mangement tool using Java vsphere 5.1 API.I meet some problem, so, I need your help.I've got the next error when I power on VMs simultaneously,but VMs actually have...

View Article
Browsing all 1860 articles
Browse latest View live


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