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

HA configuration (ClusterDasAdvancedRuntimeInfo) w/ VMWare.vim?

Not sure if this should go here or the PowerCLI forum (move if necessary). I'm using VMWare.vim.dll in c# and trying to retrieve HA configuration on my clusters....

View Article


Shared datastores from a cluster of ESXi servers

Hi, Is there any API that gives only the shared datastores of a particular ESXi server / cluster of ESXi servers..? Cluster1--Host1 --> local1, shared1, shared2--Host2 --> local2, shared1,...

View Article


Retrieve list of alarm descriptions in C#

How do I do it?  It seems like such a simple thing yet I'm struggling (I can do other things like get VMs, DC's, etc but I am still learning...).  I can get the alarm ID's, just having trouble with the...

View Article

An error for add the Pnic to the DVS via vSphere SDK

I try to add the Pnic to the DVS via vSphere SDK , but i occur an error. Anybody can help me? An error occurred during host configuration.2015-04-03 15:50:51,291 INFO  c.v.v.LogUtil...

View Article

queryPerf and random timeout

Hi all, could you give me some advices on how to understand the root cause of this problem?Code is performing q queryPerf call on realtime data. Every call is getting counters for Host and associated...

View Article


Finding host initiator information for 6.0 ESX Host path

I have hit an issue with 6.0 ESXi hosts that is caused by a different behavior than 5.x hosts in our vSphere plugin.  The problem/difference lies in the HostMultipathStateInfoPath name field.  For...

View Article

A general system error occurred: Not initialized

I try to add Traffic Rule for one of ports on DVS. Body of my SOAP request looks like:<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelopexmlns:ns0="urn:vim25"...

View Article

Adding custom objects to vCenter Inventory

Hi,I've tried this in the webClient Forum, but was told to submit the discussion here. We have custom objects in our plugin (WebClient), similar to the Rack and Chassis samples which are a part of the...

View Article


Copying ovf file from local to datastore is not happening using your sample...

While trying to copy ovf file from local to datastore using your sample class ColdMigration.java under package com.vmware.httpfileaccess showing me the following output in console Copying The Virtual...

View Article


What is the actual purpose of the accessible property in the NetworkSummary...

Hi There,I have a scenario where i need to monitor the SSH connectivity of the ESX server.Simple way is to ping each server and get the status of individuals against the response of a ping. I found the...

View Article

Need some help with retrieving objectId for the vCenter Server from the Home...

Hi,What I am trying to achieve is this:Create a new Home View where the user can enter some config info. When the user clicks the submit button, trigger a background job to traverse the vCenter tree...

View Article

How do i programtically create a tag category via VIJAVA or vSphere SDK?

Example would be much appreciated.

View Article

Label ignored for vmxnet3 virtualdevice

I'm trying to set the label for a vmxnet3 virtual device, the information is passed to vsphere, but vsphere ignores the label (customlabel) and just calls the network interface 'Network Adapter 1'....

View Article


sharing same PropertyCollector instance across threads with non-overlapping...

Hi, Can the same instance of PropertyCollector be shared across 2 threads if the properties to be read/collect don't overlap? Running VCSA 5.5 First Thread:   - invokes WaitForUpdatesEx() on the...

View Article

Vmware server performance issue

Hi All,I am new to the VMware, I am a citrix xenapp admin. currently my citrix environment is running on the Virtual machines and the esxi host version is 5.1currently i have performance issue with the...

View Article


How to use two different versions of the Web Client SDK stub files in a...

Hello, I have a project that uses the vSphere 5.5 Management SDK (I built the stub files as per documentation) and have these in my C# Solution. Everything works great. My class files that interact...

View Article

Unable to enforce GPT format using UpdateDiskPartitions

Greetings,It started when I realized that I cannot create LUN-backed datastore larger than 2 TB using CreateVmfsDatastore even though vSphere Client (ESXi 5.1.0) creates it without complaints. No...

View Article


Getting the LUN used by a VM in VMFS

Hi, Can we identify which of the several LUNs that constitute a VMFS datastore is/are being used by a VM's Virtual Hard disk? Or does the VMFS hide the details of which LUN is physically behind a VHD?...

View Article

how to use pyVmomi to track on VMs disk related events

Hi Guys,       I need to have asynchronous notifications on the changes that take places to a VM's vmdk files. The scope of  changes are like disk resizing, disk deletion etc. I need to use pyVmomi for...

View Article

How to add custom privileges to vCenter server

Hi, We are in process of adding RBAC feature to an existing vCenter Web Client plugin. The plugin has actions and views which we want to protect using RBAC. In this context, we wanted to add our...

View Article
Browsing all 1860 articles
Browse latest View live


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