Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Configuring Kernel Crashdump
  2.  
  3. Our images are preconfigured with the kdump facility. During normal boot they will load a krash dump kernel into a reserved area of memory and, should the system crash, they will immediately kexec() into this kernel. When the initramfs detects that we're running a crash dump kernel, it will attempt to find a filesystem with the label HVCRASHDUMP. If found, it will mount this under /var/crash and copy the dump to it. Afterwards the system will perform a normal reboot.
  4.  
  5. To enable crashdump collection, you therefore need to:
  6.  
  7. Create a LUN accessible by a single blade of at least 2G (using web interface)
  8. Create a single partition on the LUN (fdisk)
  9. Create a filesystem on the partition (mkfs.ext4)
  10. Label the filesystem HVCRASHDUMP (e2label)
  11. To test crashdump:
  12.  
  13. echo c | sudo tee /proc/sys/sysrq-trigger
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement