Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Collecting VIX diagnostic information (1019561)

Last Updated: 10/15/2020Categories: How toTotal Views: 8803Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Purpose

This article provides information about collecting VIX API diagnostic data so you can create a VIX API Support Request (SR).

Note: If you have critical production-related issues, call the VMware support hotline. All non-production support requests are handled through email. Allow up to 48 hours for a response. Submit one support request per issue.

Resolution

Creating a VIX API SR

The following is a summary of the steps to file a VIX API SR.

Collect the required diagnostic files and information. This information is required to properly diagnose your VIX API issue:

VIX API information

VIX Logs

VMX Logs

ESX Data

Create and submit a Support Request. For more information, see Filing a Support Request in Customer Connect (2006985).

FTP the diagnostic files to VMware. For more information, see Uploading diagnostic information to VMware (1008525).

Collecting VIX API information

All of the information needed to evaluate your support request is listed in the VIX support form.

Download and unzip VMware VIX Support Form. See 1019561_VMware_VIX_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 other information you feel might be helpful.

Upload the completed form with your support request.

Collecting VIX logs

If you are running a separate program that uses the VIX library, it generates a VIX log.

On Linux, VIX Logs are located at /tmp/vmware-<username>/vix-<pid>.log.

On Windows, VIX Logs are located at %TEMP%\vmware-<username>\vix-<pid>.log

Collecting VMX logs

This VMX log file (vmware.log) is found in the same directory as the VMX file for the virtual machine that you are running.

Set the following property in configuration file in /etc/vmware/ on the ESX host:

vix.debugLevel = "9"

Collecting ESX Data

To collect ESX-related data:

Enable VIX debug level logging and hostd trivia level logging:

On each host, open the file hostd configuration file (/etc/vmware/hostd/config.xml) for editing.

To enable VIX debug logging, add the following to your hostd configuration file, inside the <config> element:

<vix>
<longOpts>
<vix.debugLevel>9</vix.debugLevel>
</longOpts>
<boolOpts>
<vix.LogRefcountOnFinalRelease>TRUE</vix.LogRefcountOnFinalRelease>
</boolOpts>
</vix>

To enable hostd trivia-level logging set the <level> tag to trivia mode. For example:

<log>
<level>trivia</level>
</log>

Restart the management services for the changes to take effect. For more information, see Restarting the Management agents on an ESX or ESXi Server (1003490).

Note: If the .xml file is misformed, hostd fails to start.

Run vm-support to collect logs (including the hostd logs).

Note: The hostd logs rotate when they become large, and the debug logging that you have enabled is very verbose. For this reason, it is important to collect the logs promptly after the incident. Otherwise, the logs may rotate, and you may lose the logging. As of VIX 1.11, logs rotate at 1MB and you can disable log rotation by setting vix.log.rotateSize = 0 in the hostd configuration file. However this could result in huge log files.

Disable debug logging when you are done.

Note: The debug logging that you have enabled is very verbose. VMware recommends that you disable it when you are done collecting support information. Reverse the changes made in step one, and restart the management services. Restarting the Management agents on an ESX or ESXi Server (1003490).

Related Information

How to file a Support Request in Customer Connect

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

1019561_VMware_VIX_Support_Form.zip

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
将 VMWare vCenter Server Appliance 或 VMware vRealize Automation Identity Appliance 加入域失败并显示错误：尝试加入 AD 时出错，错误代码 [31] (2134063)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 6.7.x

VMware vCenter Server 6.5.x

VMware vCenter Server 6.0.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.0.x

Take Our Survey

Support Assistant