0% found this document useful (0 votes)
22 views2 pages

WebLogic CrashRecoveryEnabled Documentation

CrashRecoveryEnabled is a configuration property in Oracle WebLogic Server that allows for automatic recovery of server instances after an unexpected crash. To enable this feature, users must modify the nodemanager.properties file and ensure that Node Manager is set to start at system boot. Proper configuration and dependencies are essential for effective crash recovery, including the use of .state files and boot.properties for server status and login credentials.

Uploaded by

sumitprasad0035
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

WebLogic CrashRecoveryEnabled Documentation

CrashRecoveryEnabled is a configuration property in Oracle WebLogic Server that allows for automatic recovery of server instances after an unexpected crash. To enable this feature, users must modify the nodemanager.properties file and ensure that Node Manager is set to start at system boot. Proper configuration and dependencies are essential for effective crash recovery, including the use of .state files and boot.properties for server status and login credentials.

Uploaded by

sumitprasad0035
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

WebLogic Node Manager – Crash

Recovery (CrashRecoveryEnabled)
Overview
CrashRecoveryEnabled is a Node Manager configuration property in Oracle WebLogic
Server that enables automatic recovery of WebLogic Server instances (Managed Servers or
Admin Server) after an unexpected crash or reboot.

Purpose
To ensure that servers previously started by Node Manager are automatically restarted in
case of a system failure or abrupt shutdown — without requiring manual intervention.

Location of Configuration
Per-Domain Node Manager:
$DOMAIN_HOME/nodemanager/nodemanager.properties

Per-Machine Node Manager:


$WL_HOME/common/nodemanager/nodemanager.properties

You can confirm the file used by checking the 'NodeManager home' path from the WebLogic
Admin Console under Environment > Machines > [Machine] > Node Manager.

How to Enable Crash Recovery


1. Edit nodemanager.properties file:
CrashRecoveryEnabled=true
StartScriptEnabled=true
2. Save the file.
3. Restart the Node Manager to apply the changes:
./stopNodeManager.sh
./startNodeManager.sh &

Dependencies
Crash recovery works correctly when:
- Node Manager is enabled and running at system boot.
- Managed Server is configured with:
- Auto Restart = true in WebLogic Console
- StartScriptEnabled = true in nodemanager.properties
- A valid boot.properties file (for automatic login)
- Proper domain mapping exists in nodemanager.domains

Files Used During Recovery


.state files in:
$DOMAIN_HOME/servers/<server-name>/data/nodemanager/

These contain the last known status of the server.

boot.properties in:
$DOMAIN_HOME/servers/<server-name>/security/

Behavior After Crash


When Node Manager restarts:
- It reads the .state file.
- If the server was RUNNING when the crash occurred, it attempts to restart it automatically.
- Logs the behavior in nodemanager.log.

Use Case Example


In a two-machine domain:
- Machine 1: Admin Server + Managed Server 1
- Machine 2: Managed Server 2

If Machine 2 crashes and comes back online:


- Node Manager (if CrashRecoveryEnabled=true and auto-started) reads the state of
Managed Server 2 and restarts it without manual input.

Best Practices
- Always combine CrashRecoveryEnabled=true with StartScriptEnabled=true
- Ensure Node Manager starts on system boot (systemd or init.d)
- Clean shutdown of WebLogic before reboot is ideal — but if not, crash recovery will help

References
Oracle Documentation – Node Manager:
https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/14.1.1.0/
wlprg/nodemgr_config.html

WebLogic 14c Admin Console Help: Environment > Machines > Node Manager

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy