Quantcast
Browsing all 1577 articles
Browse latest View live

How to get alarms list on a datacenter with sdk ?

Hello, i'm trying to get the alarms triggered on each datacenter objects.On the VSphere client I can see 5 alarms (4 warnings, 1 Alert)  triggered, andI didn't succeded in retrieving this alarms...

View Article


Script need to deploy a VM from a template

Hi All, greetings ! I am pretty new to vmware,  It would be great if any of you could provide me with a Script to Deploy VM from an existing VM template ? The VM templates resides on a ESXserver part...

View Article


Options supported by CustomizationLinuxOptions

Hi, I am trying to understand what options are supported by the CustomizationLinuxOptions object, And you to use it (Maybe someone have an example)? Thanks you, Dori

View Article

Guest customization with cloneVM task: IP & default GW

Hi All, I am using the cloneVM_task to clone a VM machine with customiztion object. The VM is linux (rhel5) installed with vmware-tools and i am using vSphere 5.0.  I have 2 question about network...

View Article

Download a file from datastore

Hi, is there a way to use the datastorebrowser to download/put a file from a datastore?As there is a way in the vCenter to do this there should also be one doing it with the viperltoolkit. Any ideas?...

View Article


Example of using the "CustomizationCustomIpGenerator"

Hi all, I'm trying to use the "CustomizationCustomIpGenerator" (- Use a command-line program configured with the VirtualCenter server), to customize nic IP setting on linux Rhel5 VM. The argument i'm...

View Article

openSSL certificate verification

 I have seen others talk about this issue but they never stated what resolved their problem.   Problem: When you do a connect.pl from the Perl utilities and get Error: Server version unavailable at...

View Article

unable to clone vm get error-A specified parameter was not correct....

I am using vmclone2.pl (ref -http://communities.vmware.com/docs/DOC-12270) to customize guest OS to set a specific IP address (and other network settings. ) I am using VSphere SDK for Vsphere 4.1 ESXi...

View Article


What is --datacenter referring to?

Hello i am trying to validate my insatllation of vSphere 4.1 SDK Perl. The command syntax to validate is the following: perl discovery/datacenterlisting.pl --server --datacenter --username --password I...

View Article


VMware Auto Deploy and vSphere SDK for Perl

Hello, I know VMware PowerCLI has few cmdlets which helps us to add  ESX Software depot, create rules and apply rules. is there any way to achive the same in vSphere SDK for Perl? Thanks

View Article

Creating virtual disks on specific SCSI Controllers (vdiskcreate.pl)

I have virtual machines that just have the default SCSI Controller 0 installed with one disk attached. What I want to do is create additional SCSI controllers up to the limit (SCSI Controllers 1, 2 and...

View Article

VMware Scripting API - Installation fails on Debian Squeeze

Hi! I get an error while installing (compiling) the VMware Scripting API package. It is reproduceable on at least 2 different Debian Squeeze systems. Here you can see the last make lines:...

View Article

"esxupdate -l query" equivalent for Perl SDK

Hey Guys, Is there a way to get a list of patches installed on a given list of hosts within a vCenter environment in a similar manner to the output of "esxupdate -l query" ?  I've found several...

View Article


applying a host profile to an ESX host

Having trouble doing this, likely because I don't understand quite what I'm doing.  From the UI, you can associate a profile with a cluster.  Then, you can right-click on a host within the cluster and...

View Article

VM on HOST?

Hello Guys,since a few days I'm palying around with the vSphere™ SDK for Perl API V5.0.hostinfo.pl and vminfo.pl works fine as well as my own developed scripts.But I cannot find the relation between a...

View Article


esxcli doesn't work with credstore

Anyone encountered and found a solution to this? Welcome to vSphere Management Assistantvi-admin@vmat:~> /usr/lib/vmware-vcli/apps/general/credstore_admin.pl add --server VLT02000 --username...

View Article

About:CloneVM

Dear All,     I am trying to clone the vm ,but it not work, following is the source code, any Idea ?sub cloneVM{     my $this = shift;     my $vmList = $this->{vm};     $len = scalar @$vmList;for...

View Article


Set VM OS Type Using SDK Perl v5?

I am trying to set the operating system type of a virtual machine shell using the Perl version 5 SDK and am receiving an error. Snippet of code:      $guestid = "sles11_64Guest"     my $guestid =...

View Article

vicfg-hostops question

Hi All,     I just got through the installation of vCLI and perl SDK. I installed all  this in my vCenter SUSE VM it self. The vCenter is bootstrapped into the  cluster. I am trying to reboot a host in...

View Article

Problem using vSphere™ SDK for Perl instead of VI Perl Toolkit 1.6

 We are currently running VI Perl Toolkit 1.6 on SLES 10 SP1 64bit.  When I run a test query using 1.6 I get the expected result.  When I uninstall 1.6 and install vSphere SDK for Perl and run the same...

View Article
Browsing all 1577 articles
Browse latest View live


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