Chapter 28. Configuring kdump in the web console
You can setup and test the kdump
configuration by using the RHEL 9 web console. The web console is part of a default installation of RHEL 9 and enables or disables the kdump
service at boot time. Further, the web console enables you to configure the reserved memory for kdump
; or to select the vmcore saving location in an uncompressed or compressed format.
28.1. Configuring kdump memory usage and target location in web console
You can configure the memory reserve for the kdump
kernel and also specify the target location to capture the vmcore
dump file with the RHEL web console interface.
Procedure
-
In the web console, open the Kernel Dump tab and start the
kdump
service by setting the Kernel crash dump switch to on. -
Configure the
kdump
memory usage in the command line. In the Kernel Dump tab, go to Crash dump location and click the link with the path to the dump location.
Specify the target directory for saving the
vmcore
dump file:For a local filesystem, select Local Filesystem from the drop-down menu.
For a remote system by using the SSH protocol, select Remote over SSH from the drop-down menu and specify the following fields:
- In the Server field, enter the remote server address
- In the ssh key field, enter the ssh key location
- In the Directory field, enter the target directory
For a remote system by using the NFS protocol, select Remote over NFS from the drop-down menu and specify the following fields:
- In the Server field, enter the remote server address
- In the Export field, enter the location of the shared folder of an NFS server
In the Directory field, enter the target directory
NoteYou can reduce the size of the
vmcore
file by selecting the Compression check box.
Verification
Click the Test configuration.
Click Crash system under Test kdump settings.
WarningWhen you initiate the system crash, the kernel’s operation stops and results in a system crash with data loss.