How to capture kernel crash dump (vmcore) upon Oracle RAC 11gR2 or Oracle RAC 12 node eviction ?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7
  • Oracle RAC 11g R2
  • Oracle RAC 12(12.1.0)

Issue

  • How to generate vmcore on Oracle RAC 11gR2 node eviction ?
  • How to generate vmcore on Oracle RAC 12 node eviction ?

Resolution


Disclaimer: The following information has been provided by Red Hat, but is outside the scope of the posted Service Level Agreements and support procedures. The information is provided as-is and any configuration settings or installed applications made from the information in this article could make the Operating System unsupported by Red Hat Global Support Services. The intent of this article is to provide information to accomplish the system's needs. Use of the information in this article at the user's own risk.


Steps to capture kernel crash dump (vmcore) during Oracle RAC node eviction:

# crsctl modify type ora.cssd.type -attr "ATTRIBUTE=REBOOT_OPTS, TYPE=string, DEFAULT_VALUE=,FLAGS=CONFIG" -init
# crsctl modify res ora.cssd -attr "REBOOT_OPTS=CRASHDUMP" -init

# crsctl modify type ora.cssdmonitor.type -attr "ATTRIBUTE=REBOOT_OPTS, TYPE=string, DEFAULT_VALUE=,FLAGS=CONFIG" -init
# crsctl modify res ora.cssdmonitor -attr "REBOOT_OPTS=CRASHDUMP" -init

Note: Restart of Oracle RAC CRS is required after making the above changes.

  • The above settings will allow to generate a kernel crash dump when node is rebooted by Oracle Clusterware provided kdump is configured correctly.

Steps to disable CRS layer CRASHDUMP

# crsctl modify res ora.cssd -attr "REBOOT_OPTS=" -init
# crsctl modify res ora.cssdmonitor -attr "REBOOT_OPTS=" -init

Note: Restart of Oracle RAC CRS is required after making the above changes.

Note: See the How to capture crash dump (vmcore) upon Oracle RAC 11g R1 (or earlier) node eviction ? article for configuring the behaviour on node eviction for Oracle RAC 11gR1 and earlier.

SBR
Components
Category

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.