My Oracle Support Banner

Oracle Linux: How To Manually Capture Vmcore Dump When Linux OS Hangs On Baremetal Hosts And Virtual Machines (VMware Guest /Oracle VM) (Doc ID 2091397.1)

Last updated on OCTOBER 12, 2022

Applies to:

Linux OS - Version Oracle Linux 5.2 and later
Oracle Cloud Infrastructure - Version N/A and later
Oracle Exalogic Elastic Cloud X2-2 Hardware - Version X6 and later
Linux x86-64

Goal

Generating vmcore from a hung machine.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Configure kdump and make sure the core is generated by issuing "echo c > /proc/sysrq-trigger" .

A working config will dump the vmcore in the mentioned location. 
 2. Edit the file /etc/sysctl.conf and add the below lines to enable panic on different scenarios.
 3. Trigger the crash.
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.