231
Figure 10-20 YaST Screen
3. Configure the kdump parameters.
Configure the /etc/sysconfig/kdump configuration file. The parameters are
defined below:
# vim /etc/sysconfig/kdump
KDUMP_IMMEDIATE_REBOOT="yes" ---Whether to reboot immediately
KDUMP_SAVEDIR="file:///var/crash" ---The directory where the dump file
is saved
KDUMP_COPY_KERNEL="yes" ---Whether to copy the kernel when
generating the dump file
KDUMP_KEEP_OLD_DUMPS="2" ---The maximum number of dump
files that can be kept
KDUMP_DUMPFORMAT="compressed" ---Dump file format
KDUMP_DUMPLEVEL="31" ---Log level (which is set to 31 by
default for SLES11 SP3 and its later versions, and set to 0 by default for the
earlier versions)
4. Start the kdump service.
systemctl status kdump; If the kdump service is not started, start it and set it to
auto start on system boot.
systemctl start kdump;
systemctl enable kdump;