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

Uploading an ISO to a vSphere datastore very slow

I need to upload ISO files of appliance builds to a directory on a datastore (currently from the local machine, but in the future I want to go from a network share, or even via a https GET from another...

View Article


Delete a vm

Hi, I must be missing it.But where is a delete_vm task in the managed object VirtualMachine? Chris

View Article


Image may be NSFW.
Clik here to view.

Cannot start VM after adding a VMDK

Hello everyone, I modified the VMDK management script to fit my needs, the purpose of which is now to upload a VMDK to a specified VM (its ID), and then "associate" it to the latter. Basically, all...

View Article

How can I find the 'You are here' in a snapshot tree using Perl SDK?

Hello All, I have been working with the perl SDK for VMware and I am at the stage of my project where I need to display snapshot tree.My project is a web based form that have has many functions to...

View Article

Network label of a portgroup is kept in UNICODE internally.

Hi, everybody==============1 my $host = Vim::find_entity_view(view_type => 'HostSystem', filter => {name => $hostname}, properties => ['name', 'network']);2 print Dumper $host->network;3...

View Article


HostVMotionSystem deprecated, use virtualNicManager

Hi,I am trying to change the Subnetmask of a Vmotion Network via Perl SDK.For this I wanted to use the method UpdateIpConfig from the HostVMotionSystem.But the documentantion mentions, that...

View Article

List Cluster and the VMs running on that Cluster

Hi, I am looking for a way to find out all the VMs that belong to a cluster. In other words, I want a list that maps a clusters to all the VMs that run on it. In the API documentation, I find that...

View Article

ISO Management

Hi everyone, I am trying to mount an ISO at boot time on a specified VM, so the scripts contained in it can execute. The problem is that my ISO seems to be totally ignored when I create the VM. I use...

View Article


Image may be NSFW.
Clik here to view.

How to retrieve the console ip address of my hosts

Hi, I try to create my first perl script for vmware. I want to retrieve the console ip address of all my hosts under my vCenter. I'm able to retrieve the name of the hosts (I found a script who do...

View Article


SLES11 SP2: extract information from ESXi takes very long and aborts

Hello,  I'm trying to extract status information, using a Nagios plugin called check_esx3, from an ESXi 4.0 using VMware-vSphere-Perl-SDK-5.1.0-780721 on a SLES11 SP2 system with perl-5.10.0 and/or...

View Article

Can't install vSphere SDK for Perl on Linux

 I'm trying to install the SDK on a Dell Inspiron 9300 laptop with Ubuntu 9.10 Desktop as the operating system.  This computer is not connected to the internet, it is on an internal network.  I'm...

View Article

SOAP request error

HiI use vSphere SDK for Perl 4,1, All worked fine.But after update Net-HTTP perl module from 6.03 to 6.05 for all API requests I get following...

View Article

IO-Socket-SSL 1.80 trouble

Hi, After update IO-Socket-SSL from 1.77 to 1.80 and trying to connect to a Vsphere resources I get: ******************************************************************* Using the default of...

View Article


http_put_file() leads to error 500.

Hi, I have 2 ESXs led by a vSphere Server. I am trying to upload some stuff to a specified VM using the vifs.pl script (source here : http://communities.vmware.com/docs/DOC-10774 ), however I am...

View Article

SOAP Fault he object has already been deleted or has not been completely created

Hi, i get this error when i try to clone a vm, via perl sdk. this error occurs intermittently, sometimes fails and others it's ok.The full error is: 12-03 13:30 NACHITO      DEBUG    ('ERR',...

View Article


vmclone.pl how to customize IP address for Guest OS?

I need to give a static IP to the guest OS after the clone by vmclone.pl. However, in the sample file, I only see a few items which can be customized: <Specification>   <Customization-Spec>...

View Article

vmclone.pl errors

I am using following spec to customize the guest OS with vmclone.pl, but keep getting errors: /usr/lib/vmware-vcli/apps/vm/vmclone.pl  --vmhost vm-23. --vmname sdktest-01  --vmname_destination...

View Article


vmprovision.pl with dvswitch

Has anyone made vmprovision.pl work with a dvswitch? A new VM is created with a valid port group NAME, but the port group is invalid as it is created as a standard port group, not one that exists...

View Article

A way to automate the SDK install script? ./vmware-install.pl

Hi All,         Random question in the true spirit of automation.If one has already installed required Perl Modules needed for this script and If they wanted this completely automated without getting...

View Article

resxtop is 32bit only?

I've installed the perl sdk "VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.gz" on centos 6.3-x86_64, supposedly successfully (after a few quirks, such as the UUID needing libuuid-devel). However, resxtop...

View Article
Browsing all 1577 articles
Browse latest View live


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