Re: Create VMDK via RDM to iSCSI target using SOAP API
Hi stumpr, Thanks for your response. I'm new to the SOAP API, could you point me towards the Managed Objects I should be looking at for creating the RDM? Thanks.
View ArticleRe: Vijava as an OSGi bundle
There is also a much easier to use tool for creating osgi bundles. It's called "bnd" (http://www.aqute.biz/Bnd/Bnd). For example, to create vijava bundles: java -jar bnd-2.2.0.jar wrap -o...
View ArticleRe: Create VMDK via RDM to iSCSI target using SOAP API
It's just the ReconfigVM_Task() with the appropriate configurations. My current example was written in vCO for my last project. But it's mostly custom workflows and actions, so the code is basically...
View ArticleRe: Create VMDK via RDM to iSCSI target using SOAP API
Thank you very much for your help. I am trying to adapt my code to resemble yours in the hope of being able to do this, but in the vSphere client, I see this error: Invalid configuration for device...
View ArticleRe: Create VMDK via RDM to iSCSI target using SOAP API
Yeah, you'll see that error often Trick is finding the parameter that broke it. You can sometimes get more information if you review the vpxd.log file on the vCenter server. It will often tell you...
View ArticleRe: Create VMDK via RDM to iSCSI target using SOAP API
Unfortunately, my situation has not improved. I tried tailing the vpxd.log file, but did not see any entries that indicate an error on the CreateVM_Task. I checked the other log files in the that...
View ArticleRe: Create VMDK via RDM to iSCSI target using SOAP API
I've had problems with PHP in the past. Have you tried the logic with a supported SDK kit, like Perl to validate the logic? Also, just reviewing your logic you have some things that don't follow the...
View Articlevmkfstools through API
I was wondering if there is a way to run vmkfstools through an api call. specifically I need the -r command.
View ArticleRe: vmkfstools through API
See if this is what you're looking for: VMware KB: Renaming a virtual machine disk (VMDK) via the vSphere Management Assistant (vMA) or vSphere CLI (vCLI) …
View ArticleRe: vmkfstools through API
So installing vmware tools will give me command line access to the hypervisor though vCLI?
View ArticleRe: vmkfstools through API
Yes. vmkfstools in vCLI has a remote connection option so you can do just that. There are other tools as well. You can also rename a VMDK through the API with a reconfigVM_task(), but that's probably...
View ArticleRe: vmkfstools through API
I was hoping to run vmkfstools to get around not having an api to do what i need to though there. Thanks this helps a lot. Are there any problems with using the cli when there are no api calls for...
View ArticleRe: vmkfstools through API
Not sure I follow, but the vCLI vmkfstools will let you run the tool as if you were local to the host.
View ArticleHow to get all ESX hosts from a vcenter
Hi, how do you get all esx hosts from a vcenter? I can navigate via MOB (/mob/?moid=HostProfileManager) which lists my clusters and I can then click through on those to see the hosts but I cant work...
View ArticleRe: How to get all ESX hosts from a vcenter
You need to use the vSphere Web Services SDK to navigate through the vSphere objects hierarchy. Or you can use the simpler but unsupported ViJava API from Steve Jin.
View ArticleRe: How to get all ESX hosts from a vcenter
As Laurent pointed out, open source vijava can help that with one line like the following: ManagedEntity[] mes = new InventoryNavigator(rootFolder).searchManagedEntities("HostSystem"); Check out more...
View ArticleRe: Issue with retrieveProperties
Feel free to take a look at the implementation of open source vijava API which has resolved the issue: http://vijava.sf.net. Or, you can just use the API and forget about these tedious details....
View ArticleRe: Vijava as an OSGi bundle
That is right. As the creator of the vijava API, I am not aware of it's downloadable anywhere. But as vSphereArt pointed out, it's easy to create one yourself. Good luck! Steve...
View ArticleRe: Creating custom attributes using pyvmomi
I had written a simple sample before, but not the same as you expected:http://www.doublecloud.org/2013/11/hacking-vmware-private-python-api-for-vsphere-with-a-quick-sample/ Good luck! Steve...
View ArticleRe: ReconfigVM_Task could not remove a delta disk from VM on vSphere 5.1
This is NOT a vSphere API issue. When a snapshot is cut, a new child (delta) disk is created for changes forward. If you remove the parent disk and child disks in snapshot chain, a child disk is...
View Article