How to resolve Coredump partition error in ESXi

Today, as a routine check I have seen following warning message in my ESXi host.

Coredump001

I googled it to check the reason and find the resolution of my ESXI warning.I found following VMWAR KB article “2004299” as a solution.

What is this Error Message Mean?

The diagnostic coredump partition is used to capture the output of a purple diagnostic screen in the event of an ESXi host failure.

Resolution Method 1:

Enable SSH:

In vSphere Client, go to configuration -> Security profile-> properties.

Coredump003

As you can see it’s already running. If it is stop then click on “Options” button and enable it.

Coredump005

  1. Open your putty or any SSH Terminal and connect to your ESXi host using SSH.
  2. To display the currently configured diagnostic coredump partition:

Retrieve the currently active diagnostic partition using the esxcli command line utility:

#esxcli system coredump partition get
Output:

Coredump006

Creating and activating a diagnostic coredump partition on disk

Prerequisite:

  • Diagnostic partitions cannot be created using the vCLI, but existing diagnostic partitions can be activated.
  • Select a storage device with at least 100 MB of free space that is accessible by the ESXi host. 

Use the esxcli command line utility to list all accessible diagnostic partitions.

#esxcli system coredump partition list
The output appears similar to:

Coredump007

Set and activate one of the accessible diagnostic partitions using the esxcli command line utility. Either specify a device explicitly, or use the Smart Activate feature to automatically select one of the accessible diagnostic partitions:

To configure and activate a specific device partition by its VMkernel device path, use the commands:

#esxcli system coredump partition set –partition=”Partition_Name”
#esxcli system coredump partition set –enable true

For example:
Coredump009

Coredump011

To automatically select and activate an accessible diagnostic partition, use the command:

#esxcli system coredump partition set –enable true –smart

Validate that the diagnostic partition is now active using the command:

#esxcli system coredump partition list
The output appears similar to:

Coredump013

Method 2: Activating or deactivating an existing diagnostic coredump partition on disk using Host Profiles

If a diagnostic partition is available on shared or local disks, it can be activated or deactivated across a group of ESXi 5.x hosts using Host Profiles

  • Connect to vCenter Server using the vSphere Client.
  • Click Home and select Host Profiles.

Coredump014

  • Create or edit a host profile (if already created as you seen above, Right click and Click Edit)
  • Select Coredump Partition Settings > Fixed Coredump Partition Policy.

Coredump015

  • When selected, the ESXi host automatically selects and activates an accessible diagnostic partition. If a diagnostic partition is already configured, it is activated.
  • When deselected, the ESXi host deactivates any previously active diagnostic partition.
  • The configuration option Enable or disable coredump partition is available. Specify the preferred option:
  • Save and apply the host profile.

NOTE: make sure to reboot the ESXi host. after apply any of this methods.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s