VimClient.FindViewEntities Returning null after some amount of time
Hi All, I am hosting a C# webservice in IIS that makes calls against our vsphere instance to perform certain functions. One basic call is to get a list of all VMs. Every so often, the webservice will...
View ArticleEnabling Trace logging for SFCB service
Hi, I am looking for a method to enable trace logging for SFCB service.I need to trace the input parameters being passed from SFCB to my CIM Provider. I have referred SBLIM site and added traceFile...
View ArticleRe: VimClient.FindViewEntities Returning null after some amount of time
You can call SessionManager.sessionIsActive() to validate a session. You could also do some other data query. Firewalls between you and vCenter can sometimes drop idle connections (vCenter has a...
View ArticleCustom Events using VIJAVA
I am creating one custom event using VIJAVA APIs.While posting that event, I want to change the source of that event or the message of that event. I can change the message using following code but web...
View ArticleDefining Custom Events in vCenter for a plugin
Hi,I've already asked about this, but I guess my question got lost or was too complicated - so I'll try again.We have a WebClient plugin, which is installed and registered on the vCenter, and we want...
View ArticleRe: A few problems with API
Hi.I managed to use the following code to retrive properties of host ad get its datastore property but I get the following Soap Fault// Get datastore$prop_set = array(new SoapVar(array('all' =>...
View ArticleRe: VimClient.FindViewEntities Returning null after some amount of time
Thanks! That is certainly helpful. The simplest solution for me for now is to just do a data query every 25 minutes to prevent the connection being dropped (I have to do a webservice query every x...
View ArticlevSphere API for VM's Virtual Disk Read & Write Rate for Historical Data
Folks, I have a quick question on VM Disk Performance metric. I need to know the last "x" days (for an example 7 days) of Virtual Disk's Read Rate and Write Rate and need to figure out the Max of each...
View ArticleRe: A few problems with API
Hi.This is my code to retrieve 'datastore' property of a host but am presented with a soap exception which saus "required $prop_set = array(new SoapVar(array('all' => true, 'type' =>...
View ArticleRe: A few problems with API
Please help me getting reference to datastore is the last point in my project. Please guide me.
View ArticlePosting Alarm based on custom event
Hi All, I am creating one custom event based on which I am trying to raise a VCenter alarm on web client.Sometimes I am able to see the alarm but sometimes It is giving error as -...
View ArticleHow to retrieve all the volumes/luns connected over FibreChannelHba ?
I have storage device connected via FiberChanel.I want to list all the available luns/Volumes available in it. how to navigate over fiberchanelHba to get all volumes?
View ArticleRe: A few problems with API
Please anyboday help me to come over this simple problem. Dear stumpr, please help me! Please!
View ArticleRe: A few problems with API
Can you post up your entire script? I'll figure out the PropertySpec if I can from your existing work. I don't have time to start from scratch at the moment.
View ArticleRe: A few problems with API
Hi Dear, Thanks for reply. I've attached the script. I'll highly appreciate if you can assist me to pass this phase of my project which I have stuck in. You can download the script from the following...
View ArticleUsing c# .net how to update hostsystem configuration detail ?
I am trying to update /change configutaions detaills of host object using c#.net. Can anyone help out for this? Gettting host object by VimClient vimClient = new...
View ArticleRe: A few problems with API
Hi Dear, Did you tried out my code to find out what's the problem?
View ArticleRe: A few problems with API
Hi. I managed today to use Vmwarephp library to perform CloneVM task. I have supplied any required data and parameters but am continuously getting InvalidProperty error. Please see the following link:...
View Articleretrievepropertiesex and continueretrievepropertiesex throw xml exception in...
I recently updated some code to use the web sdk for vsphere 5.5. I also updated the code to use retrievepropertiesex with continuepropertiesex where apiver is > 4.0, and to use just...
View Article