Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Browsing all 1577 articles
Browse latest View live

PHP with Perl SDK won't run properly

Hi,I have a simple Perl script (see below) that grabs the hosts from my vCenter and prints it out to the terminal.#!/usr/bin/perl -w  use strict;   use VMware::VIRuntime;  Opts::parse();...

View Article


Trying to return the naa.XXX value for the datatores of a VM

I have been unable to return the Device number for the datastores associated with VMs. Our admins poorly named the datastores so the only way to see what array the VMDKs are being housed on is by...

View Article


TLS - 500 - SSL negotiation failed

Hello, we have a connection problem after switching from SSL to TLS:  VCENTER 5.1.0VMware-vSphere-Perl-SDK-6.0.0-2503617.x86_64 SDK-API for PErl to restrict connection to TLS only, we after added the...

View Article

Newbie question Regarding Opts::validate()

Hey, I have just started using the SDK and have a query regarding the opts::validate(). I have implemented perl a script which will loop through an array of vCenters calling a connect subroutine for...

View Article

Get WWN of a ESXi host by using vSphere SDK for Perl

I tried to get wwn of a ESXi host by using vSphere SDK for Perl, but it does not success. All the information I can get is bus number, device's name, driver's name ......

View Article


Determine configure file (.vmx) of a VM by using Vsphere Perl SDK

I have a VM which is deployed in an ESXi of a vCenter. For each harddisk of the VM, I can get path to the place it's stored in the database. So, can I get path of configure file (.vmx) of the VM in the...

View Article

Determine the VM which are using the configure file (.vmx) in datastore

In the vCenter Server, from the vmx file inside a directory in a datastore, how to detect the VM name which are using this file by using vSphere SDK for Perl. Thanks in advance

View Article

Rename a file or folder inside datastore of vCenter using vSphere SDK for perl

Dear allI want to rename a file or folder in a datastore of an ESXi. How to do this by using vSphere SDK for perl.

View Article


Creation of the virtual machine on a cluster via vmcreate.pl script

Hi, I have checked few posts on this forum on how to create the virtual machine via vmcreate.pl, but the responses was not so clear to me...These are the topics I have read: Create VM instance on...

View Article


Moving vNIC on existing VM to new DVS portgroup

This code: http://pastebin.com/GRsniSVe will run to completion with no errors, but doesn't actually move the vNIC to the designated portgroup.  It successfully finds the portgroup by its VLAN id [Line...

View Article

Change LUN of RDM of VM using vSphere SDK for perl

I have a VM, which have a raw device mapper disk (RDM). The RDM is added by using LUN 6 of my storage device. Now, I want to change the RDM to LUN 9 (same properties as LUN 6), but it does not success....

View Article

Create VMFS datastore without format the disk

When I use method CreateVmfsDatastore, it create datastore successfully, but the content of LUN is formated. So, is there any way to create the vmfs datastore but still keep the content of LUN.

View Article

Copy delta file of virtual disk (snapshot file) using vsphere sdk for perl

I can use method CopyVirtualDisk_Task (https://www.vmware.com/support/developer/converter-sdk/conv60_apireference/vim.VirtualDiskManager.html#deleteVirtualDisk) to copy normal virtual disk file...

View Article


SOAP request error - possibly a protocol issue (Emergency)

Hi All,          I have a script to collect all vcenter entity info. It works upto 31/Jan/2015 without any issue . From Feb 1st it didn't collect any datas. We are using "Vim::find_entity_views" for...

View Article

Will RHEL 7 ever be a supported platform for vSphere SDK for Perl 5.5 ?

Will RHEL 7 ever be a supported platform for vSphere SDK for Perl 5.5 ? https://www.vmware.com/support/developer/viperltoolkit/viperl55/vsp55_vsperl_relnotes.html#supportedThanks

View Article


creating a virtual machine with php

Perhapsfor someonehandy. Creating a virtual machine with php

View Article

Does vSphere Perl SDK for vSphere 6.0 support vSphere 6.5 (VCSA 6.5) ?

I have found out that the behavior of vSphere Perl SDK for vSphere 6.0 is defferent on vSphere 6.5 .Need Help to solve this issue. There is no issue on vSphere Perl SDK for vSphere 6.0. If there is a...

View Article


Task which is created by vsphere SDK can be suspended forever

Dear allI have a perl script, which use vSphere SDK for Perl to create a task (Please refer to...

View Article

Create a schedule task for multiple actions

I can use create schedule task by using method createScheduledTask (https://www.vmware.com/support/developer/converter-sdk/conv60_apireference/vim.scheduler.ScheduledTaskManager.html#create) for a...

View Article

Querty tags via Perl SDK

Hi, We recently changed from the use of Custom attributes to Tags. Custom attributes can be read, set etc via Perl SDK, no problems there. Now, there seems to be no way to use or at least read Tags...

View Article
Browsing all 1577 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>