Api that will allow me to register a vendor provider with the vcenter server 5.1
Hello Is there any api that will allow me to register a vendor provider with the vcenter server 5.1?In the vsphere client application, there is an Add button that allows to add a vendor provider. I am...
View ArticleVi Perl crash with vCenter 5.1.0b
Hi, Our application calls the VI Perl sdk (version 5.0) to communicate with the vCenter 5.1.0b. What we observe is a crash in vpxd process, showing following stack trace: 0000000`11aadbe0...
View ArticleGetting started with WSDLs
I've downloaded the latest SDK and would like to create classes using WSDL files. The problem is that I didn't find anything about "service instace", so I've no idea how to actually connect to vSphere...
View ArticleNeed help - SOAP request for performance information
Hello, I need help with a problem. I'm using SOAP with PHP to connect to a vSphere Webservice. So far I'm able to login and get references for Managed Objects but I can't retrieve CPU, Memory and disk...
View ArticleWhich VMware sdk 4.1 method is used to fetch supported Guest operating...
Which VMware sdk 4.1 method is used to fetch supported Guest operating systems list and its versions?
View ArticleHow to get VirtualMachine moid
I just started working with the MOB and learning about MOID's. I was hoping to get the VirtualMachine MOID. We have ESXi hosts with free license. Any way to get this? I just want to execute...
View ArticleVmwarephp - a Vsphere Api binding for PHP
Finally managed to get this project out in the wild. Vmwarephp is a library that allows you to use the Vsphere API from within PHP. There where some projects before but none of them finished. You can...
View ArticleVADP & Avamar integration
Hello Everyone, Recently we implemented Avamar image backups for our virtual infrastructure. The performance and features have been great, however managing this config with Vsphere 5.0 Vcenter and...
View ArticleInitiateFileTransferToGuest Issues
I am trying to get the InitiateFileTransferToGuest web services call to work but i am not having any luck. I believe the issue is around the guest file path.Whne i use a path like @"c:\temp\test.txt"...
View ArticleQuerying license information of Esx connected through vCenter
I am validating license information of a Esx Server to find out whether a server is in Evaluvation. When connecting to a Esx server directly and taking License information either from...
View Articlec# - StartProgramInGuest
Hi, I'm very confused with VI API, I'm trying to set a startprogram in guest and I got stuck with diffrent object types, Can somebody please have a look on that.: List<VirtualMachine>...
View ArticleReconfigure VM to modify SDRS
Is there not a way to set the SDRS rules for a VM using a ReconfigVM_Task? I see some examples using ReconfigureComputeResource but I need to use the _Task version and don't know what cluster resource...
View ArticleHow to get all luns of vmfs datastore?
Hi,I need to get all luns of specific datastore through vi sdk. I see VmfsDatastoreInfo has getLun() function which returns ScsiLunInfo[], but the result is null for datastore with lun.Can anyone help...
View ArticleHow to get naa of a lun
Hi, Is it possible to get naa of a lun through vi sdk? IScsiLunInfo class has function called getCanonicalName, but probably it will not give naa, because Vsphere client doesn't show naa for a lun....
View ArticleHow can I search by moref ID (instead of by name)
I'm trying to figure out which property name to use while defining a PropertySpec object to search by moref ID. I'm buildling a plug-in for vSphere and the value that is sent to the webapp looks like...
View ArticleQuestion about licensing
I would like to start an open source project which will use vSphere Java SDK, the project will be under BSD license. My question is : May I include and distribute the vSphere SDK .jar files in my...
View ArticleProblems connecting to ESXi host with Samples from vSphere SDK
I am trying to control an ESXi host via the vSphere SDK. After successfully compiling the .NET samples on my Windows 7 machine I am unable to connect to the ESXi host. I have tried SimpleClient and...
View Articleapp get hanged(dire need of help)
friends, app polling vm history points every 5 minutes. For this we are using vim25.jar(vsphere sdk 4.1 version) to get vm history report. Its running for 3 to 4 hours succesfully. Then it gets...
View ArticleHelp creating a VApp from perl
So I'm trying to use CreateVAPP to create a new barebones Vapp and I'm running into problems. I have this call: my $vapp = $rp->CreateVApp(name => "Test_for_DR_Script", configSpec =>...
View Article