Kdump is a kernel crash dumping mechanism designed for saving the system's memory contents for later analysis. It is especially helpful for the purposes of debugging when you want to discover the cause of a crash. At OnApp, Kdump feature allows you to create and collect kernel crash dumps on the CloudBoot compute resources. This feature is implemented for CentOS6 KVM and CentOS7 KVM compute resources only.
The feature availability is controlled by the crashkernel kernel option for the particular compute resource in its /tftpboot/pxelinux.cfg/<MACADDR> file. The crashkernel option should be added to the config file manually.
To enable Kdump:
Access the /tftpboot/pxelinux.cfg/<MACADDR> file and set the amount of memory to “crashkernel=auto”.
- Reboot the compute resource.
Note that the feature requires about 550 MB of extra RAM space on a compute resource:
- 128 MB of RAM is reserved to capture a kernel crash dump.
- The Kdump service creates custom initramfs/initrd image which is about 20 MB.
- The /boot's content (kernel and initrd) requires extra 400 MB.