Read Tags from a VirtualMachine
How to get tags from a virtual machine in the example below: // Get reference to the PropertyCollectorpropertyCollector = serviceContent.getPropertyCollector(); // Create a new ManagedObjectReference...
View ArticlevSphere hybrid plugin collisions
Hi, We have developed a hybrid (flex/html) plugin that has been working for use for some time when we deploy the plugin in vSphere Web Client (6.0 and 6.5) as well as the vSphere Client (6.5). As we...
View ArticleAdd an existing hard disk
I am trying to use vSphere Management SDK for Java to add an existing hard disk to a VM, which function can i use?
View ArticleRunning two probes simultaneously results in an error
I'm trying to run two probes at the same time, but it results in the following error:vmware-vprobe: Cannot load script: Error: A general system error occurred: Failed to join lower layer. Is that the...
View ArticleHow to Externalize Grid Value Data in XML?
Hi,Recently I am working on Globalization of Vmware Plugin where we need to externalize the strings(Getting the hard coded strings from the properties files.). Some Grid column values are called from...
View Articleroot not found Error during conversion
when only one disk information is given , conversion goes till 97% and throws root not found error. when more than one disk.(query source shows the disk ID name as fake-disk-from-vg(HodpfhisSanvg) and...
View ArticleEventFilterSpecByTime not working ?
Hello,I'm trying to write a little perl script to collect events related to VM from the last 24H on a vCenter with the Perl VMware SDK 6.5I use this code:my ($Y,$M,$D,$H,$Min,$S,$st,$et); my $today...
View ArticleRest Java - VM creation
1. Is it possible to create VM with template configuration using REST Java?2. Is it possible to apply OS customization on VM using REST Java ?
View ArticleModuleNotFoundError: No module named 'vmware'
Hi,i tested this code ; import requestsimport urllib3 from vmware.vapi.vsphere.client import create_vsphere_clientsession = requests.session() # Disable cert verification for demo purpose.# This is not...
View ArticleCannot Set BIOS Boot Order Using VIM25 API From C#
(I did find a reference to a similar post about this from 2013 but no answers AFAICT and no code https://code.vmware.com/forums/2416/vsphere-management-sdk#463881|2319617)I am using the C# (targetting...
View ArticleAssign IP to windows vm
Hi, Can someone guide me on how we can assign ip to a Windows VM dynimically i.e., assigning IP later point of time after initial customization using API or any other alternate method? Thanks
View ArticleError Cannot complete login due to an incorrect user name or password. when...
Hello,I m trying out vsphere SDK 6.0 java samples for management API . run.bat com.vmware.vsphere.samples.LoginByTokenSample https://<IP of vcenter>/sts/STSService/vsphere.local...
View ArticleHow to get the particular job details from the converter sdk
converterSDK sample has List operation which gets the list of tasks and jobs. getJobHistory in converterConnection gets the all the jobs till the count is given . Instead is there any method to fetch a...
View ArticleVM's RAM overload in esxi 6.5
Hi, Thank you in advance for helping. I have a virtual infra with vmware esxi 6.5 within just 20 VM's. The problem is RAM overload in each VM, rebooting a VM resolve the overload but after just 2 or...
View ArticleMicrosoft office picture manager kills VMware
after installation of Microsoft office picture manager on windows 10 - VMware working incredibly slow. i have delete picture manager - problerm stiil here. Any help?
View Articlejava.net.UnknownHostException: vcsa.vmware.com with a 6.7 deployment
We're attempting to migrate our vSphere client extension to run on version 6.7. Today I noticed that our virgo log is full of this type of stacktrace and was wondering if anybody has a solution for...
View ArticleI need to access the virtual machine from an application dashboard i am not...
I need to access the virtual machine from an application dashboard i am not sure whether it will work using SDK or Rest API Kindly guide if one of these are the solution or is there any alternate way ,...
View Article"Cannot compute changes for disk " error for disk attached after first snapshot
Hi,I 'm facing this error when we call queryChangedDiskAreas with changeID as '*' for a disk attached to a VM (which already had a snapshot and then deleted). Steps:Vm has one disk D1. Take snapshot...
View Articlefind_entity_views API is failing
One of our cusotmer has reported two issues related to vmware API on same vcenter and hence putting the details of both issues :Issue 1 (Wrapper timeout issue): Customer reported that our product's...
View Article