Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Collecting diagnostic information for the VMware Virtual Disk Development Kit (1006186)
Details
VMware Technical Support routinely requests diagnostic information from you when a support request is handled. This diagnostic information contains product-specific logs and configuration files from the host on which the product is run. The information is gathered using a specific script or tool for each product.
This article provides information about what you need to provide to VMware Technical Support to help diagnose a problem with VMware Virtual Disk Development Kit (VDDK) products.
The diagnostic information collected can then be uploaded to VMware Technical Support. To uniquely identify your information, use the Support Request (SR) number you received when you opened your Support Request.
- Instructions for opening a support request can be found online at www.vmware.com/support/policies/howto.html
- Instructions for uploading your support files can be found online at Uploading diagnostic information to VMware (1008525)
- Instructions for obtaining diagnostic information for other VMware products can be found online atCollecting diagnostic information for VMware products (1008524)
Solution
These instructions apply to VMware Infrastructure VDDK version 1.x or later.
Creating a VDDK Support Request
Here is a summary of the steps to file a VDDK Support Request:
- Ensure that the error was captured in the log files.
- Note the approximate time of the error.
- Collect the required diagnostic files and information.
Three sets of data are needed to properly diagnose your VMware Infrastructure VDDK issue:
- VDDK related information – Complete the VDDK support form. See 1006186_VMware_VDDK_Support_Form.zip, attached to this article.
- ESX related information – Collect ESX files. See Collecting diagnostic information for VMware products (1008524).
- VirtualCenter/vCenter Server related information – Collect the vCenter Server files. See Collecting diagnostic information for VMware products (1008524).
- Create and submit a Support Request. For more information, see Filing a Support Request in My VMware (2006985)
- Submit the Support Request with its associated information.
- FTP the diagnostic files to VMware.
Collecting VDDK related data
All the VDDK related information needed to evaluate your Support Request and to help diagnose your problem is listed in the VMware VDDK Support Form.
- Download and save the VMware VDDK Support Form. See 1006186_VMware_VDDK_Support_Form.zip, attached to this article.
- Complete the form, providing as much detail about your computing environment as possible. Include any log files and code snippets you feel might be helpful.
Note: To collect VDDK logs from a Windows proxy server, collect the latest vixdisklib log files:
- Windows XP, Server 2003: C:\Documents and Settings\<username>\Local Settings\Temp\vmware-<username>\
- Windows Vista, 7, Server 2008: C:\Users\<username>\AppData\Local\Temp\2\vmware-<username>
- Linux: /tmp/vmware-root/.
- Upload the completed form with your Support Request.
Collecting ESX related data
ESX includes a script called vm-support, which collects information that VMware Technical Support might request and packages that information into one file.
- For information about collecting ESX related data, see:
- Send the script-generated log files with your Support Request.
Collecting vCenter Server related data
vCenter Server provides an option that collects log information useful to VMware Technical Support.
- See the appropriate KB article for your version of vCenter Server . For more information, see Collecting diagnostic information for VMware products (1008524).
- Set the logging option to Trivial to ensure that all information is collected and that it includes time stamps.
- Send the script-collected files with your Support Request.
Enhancing the logs that are captured
Some issues require that you submit log files by using an enhanced capture level.
- Set logs to Trivia level for hostd when collecting files in ESX:
- On each host, open the hostd configuration file for editing:
/etc/vmware/hostd/config.xml
- Set the <level> tag to trivia mode. For example:
<log>
<level>trivia</level>
</log>
- Restart management services:
- ESX: service mgmt-vmware restart
- ESXi: /sbin/services.sh restart
- On each host, open the hostd configuration file for editing:
- Set logs to Trivia level for vpxa when collecting files in ESX.
- On each host, open the vpxa configuration file for editing.
Note: This file is /etc/opt/vmware/vpxa/vpxa.cfg, or /etc/vmware/vpxa.cfg before ESX 3.5.
- Set the <level> tag to trivia mode. For example:
<log>
<level>trivia</level>
</log>
- Restart the vpxa management agent:
- ESX: service vmware-vpxa restart
- ESXi: /sbin/services.sh restart
- On each host, open the vpxa configuration file for editing.
- Set logs to Trivia level when collecting files in vCenter Server. For vCenter Server, you can use the VMware Infrastructure/vSphere Client to configure the amount of detail that vCenter Servercollects in log files.
- Connect the vSphere Client to the vCenter Server. Go to Administration > Server Settings and select Logging Options.
- Configure the level of detail for log files. From the vCenter Server Logging list, choose Trivia (Extended verbose) and click OK.
- Set all the clocks in the systems (vSphere Client, vCenter Server, ESX, and so on), to the same time. If you cannot synchronize all of the system clocks, note any difference between the clocks of the different systems.
- Reproduce the error.
- Record the time the error occurs.
- Capture the logs.
- FTP the files to VMware.
Uploading files to the FTP server
If you have an existing Support Request and you need to attach additional files to your Support Request, upload them via FTP. For more information, see Uploading diagnostic information to VMware (1008525).
Debugging tips
Here are some best practices for debugging code when using VMware Infrastructure APIs:
- Generate complete logs with as much detail as possible including time stamps. Provide case samples of successful completions and failures with time stamps.
- Submit code samples that are as self-contained as possible and reproduce the problems.
- Use the VMware Infrastructure Perl Toolkit to reproduce problems found when you use VM Perl.
Additional information
For details on support offerings, see http://www.vmware.com/support/services/sdk.html.
Note: The SDK Support Policy applies to VDDK.
Update History
Attachments
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

