第16章 Enabling kdump
For your Red Hat Enterprise Linux systems, you can configure enabling or disabling the kdump functionality on a specific kernel or on all installed kernels. However, you must routinely test the kdump functionality and validate its working status.
16.1. Enabling kdump for all installed kernels リンクのコピーリンクがクリップボードにコピーされました!
The kdump service starts by enabling kdump.service after the kdump-utils is installed. You can enable and start the kdump service for all kernels installed on the machine.
Prerequisites
- You have root permissions on the system.
Procedure
Add the
crashkernel=command-line parameter to all installed kernels:# grubby --update-kernel=ALL --args="crashkernel=xxM"xxMis the required memory in megabytes.Reboot the system:
# rebootEnable the
kdumpservice:# systemctl enable --now kdump.service
Verification
Check that the
kdumpservice is running:# systemctl status kdump.service ○ kdump.service - Crash recovery kernel arming Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: disabled) Active: active (live)