Product SiteDocumentation Site

A.7. After the Installation

This section contains commands which control the system's behavior immediately after the installation finishes.

A.7.1. %addon com_redhat_kdump (optional) - Configure kdump

This command configures the kdump kernel crash dumping mechanism.

Note

The syntax for this command is unusual because it is an add-on rather than a built-in Kickstart command. For more information about add-ons, see Section A.8, “%addon (optional) - Include an Anaconda Add-on”.
Kdump is a kernel crash dumping mechanism that allows you to save the contents of the system's memory for later analysis. It relies on kexec, which can be used to start a Linux kernel from the context of another kernel without rebooting the system and preserve the contents of the first kernel memory that would otherwise be lost.
In case of a system crash, kexec starts a second kernel (a capture kernel). This capture kernel resides in a reserved part of the system memory that is inaccessible to the main kernel. Kdump then captures the contents of the crashed kernel's memory (a crash dump) and saves it to a specified location. This location can not be configured using Kickstart; it must be specified after the installation by editing the /etc/kdump.conf configuration file.
Available options are:
--enable
Enable Kdump on the installed system.
--disable
Do not enable Kdump on the installed system.
--reserve-mb=
The amount of memory you want to reserve for Kdump in megabytes. For example:
%addon com_redhat_kdump --enable --reserve-mb=128
%end
You can also specify auto instead of a numeric value. In that case the installer will determine the amount of RAM to reserve for kdump automatically, based on your system architecture and the total amount of memory on the system.
If you enable Kdump and do not specify the --reserve-mb= option, the auto value will be used.
--enablefadump
Enable firmware-assisted dumping on systems which allow it (notably IBM Power Systems servers).