Hi All,
We are collecting real time perf data using queryPer call from
VMware SDK(java). Here we are facing problem of inconsistent/missing output
data. We will like to know if there is any way to dignose this from
VMWare logs?
Thanks,
~Sujit Apte
Hi Sujit,
You have mentioned that you are facing problem of inconsistent/missing output data while using QueryPerf method. Can you provide more information on what kind of inconsistency do you observe and for which entity are you trying to retrieve the real time data? One way of validating the data will be to compare the values you collect from SDK to the values displayed in "Performance" tab in the VI Client (connected to VirtualCenter and ESX) for that entity. For debugging information in logs, more details on the kind of issue will have to be determined.
The logs are named as hostd-?.log under /var/log/vmware directory. The hostd-index file has the number of currently used log file.
The log level can be configured at the /etc/vmware/vpxa.cfg file. Just look for a section like the following. You want to change it to trivia for debugging.
<log>
<directory>/var/log/vmware/</directory>
<name>hostd</name>
<outputToConsole>false</outputToConsole>
<level>verbose</level>
</log>
After you change the configuration, you need to restart the hostd by the following command line:
service mgmt-vmware restart