Next VMware Perl SDK version
Hi VMware team,The last Perl SDK 6.7 was released April 2018 and I'm having some issues while using it:Can't load class 'ArrayOfDatastoreEventArgument' at /usr/share/perl5/VMware/VIMRuntime.pm line 52,...
View ArticleVMWare perl SDK - What packages are required in addition to main package
Hi,I'm try to run list_vms.pl using perl sdk vmware. So I installed:VMware-vSphere-Perl-SDK-6.7.0-8156551.x86_64.tar.gz However the perl sdk vmware does not appear to...
View ArticlevSphere SDK for non-system Perl
Hi All,Is installing the vSphere SDK for Perl using a non-system Perl suppotred? Meaning, if I download, compile and install a specific version of Perl on my Linux server can I install the vSphere SDK...
View ArticleBinding ip-address into a newly-generated virtualNic
I'm writing perl application about creating virtualNic in vCenter. Until now, the virtualNic is generated successfully and the mac-address can be retrieved, but I have to wait fourty-second...
View ArticleHow to get alarm definations list on a datacenter with sdk ?
Hello, i'm trying to get the preset alarm definations list on datacenterbut all I can find is the powerCLI scripts which is not what I need, like get-alarmDefinationDoes the sdk provide the interface...
View ArticleProvisioning virtual NVDIMM with Perl SDK
Hi everyone!I am trying to provision a virtual NVDIMM device using the Perl SDK. Specifically how the default storage policy for the PMEM datastore backing the device is determined / used.I actually...
View ArticleHow we can collect vCenter Cluster Used or Available reservation
Hi,I am looking for a way to find out Cluster's Resource Reservation info at least for CPU and Memory... I collected total reserved capacity some how like...my $cluster_view =...
View ArticleHow to get tagging related objects
Hi guys,I'm looking for a way to list on a vcenter, all tags.Then, all objects associated to those tags.I Know that I'm supposed to use Vapi on Vcenter 6.0+, and I mannaged to use correctly the script...
View ArticleSSPI = Cannot complete login due to an incorrect user name or password.
HIWe use perl scripts to log into vCenter 5.5 with Single Sign On. However if I use the same script to point to our 6.0 or 6.5 vCenter it fails. I updated to the latest SDK and still the same. Powercli...
View Article6.5 DATA STORE VMF6 SPACE RECLAIM
Hello Team I have removed few vms from tthe data store , unfortunately, i am not able to reclaim the space and there is no auto reclaim , anybody have idea how to reclaim the space. I did " Edit space...
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 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 ArticleDeleting a template from vSphere
Does anyone know a way to delete a template from vSphere, e.g. using the Perl SDL?I can delete VMs using the SDK, or the rest API (using Curl).But templates don't show up in the list of VMs. I can see...
View ArticleCreate a VM using StoragePlacementSpec
Hello, I cannot use the apps/vm/vmcreate.pl when using StoragePod (SDRS).I understood one might need to use StorageDrsPodSelectionSpec and the like? Would it be possible to request a working example of...
View ArticleModify vApp properties with VI Perl
Hello, I have some VMs I'm using as templates, with custom OVF properties, like shown below : On this VM there is a script run at boot time that retrieves these properties and configure some stuff in...
View ArticleError trying to clone a VM to a DataStoreCluser
Hey guys, We are trying to utilize William's script, to clone to the datastorecluster (from here: vGhetto / Code / [r251] /scripts/datastoreClusterVMProvisioning.pl)However we have an error we cant...
View ArticleTutorial: Get VM performance data using vSphere SDK for Perl
Hi, I turned one of my older scripts into another tutorial. This time it will be about querying and obtaining performance data using the Perl SDK....
View ArticleTutorial: Create inventory tree using vSphere SDK for Perl
Hi everyone, I wrote a short tutorial on obtaining vSphere inventory items in a tree-like structure using Perl SDK. It's not difficult, however I hadn't been able to find one so I felt like sharing it....
View ArticleInstall VMWare Perl SDK on Debian 9
Dear All I try to install VMWare Perl SDK 5.5 and I also tried 6.5 on Debian9 so I'm able to monitor it over Nagios. But the installation always fails with:Openssl-devel is not installed on the...
View Article