How to Configure KDUMP on Oracle Linux 8 and 9 — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Get Started with Redwood: Oracle Cloud SCM and Purchasing

How to Configure KDUMP on Oracle Linux 8 and 9

edited Sep 13, 2023 4:10PM in Linux

1). If the kdump package is not already installed on your system, install it:

# dnf install kexec-tools

2). With the proper administrative privileges, edit the /etc/default/grub file and set the crashkernel= option to the required value.

For example, you would reserve 64 MB of memory as follows:

crashkernel=64M

You can also set the amount of reserved memory as a variable by using the following syntax: crashkernel=range1:size1,range2:size2.

For example, you might set the memory as a variable as follows:

crashkernel=512M-2G:64M,2G-:128M

(Optional) If necessary, define an offset value for the reserved memory.

Because the crashkernel reservation occurs very early, some systems require that you reserve memory with a certain fixed offset. When a fixed offset is specified, the reserved memory begins at that point. For example, you would reserve 128 MB of memory, starting at 16 MB as follows:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!