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

Error: Server version unavailable at 'https://1.1.1.1/sdk/vimService.wsdl'...

 Hi,     I have a strange problem, I have 3 RHEL 5.4 servers that are clones of each other, I have install the SDK on all 3 of them, version:  I have installed VMware-vSphere-SDK-for-Perl-4.0.0-161974...

View Article


Modify the vCLI included vmcreate.pl to add a dvsport nic device

Hi there, Perl-aware skills here, but very rusty right now. I'm familiar with most constructs. I'm a newbie to the VM Perl SDK and vCLI components. Having some challenges figuring out how to modify...

View Article


vmware-vcli -- hostinfo.pl Information

Hi I installed the latest releasefor the Cli Tools in a linux platform:VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz And I executing the following command to collect some information:...

View Article

vmISOManagement.pl cant unmount locked Virtual CDrom's

Hello,I am trying to use this to set the VirtualDeviceConnectInfo for a VM to (connected => 'false')This doesnt work if the VM has the cdrom mounted. What happens is you have to answer a question in...

View Article

How to add storage/datastore to ESX host using vsphere SDK for perl?

Hi, Provided a LUN no., Is there any available code on how to add storage (datastore) onto an ESX/ESXi host using vsphere SDK for perl? Regards,Pranesh

View Article


Use vdiskcreate.pl for "Thin" vmdk

 I noticed you can't select thin for the creation of a vmdk.  does anyone know how to hack the existing vdiskcreate.pl to create only thin?   

View Article

are mo_ref ID values ever reused?

once a managed object reference ID number has been assigned to, say, a virtual machine, is it possible that the ID might be reused at a later date if the VM is deleted?  or will mo_ref ID values always...

View Article

Image may be NSFW.
Clik here to view.

Different Hardware Results vSphere - Perl SDK

Hi, i have a Problem with the HealthSystem.I get different results about the Hardware Status, this is vSphere result:And this is a short result of my scrpt:(Perl SDK Version 5.1.0) I build in the...

View Article


How to get read folder structure from vsphere client in Perl?

Hi all, the Windows vsphere client shows a folder structure. How can I inspect this folder structure through the Perl API? Cheers,Moritz

View Article


Deploy template via Command line

 Hi to all,  Is possible deply a template via command line and set hostname and network?   Thanks for your help      PS: Remember donate for ghetto script repository   

View Article

FQDN Error when installing vncenter server

Hello, thanks for your time.  I have a problem that is kind of bugging me and I cannot figure out.  I am installing Vcenter on Server 2008 and when I get to the server install I get this FQDN error,...

View Article

Getting latency stats for each LUN of a host

Hi, I studied the performance example "viperformance.pl" to understand how to retrieve performance data. But it is really hard for me to alter the script doing what I need.I need a script that prints...

View Article

Deploy OVF with perl sdk

Hi,  I'am trying to deploy an OVF on Vcenter via perl sdk :  Here is my snippet :  # Get OvfManagerprint "Get OVF Manager\n";my $OVFView=Vim::get_view(mo_ref =>...

View Article


Network error when installing vSphere Perl SDK

Trying to install vSphere SDK for Perl and I'm getting the following error message. Network is unavailable, please configure the network first otherwise please install the following modules manually...

View Article

faulted VMFS datastore details

Hi all, I'm trying to automate VMFS disk replacment using perl SDK.Once a disk is faulted i can see that the storage is not shown in the vSphere client GUI anymore.  I can see that when i use vCenter,...

View Article


Query Local Users and Creating Local Users

I'm trying to automate the creation of a Local User in ESXi using the Perl SDK. I know how to pull a list of users that have permissions from the host. my $userAccounts =...

View Article

TicketedSessionAuthentication for RHEL linux guests

Hi All, Just for verification - Does anyone now if i can i use TicketedSessionAuthentication in order to run command on linux RHEL 6.0 guests?  Currently im using the VM "AcquireTicket", to create a...

View Article


Install VMware Tools with VMware Sphere SDK

Can we install VMware tools with VMware Sphere SDK?In vSphere API/SDK Documentation writes follows:  VirtualMachine includes three methods for automating installation and upgrade of VMware...

View Article

Add Host to Datacenter

Hello, I want to add a host to a datacenter not a cluster using the perl sdk. I already figured out how to add one to the cluster. In order to call the AddHost it seems that I need a...

View Article

ApplyStorageDrsRecommendation_Task crashes vCente

Folks, I am trying to write a script to create VM's in my cluster. Right now, I have a script, but it is crashing my vCenter server completely. I posted the script and asked question to vSphere...

View Article
Browsing all 1577 articles
Browse latest View live


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