Troubleshooting 11.2 Clusterware Node Evictions (Reboots) (Doc ID 1050693.1)
In this Document
| Purpose |
| Scope |
| Details |
| NODE EVICTION OVERVIEW |
| 1.0 - PROCESS ROLES FOR REBOOTS |
| 2.0 - DETERMINING WHICH PROCESS IS RESPONSIBLE FOR A REBOOT |
| 3.0 - TROUBLESHOOTING OCSSD EVICTIONS |
| 3.1 - COMMON CAUSES OF OCSSD EVICTIONS |
| 3.2 - FILES TO REVIEW AND GATHER FOR OCSSD EVICTIONS |
| 4.0 - TROUBLESHOOTING CSSDAGENT OR CSSDMONITOR EVICTIONS |
| 4.1 - COMMON CAUSES OF CSSDAGENT OR CSSDMONITOR EVICTIONS |
| 4.2 - FILES TO REVIEW AND GATHER FOR CSSDAGENT OR CSSDMONITOR EVICTIONS |
| References |
This document is to provide a reference for troubleshooting 11.2 Clusterware node evictions. For clusterware node evictions prior to 11.2, see Note: 265769.1
This document is intended for DBA's and support analysts experiencing clusterware node evictions (reboots).
The Oracle Clusterware is designed to perform a node eviction by removing one or more nodes from the cluster if some critical problem is detected. A critical problem could be a node not responding via a network heartbeat, a node not responding via a disk heartbeat, a hung or severely degraded machine, or a hung ocssd.bin process. The purpose of this node eviction is to maintain the overall health of the cluster by removing bad members.
Starting in 11.2.0.2 RAC (or if you are on Exadata), a node eviction may not actually reboot the machine. This is called a rebootless restart. In this case we restart most of the clusterware stack to see if that fixes the unhealthy node.
OCSSD (aka CSS daemon) - This process is spawned by the cssdagent process. It runs in both
vendor clusterware and non-vendor clusterware environments. OCSSD's primary job is internode health monitoring and RDBMS instance endpoint discovery. The health monitoring includes a network heartbeat and a disk heartbeat (to the voting files). OCSSD can also evict a node after escalation of a member kill from a client (such as a database LMON process). This is a multi-threaded process that runs at an elevated priority and runs as the Oracle user.
Startup sequence: INIT --> init.ohasd --> ohasd --> ohasd.bin --> cssdagent --> ocssd --> ocssd.bin
CSSDAGENT - This process is spawned by OHASD and is responsible for spawning the OCSSD process, monitoring for node hangs (via oprocd functionality), and monitoring to the OCSSD process for hangs (via oclsomon functionality), and monitoring vendor clusterware (via vmon functionality). This is a multi-threaded process that runs at an elevated priority and runs as the root user.
Startup sequence: INIT --> init.ohasd --> ohasd --> ohasd.bin --> cssdagent
CSSDMONITOR - This proccess also monitors for node hangs (via oprocd functionality), monitors the OCSSD process for hangs (via oclsomon functionality), and monitors vendor clusterware (via vmon functionality). This is a multi-threaded process that runs at an elevated priority and runs as the root user.
Startup sequence: INIT --> init.ohasd --> ohasd --> ohasd.bin --> cssdmonitor
Important files to review:
* Messages file locations:
11.2 Clusterware evictions should, in most cases, have some kind of meaningful error in the clusterware alert log. This can be used to determine which process is responsible for the reboot. Example message from a clusterware alert log:
This particular eviction happened when we had hit the network timeout. CSSD exited and the cssdagent took action to evict. The cssdagent knows the information in the error message from local heartbeats made from CSSD.
If no message is in the evicted node's clusterware alert log, check the lastgasp logs on the local node and/or the clusterware alert logs of other nodes.
If you have encountered an OCSSD eviction review common causes in section 3.1 below.
All files from section 2.0 from all cluster nodes. More data may be required.
Example of an eviction due to loss of voting disk:
CSS log:
OS messages:
If you have encountered a CSSDAGENT or CSSDMONITOR eviction review common causes in section 4.1 below.
All files from section 2.0 from all cluster nodes. More data may be required.
Database - RAC/Scalability Community
To discuss this topic further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Database - RAC/Scalability Community
|
|
|
|
|
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25462274/viewspace-1482840/ ,如需转载,请注明出处,否则将追究法律责任。