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

I have a VM name. For this VM, I have to update the Vapp in which this VM is...

I tried a couple of things, but none of them worked. What is the difference between Catalog and AdminCatalog? 

View Article


Is there any web service to create a VMkernel port on a vSphere Distributed...

I am looking for web service for creating a VMkernel port and setting its properties like vMotion, Fault Tolerance logging, Management Traffic on a vSphere Distributed Switch. There are various vSphere...

View Article


Getting all host from Vcenter no getting metric values Vsphere SDK 6.0 for Java

Hello,I'm trying to integrate with sdk vsphere 6.0. I follow tutorial for getting Performance Metrics from HostSystem. vSphere 6.0 Documentation Center The code works when i connect to to esxi directly...

View Article

Unable to login to vCenter using vijava

Hi, I am using vijava-5.5-beta and when I try to connect to the vCenter I am getting the below error  java.rmi.RemoteException: VI SDK invoke exception:com.vmware.vim25.InvalidRequest at...

View Article

CustomizeVMTask java api works for vCenter mob but not for ESX mob. Why?

Hi, I need to change the static ip of VM using code.CheckCustomizationSpec and CustomizeVMTask java api's work for vCenter mob but not for ESX mob. Why?For ESX mob(url),  CheckCustomizationSpec throws...

View Article


The session is not authenticated on vim25.jar api

Sometime we got The session is not authenticated exception when calling VimPortType.currentTime() api in vim25.jar.  The vCenter server version we are pointing to is either 5.1 or 5.5.Here is the trace...

View Article

Is there a VI JAVA to get Clustering vCenter servers configurations?

Hi Team,I have a scenario where the vcenter servers itself been clustered and i want to get the configuration information for the vcenter that is configured in clustered vcenter or not. Can anybody...

View Article

Image may be NSFW.
Clik here to view.

vcenter6.0 SSO Client Samples return 404 bad request

com.vmware.sso.client.samples.AcquireBearerTokenByUserCredentialSample public static void main(String[] args)            throws DatatypeConfigurationException {        args=new String[3]; //...

View Article


vSphere SDK createScheduledTask problems in java

Hi, I am trying to use vsphere sdk 6 to create scheduled task to unmap datastore, here is the code: sc: ServiceContenthostStorageSystem: HostStorageSystemvmfsUuid: String (the vmfsUuid of a specific...

View Article


Is there vSphere SDK API to perform Storage Array Type Policy(SATP) rule...

Hi all, Is there vSphere SDK API available to perform Storage Array Type Policy(SATP) rule removal and reclaim operation on vCenter Server 6?I can perform these operations from ESXi console using...

View Article

Unable to access the vCenter using SDK

HiI have two Linux machine, one machine is in the same network of vCenter and the other machine is in private network but machine has access to vCenter(ping is working) I am able to run the sample code...

View Article

Image may be NSFW.
Clik here to view.

how to get triggered alarms by used vsphere sdk java?

who can  help me ? thanks!

View Article

guestinfo vs machine.id variables for passing info in VM

I am trying to pass some configuration specs to a VM. These specs. would later be retrieved (with the help of vmtoolsd cmd)by the init services during booting of the VM. Now i found two choices here:1....

View Article


VMware vCloud SDK for Java 5.6.x?

I am currently developing a Web application around VMware vCloud SDK for Java 5.5.0. However, I cannot query the metrics entities unless I specify API version 5.6.I looked for version 5.6.0 of the...

View Article

How do I get all the VC servers that are in linked mode?

I have the username/password/url to one VC in linked mode.  How do I get all the VCs that are in linked mode? Here is my code to retrieve the UserSession.   I know it's possible if you get access to...

View Article


How to get Snapshot space using vi java api??

Hi, I am in trouble to get the Vm snapshot space regarding to the specific cluster. I didn't find any property or method in the vi java api. So please tell me how to get snapshot space??? or refer me...

View Article

Limit time for using VM workstation

Dear all,can you help ?would you please inform me if their Any way to let VM workstation  image work for 3 months (or for limit time ) and stop automatically after 3 months. examlpe : I used win 7...

View Article


Can I use this vCloud SDK for java in my commercial software release?

My software is commercial release. Can I put the jar files from this vCloud SDK for java into my software?

View Article

vSphere API Performance Counters

I am working on some Java code to read performance metrics from VMs via the vSphere SDK. I am getting the following performance...

View Article

VIX error codes equivalent API in vsphere SDK

Hi Team, While trying to migrate from VIX to guest operations of vsphere API, I see that there is an equivalent API for running a program on guest, ie, VixVM_RunProgramInGuest ~ StartProgramInGuest....

View Article
Browsing all 1577 articles
Browse latest View live


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