Outils pour utilisateurs

Outils du site


tech:notes_kdump

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_kdump [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_kdump [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Redhat Boot}}
 +
 +# Notes kdump
 +
 +Voir :
 +* [Kdump](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-kdump-configuration-testing.html)
 +* http://fr.slideshare.net/BulandSingh/referenceguidekernelcrashdumpanalysis
 +
 +`/etc/default/grub`
 +~~~ini
 +#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"
 +~~~
 +
 +~~~bash
 +cp -p /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak
 +grub2-mkconfig > /boot/grub2/grub.cfg
 +~~~
 +
 +`/etc/kdump.conf`
 +~~~
 +default reboot
 +~~~
 +
 +~~~bash
 +reboot
 +~~~
 +
 +~~~bash
 +systemctl status kdump
 +~~~
 +
 +
 +## Autres
 +
 +Serveur
 +~~~bash
 +fence_kdump -o off --nodename=node1
 +~~~
 +
 +
 +Client
 +~~~bash
 +/usr/libexec/fence_kdump_send -i 5 -c 1 node1
 +~~~
 +## Test
 +
 +Crash
 +~~~bash
 +echo 1 > /proc/sys/kernel/sysrq
 +echo c > /proc/sysrq-trigger
 +~~~
 +
 +~~~bash
 +ls -lrt /var/crash/
 +~~~
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki