Script to retrieve vm info from esxi
Hi, im trying to create a script, which would get basic (IP, MAC, Hostname) info from each vm running on each esxi. I need to run it in Linux. Since im new to this im not sure if i did all the steps...
View Articleundefined symbol: Perl_Tstack_sp_ptr
Hi, im trying to install CLI on a new Linux Centos 64bit. Here is what i tried: I installed development tools # yum yum groupinstall 'Development Tools'I installed XML libraries...
View Articlenumber of concurrent clone tasks
how many concurrent clone tasks can vserver do at max ?i am starting a lot of clone operations and but they seem to make progress only one at a time.anyway to increase the concurrency ? any knobs i can...
View ArticleList the folders of Vsphere webclient
hi friends, can any one help to list the folder in the Vsphere webclient .. any one have the Perl api script to list the folder?
View ArticleScript to retrieve vm info from vmware vsphere webcleint
hi friend , can any one help to list the vm's in a datacenter in vmware vsphere webcleint . have any perl api script?? like :- " perl vmlist.pl --user ssa --password wds --url...
View Articlelist vm under the host - URGENT
hi friend , i need a perl api script to list the vm's under host ...
View Articlecollect all the data from vsphere webclient
hi all , any one have the perl api script to collect the all the detailed datas about (datacenter,host,folder,virtual machine,templates,datasore,networking,clusters..etc) in VMware vSphere...
View Articleincrease/decreasing RAM & CPU on a vm
hai friends, do u have any perl api scripts for increase/decreasing RAM & CPU on a vm? thanks in advance
View Articletree view information - vmware vsphere webclient
hi friends, can any one have the perl api script to fetch the hierarchial list like: datacenter and list of it's hosts,and vm's of all the hosts of datacener.. i think friends may...
View Articleconsolidation::Needed throwing an error
I'm currently looping through all my vm searching for which vm's need consolidation, but the line > print $vm->runtime->consolidationNeeded; is throwing this error "Undefined subroutine...
View ArticlePerl SDK - get/set vSphere 5.1 tags?
Apologies if this has been asked and answered, but I'm exhausted with searching. 5.1 introduces tags in favor of custom attributes, but I can't find a way to access the tags in the Perl SDK. Am I...
View Articleget_view question
Hello, I am learning vSphere sdk, and I am trying to replicate the following Java code from a book in Perl: CreateFolderDatacenter.javapackage vim25.samples.mo;import java.net.URL;import...
View ArticleDetermining snapshot file size
We're running into storage issues within our VC, and one of the reasons for this is excessive use of snapshots. I have a script that lists all of the snapshots for all of our VMs, but I haven't found a...
View ArticlevMA winpower(IPPON UPS) problem is "Host of "NameOfHost" is not known"
Good day dear community. My name is Vadim.During my instalation of vMA and WinPower Software for automatic shutdown ESXI 5.1 I got alot's of problem's witch are soleved, but here I feel like I'm...
View ArticleDeep Recursion in Perl API Script
We're running vSphere CLI 5.0.0 on a RHEL 5.8 server for many things, including VM backups. The backup script hasn't changed in quite some time, but now I'm seeing the following error messages on one...
View ArticleFiltering vm's based on datastoreFolder
I can't find an easy way to filter vm's based on a datastore Folder. For example I would like to do somthing like thismy $vm = Vim::find_entity_view(view_type => 'VirtualMachine', begin_entinty...
View Articleuploading vmdk file to nfc server using url given by importvapp
hi all I'm running into an issue uploading a local vmdk file to an esx server using the url given by the importvapp call. using the code below I try to do this but I get an immediate 500 write...
View Articlehow to find out the latest hardware version available for a VM
Hi, I'm having an issue upgrading the hardware version of virtual machines. my $vm = Vim::find_entity_view (view_type => 'VirtualMachine', filter => {'name' => $vm_name});$vm->UpgradeVM();...
View ArticleSSL_verify_mode of SSL_VERIFY_NONE for client is depreciated!
Hi All I having trouble using the below command: using VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64VI_SERVER=10.10.10.1 VI_CREDSTORE=/etc/vicredentials.xml /usr/lib/vmware-vcli/apps/vm/vmcontrol.pl...
View ArticleHow to add ESX hosts into DVS using vsphere SDK for perl?
Hi, I am a newbie to vsphere SDK for perl. Just started using it for automation a month back. I was looking for options to automate addition of ESXi hosts and their physical adapters to distributed...
View Article