Create an initial RAM disk image file for the kdump function. This file will be used by the second kernel when a kernel dump is collected.
Restart the host.
# shutdown -r now
After the host restarts, log in as a user with root privileges.
If the /var/crash/hdlm directory does not exist, use the mkdir command to create the directory.
# mkdir /var/crash/hdlm
Check the definition of hdlm_dracut in /etc/opt/DynamicLinkManager/hdlm.conf.
If hdlm_dracut=n is defined, change it to hdlm_dracut=y. If hdlm_dracut is not defined, add hdlm_dracut=y.
Restart the kdump service, and then create an initial RAM disk image file for the kdump function.
# touch /etc/kdump.conf # systemctl restart kdump.service #
Verify that the initial RAM disk image file was created.
# ls -l /boot/initrd-`uname -r`kdump.img -rw-------. 1 root root 6499431 mmm dd hh:mm /boot/initrd-2.6.32-754.el6.x86_64kdump.imgCheck the displayed update time of the file.
Restart the host.
# shutdown -r now