My Oracle Support Banner

Oracle Linux: How to Configure "kdump" on Oracle Linux 8 (Doc ID 2962417.1)

Last updated on JULY 27, 2023

Applies to:

Linux OS - Version Oracle Linux 8.0 to Oracle Linux 8.8 with Unbreakable Enterprise Kernel [5.4.17] [Release OL8 to OL8U8]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Goal

The Kdump feature provides a kernel crash information dumping mechanism in Oracle Linux. The kdump service saves the contents of the system’s memory for later analysis. The second kernel resides in a reserved part of the system memory.

Kdump uses the kexec system call to boot into the second kernel, called a capture kernel, without the need to reboot the system, and then captures the contents of the stopped kernel’s memory as a crash dump (vmcore) and saves it. The vmcore crash dump can help with determining the cause of the malfunction.

Enabling the Kdump feature is highly recommended because a crash dump might be the only information source that is available if a system failure occurs. Kdump is vital in many mission-critical environments.

Before enabling Kdump, ensure that the system meets all of the memory requirements for using Kdump. To capture a kernel crash dump and save it for further analysis, reserve part of the system's memory permanently for that purpose. When you do so, that part of the system's memory is no longer be available to the main kernel. For more Information see: Working With Kernel Dumps

This Note explains how to configure, test, and use the kdump service in Oracle Linux(OL) 8.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.