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

Enabling verbose logging for the VMware High Availability agent on ESX/ESXi hosts (1031247)

Last Updated: 3/20/2024Categories: Total Views: 8375Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

The High Availability (HA) agent on one or more ESX/ESXi hosts reports an error

The default logging level for the HA agent does not provide sufficient information to troubleshoot the issue

Purpose

This article provides the steps to increase the logging level of the HA agent on ESX/ESXi hosts, and explains how to redirect the logs to a different disk.

Note: This article applies to vCenter Server 2.5.x through 4.1.x. For information about HA logging levels in vCenter Server 5.x, see Changing the logging level for the VMware High Availability management agent (FDM) in vCenter Server 5.x (2004540).

Resolution

Enabling verbose logging

To enable verbose logging for the VMware High Availability agent on ESX/ESXi hosts:

In vCenter Server, select the cluster in which one or more hosts are reporting HA errors.

Right-click the cluster and click Edit Settings.

Under Cluster Features, click VMware HA.

Click Advanced Options.

Add these Option/Value pairs:

Option

Value

das.trace

ON

das.tracelevel

4

das.traceoutput

File

Click OK.

Disable and re-enable HA in the cluster for the changes to take effect.

To disable HA:

Select Cluster Features

Deselect the Turn On VMware HA check box and click OK.

To enable HA:

Select Cluster Features.

Select the Turn On VMware HA check box and click OK.

The logs with verbose logging are available in the /var/log/vmware/aam directory.

Redirecting logs

On ESXi systems there may be a danger of filling up the MAINSYS ramdisk to 100% if verbose logging is enabled. To prevent MAINSYS reaching 100% full:, redirect VMware High Availability logs to a shared VMFS or NFS datastore.

To redirect the HA logs:

Identify a VMFS or NFS Datastore that is visible to all hosts participating in a HA (High Availablity) ESX cluster.

From the vSphere Client, select, select the cluster that where you wish to redirect the logs from the default ESX location (/var/log/vmware/aam).

Right-click the cluster and click Edit Settings.

Under Cluster Features, select VMware HA.

Click Advanced Options.

Add this Option/Value pair:

Note: das.logDirectory is only available in vCenter Server 4.1 and 4.1 Update releases and is not available in vCenter Server 2.x, 4.0.x or 5.x.

Option

Value

das.logdirectory

VMFS Datastore Label or friendly name

Disable and re-enable HA in the cluster for the changes to take effect

The logs with verbose logging are available in the directory you specifiy.

Notes:

If the Shared VMFS or NFS datastore is shared amoung many vSphere HA clusters:

Create multiple subdirectories for each cluster.

Update the path on das.logdirectory for each indivdiual cluster.

If using an NFS datastore, ensure that the NFS datastore is presented in the same way to each ESX server participating in the HA cluster you are manipulating.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

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

KB
•
Download and Install VMware Fusion (2014097)

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 VirtualCenter

VMware vCenter Server

Related Versions:

VMware VirtualCenter 2.5.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

Take Our Survey

Support Assistant