How to use sysrq on AWS environment.

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux.
  • AWS instance.

Issue

  • How to use sysrq facility for capturing vmcore on amazon instance?

Resolution

  • Enable sysctl parameter related to sysrq. Add/modify(if already present) value of kernel.sysrq in /etc/sysctl.conf like below:

    kernel.sysrq=1
    
  • Execute below command to apply the changes:

    # sysctl -p
    
  • Kdump Should be running and tested before; refer to article to configure/review/test the kdump.

  • Once the above settings are successfully configured and tested. Use Content from docs.aws.amazon.com is not included.this article for information on using sysrq on amazon instance.
    Disclaimer: Above external link is not maintained by Red Hat support. Hence, Red Hat support does not takes responsibility of content in the above link.

  • For using NMI(non maskable interrupt) on eligible instances of AWS, refer to 4464301.

SBR
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.