NetWorker: How to enable debug for NMDA
Summary: The purpose of this document is to describe how to enable debug mode for NetWorker Module for Databases and Applications (NMDA), to help identify Oracle backup/restore issues.
Instructions
There are situations in which the NMDA software must be placed in debug mode, in order to help identify an issue. This document describes the steps to perform this task.
You can set the following parameters in the configuration file (if not using the wizard) or in the wizard to specify settings for the NMDA debug logs:
NSR_DEBUG_LEVELNSR_DPRINTFNSR_DIAGNOSTIC_DEST
The NSR_DEBUG_LEVEL parameter specifies the level of debug messages that the NMDA software generates. The valid parameter values are 0 to 9:
NSR_DEBUG_LEVEL=9
If you have not set the parameter or you have set the parameter to 0, NMDA does not generate debug messages.
If you have set the parameter to a value between 1 and 9, NMDA generates debug messages in the debug log file on the NMDA host. The level of detail in the debug messages increases with the debug level.
The NSR_DPRINTF a TRUE setting specifies to write additional debug messages.
NSR_DPRINTF=TRUE
The NSR_DIAGNOSTIC_DEST parameter specifies the directory location of the NMDA debug logs except the configuration wizard debug logs. If you have not set the parameter, the debug logs are in the following default directory:
On UNIX/Linux: /nsr/apps/logs
On Windows: <NetWorker_install_path>\apps\logs
From the database host, you must gather:
/nsr/apps/logs/libnsr*/nsr/apps/logs/nsrdasv* (for scheduled backups)
For example, for an Oracle debug NMDA logs file, the format would like similar to: /nsr/apps/logs/libnsrora_Oracle_DATE.ID.log
Additional Information
NMDA documentation is available through: Support for NetWorker Module for Databases and Applications | Manuals & Documents