Query Performance Manager Data for CPU Usage Fails
I was trying to run the below SOAP request to get the Performance data, but for some reason I'm getting an error shown below. Any reason why this would happen?I'm using ESXi 5.1RequestPOST /sdk...
View ArticleRe: Query Performance Manager Data for CPU Usage Fails
It can be because you're session isn't authenticated (session was killed or you never properly authenticated with a login call before sending in that SOAP packet). It could also be because you're not...
View ArticleRe: How to uniquely identifying a ESXi Host under vCenter Server
Universally unique, probably not. The BIOS UUID is usually sufficient, except when the vendor doesn't provide enough dmidecode data as specified. But even then, it is possible to change the BIOS...
View ArticleUnable to query overallCpuUsage Counter (SDK Web Service) ?
Hi Folks,I am working on a Monitor solution and came across a issue I'm struggling to resolve. Initially, the idea was to use Cacti to monitor ESX using SNMP. That SNMP part idea soon disappeared when...
View ArticleRe: Unable to query overallCpuUsage Counter (SDK Web Service) ?
Thanks for looking!The issue was fixed after i queried vcentre for overallCpuUsage as a posed to quering a ESX Box directly.
View ArticleDatastore IOPs
Hi guys If i wanted to use the webservice to query Datastore IOP's, what counter should i be targeting? Sorry i should also mention that im trying to do this within perl sdk Thanks Vic
View ArticleGetting ServerFaultCode exception when trying to get refrance to a VM
Hi. I am using PHP 5 and its builtin SoapClient to connect to vCenter 5.5 web service. Login and log out functions are working but when call any FindBy methods I get the following exception: SoapFault...
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
How are you getting the SearchIndex object moref? Do you get it from ServiceContent or do you make it yourself?
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
Hi. Thanks for reply. I'm calling RetrieveServiceContent and get service instance then provide its SearchIndex property as _this to find methods. Should I created myself by using new soapvar? Regards
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
No, you should use the moref provided by ServiceContent. That error is usually the result of not having the right moref, or using a moref from a different session. Do you have your sample SOAP to review?
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
Hi. service instance object which I get by RetrieveServiceContent does not have moref property. How do I get it?
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
The property 'searchIndex' of ServiceContent is the moref. Just checked, SearchIndex is not session specific, so you're safe there. I think you'll need to post some of your code to get any better...
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
Hi. Bellow is my whole code. Its a small script which logs on to the server and requests a reference to a VM. [code]<? try { $client = new...
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
Hi. Bellow is my whole code. Its a small script which logs on to the server and requests a reference to a VM. [code]<? try { $client = new...
View ArticleRe: Getting ServerFaultCode exception when trying to get refrance to a VM
You may need to use the SoapVar method to generate the _this for the FindByInventoryPath call, that's the likely cause just from a quick glance. You could also have the SoapClient output the...
View ArticleRe: GuestOSIds for different editions.
Hi julien,I have one question. Can we install ESX x.x on any VM (which reside on another ESX)? If yes, then is it working? If no , why its not working?
View ArticleRe: GuestOSIds for different editions.
Hi, Yes you can but you need to make somes modification on your host and VM. Check here for more information : Howto: Create a nested lab or here...
View ArticleHow to find the disk type IDE or SCSI using Vsphere API ?
Hi i am using vsphere java api [VMware-vSphere-SDK-5.1.0-774886] i am implementing support for creating VM and attaching disk to VM while restore in esxi server 4.1,5.0,5.1 but i am not able to find...
View ArticleRe: GuestOSIds for different editions.
Also, a few posts from William who is sort of a nested ESXi champion. virtuallyGhetto: How to Enable Nested ESXi & Other Hypervisors in vSphere 5.1 virtuallyGhetto: w00t! VMware Tools for...
View ArticleRe: How to find the disk type IDE or SCSI using Vsphere API ?
Actually a good point, I don't think it's called out directly in a single property. You'll probably have to get the VirtualMachineSnapshot object, and look at it's configuration at that point in time...
View Article