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 ArticleUnable 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 ArticleCustomizeVMTask 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 ArticleThe 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 ArticleIs 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 Articlevcenter6.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 ArticlevSphere 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 ArticleIs 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 ArticleUnable 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 Articleguestinfo 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 ArticleCustomization of Virtual Machine at time of creation(cloning) using VSphere...
Hi,I'm working on Virtual Machine provisioning using VSphere SDK 6.0. I have succeeded in provisioning the virtual machine from template using the following methodManagedObjectReference cloneTask =...
View ArticleVMware 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 ArticleHow 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 ArticleHow 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 ArticleLimit 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 ArticleCan 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 ArticlevSphere 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 ArticleVIX 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 ArticleAdd disk to particular storage policy
Is it possible to add a disk to a particular storage policy through the API/SDK? This is a new feature that has been made available in version vCD 10.8, but I haven't been able to figure out how to do...
View Article