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 ArticleSimple Perl code to get VM parent host
Hello, I am struggling with the object usage in perl; my goal is to pass a VM name as parameter and return some information of the ESXi parent host: use strict;use Data::Dumper;use VMware::VIRuntime;#...
View ArticlePerl SDK 6.5 and Vsphere
Hello,We are using a Perl script which querry the VCenter and collect the VM annotation property. But we want to change and collect the tags of the VM. But (thanks to this forum) apparently you can use...
View ArticleAndroid java.rmi.exception
I've been attempting to utilize the java SDK on the android platform, but have run into an issue where the java.rmi is not included in the version of java that the android utilizes. Does anyone know...
View ArticleVMware VIJAVA sdk with Android application
Hi I am using Vmware SDK (vijava2120100824.jar) to manage the VM operations. When I call those web services from a java application it is working fine.I created an Android application. I am trying to...
View ArticleVIJava: getting childs of a ManagedEntity
Hi all, I am trying to read the vCenter inventory step by step (not recursive) to lazy fill a TreeView. Starting with the rootFolder I want to get deeper into the vCenter structure without having to...
View ArticleVcloudClient pool
I have a webapp which provides simplified access to a vCloud. Can anyone tell me if VcloudClient is threadsafe or if I need to maintain a connection pool (the same way I would have a db connection...
View ArticlePerfomance degradation with a shared connection/session to WebService and use...
Apologies for the cross post from vSphere Management SDK forum, but i think my problem is applicable in the context of this forum as well. Note all the following code is in C#, but as there's no C#...
View Articleblock port on a VSS portgroup
Hi, On DVPortGroup we can block a port by using ReconfigureDVPort_Task giving a DVPortConfigSpec whose setting.blocked.value set to true. But how to do the same for standard switch port? Regards,Litty
View ArticleCPU , Memory Utilization MIBs
Hi , I need to monitor the VMware ESXi 5.1.0 through SNMP. However, i am unable to identify the mib file that is used for monitoring performance metrics like cpu utilization, Memory Utilization. I...
View ArticleMigrate Vcenter between two ESXI
Hi guys,i have two ESXI 5.1 with couple of Vmwaresmy Vcenter is on the ESXI number 1,i want to migrate my Vcenter to the ESXI 2 because ESXI 1 will be down for a while,is this possible?
View ArticleHow do I get UUID of newly created Virtual Machine?
ManagedObjectReference taskmor = vimPort.createVMTask(vmFolderMor, vmConfigSpec, resourcepoolmor, hostmor); String msg = null; String[] opts = new String[] { "info.state",...
View ArticleHow to get the MOR when directly connectet to the host?
Hi,I am trying to reboot a host with the rebootHost_Task (MOR _this, boolean force). Therefor I need a MOR of he host.But how do I get this, if I am directly connectet and not via vCenter?I...
View ArticleHow to run Java Samples In VMware-vSphere-SDK-5.5 ?
Hi: VMware-vSphere-SDK-5.5 that different 5.1. In 5.1 ,we use run Samples on "main" method. For example: args = new String[6];args[0] = "--username";args[1] = "root";args[2] =...
View ArticleCreating Virtual machine, with SOAP fault error, create filter
Hi I have used VMCreate provided in SDK-samples. It successfully creates Virtual Machine but with errors. Issue: Though, it creates VM but Web service client receives following exception in response,...
View ArticleInvalidPropertyFaultMsg collecting property portWorldWideName in FibreChannelHba
ManagedObjectReference hsdi = new ManagedObjectReference(); hsdi.setType("HostSystem"); hsdi.setValue("host-28"); ObjectSpec objectSpec = new ObjectSpec(); objectSpec.setObj(hsdi); PropertySpec...
View ArticleManagedObjectNotFound while registerAgentVm....
Hi, While trying to manually provisioning an Agent VM using registerAgentVM api as below is raising exception: ManagedObjectReference vmMor = new ManagedObjectReference();...
View ArticleViJava: Thin provisioned disks when cloning from template
I have been trying to change the disks on a vm cloned from a template to be thin provisioned. final List<VirtualDeviceConfigSpec> deviceChange = new ArrayList<VirtualDeviceConfigSpec>();...
View ArticleNeeded the Suitable Jars for the VSphere SDK.
Hi, I have been trying to develop a Java Program to extract the VM Stats. Attached is the java file. I have downloaded many jars searching for the Java API to connect to the VSphere. Each Jar is has it...
View ArticleHow to get list of all virtual machines these are running on vcenter server...
Hi,Currently I am collecting information about esx by using ip of each and every esx host.I want to get such information from vcenter server as it contains information about each esx running on it.This...
View Article