tech:notes_kdump
Table des matières
Notes kdump
Voir :
/etc/default/grub
#GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet" GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb crashkernel=128M"
cp -p /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak grub2-mkconfig > /boot/grub2/grub.cfg
/etc/kdump.conf
default reboot
reboot
systemctl status kdump
Autres
Serveur
fence_kdump -o off --nodename=node1
Client
/usr/libexec/fence_kdump_send -i 5 -c 1 node1
Test
Crash
echo 1 > /proc/sys/kernel/sysrq echo c > /proc/sysrq-trigger
ls -lrt /var/crash/
tech/notes_kdump.txt · Dernière modification : de Jean-Baptiste
