NetWorker:NMDA DB2 故障診斷指南

Summary: 本文檔概述了對 NMDA DB2 問題進行初始故障排除所需的資訊。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

一般資訊和記錄:

  1. NetWorker 伺服器和用戶端作業系統及版本:NetWorker:識別 NetWorker 軟體版本的方法
  2. DB2 版本的NMDA和內部版本號
  3. 問題說明,取得失敗的特定動作 (備份、還原) 的詳細資訊。提供備份失敗的螢幕擷取畫面或記錄片段
  4. 一般系統記錄:
  • 原則記錄:

Linux: /nsr/logs/policy/POLICY_NAME/WORKFLOW_NAME
Windows (預設): C:\Program Files\EMC NetWorker\nsr\logs\policy\POLICY_NAME\WORKFLOW_NAME

  • NetWorker 伺服器和用戶端 daemon.raw

Linux: /nsr/logs/daemon.raw
Windows (預設): C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw

NetWorker:如何使用nsr_render_log呈現.raw紀錄檔

關於資料庫備份的問題

  1. 這是新安裝嗎?

    如果是:

如果沒有:

  • 它以前有效嗎?得到: mminfo -avot -r name,savetime,pool,ssflags -q client=<db2 client name>
  • 在問題出現之前,環境中發生了哪些變化?
  1. 手動備份有效嗎?
  • UNIX 或 Linux: 
    db2 backup db <db name> load /usr/lib/libnsrdb2.so options @/<path/to/db_backup>.cfg> without prompting
    
  • Windows:
    db2 backup db <db name> load c:\\path\linbsrdb2.dll  options @/<path/to/db_backup>.cfg> without prompting
    
  1. 有關於封存記錄備份的問題嗎? 
  • 使用 DB2 實例管理員登錄到 DB2 實例。取得下列輸出:
db2 get db cfg for <DB name>
  • 取得 DB2 歸檔紀錄備份設定檔 <db2archive>.cfg 檔。
  1. 錯誤訊息和記錄摘錄。查看知識庫中有關所發現錯誤的具體文章。
  2. 備份裝置類型 (磁帶、AFTD、Data Domain、VTL 或其他)
  3. 除錯:設定除錯選項,位於 db2.cfg file
    NSR_DEBUG_LEVEL= 1 ~ 9 (most cases 3~5)
    
    NSR_DIAGNOSTIC_DEST= /nsr/apps/logs (make the folder full permission to db2 account)
    
    NSR_DPRINTF=TRUE  (enables NetWorker debug for modules)
    
  1. 如果需要進一步分析,請從 NetWorker 伺服器和用戶端取得 NSRGET 套裝:NetWorker:如何使用 NSRGet NetWorker 資料收集工具

還原失敗:

在要復原資料的 DB2 主機(NetWorker 客戶機)上,鍵入適用於作業系統的 DB2 復原命令,如下所示:

Linux 和 UNIX:

$ db2 restore db <source DB name> load /usr/lib/libnsrdb2.xx open sessions <n>  options @/pathname/nmdb2.cfg taken at yyyymmddtttt into <target DB name>

Windows:

$ db2 restore db <source DB name> load <drive>:\<NetWorker_Install_Directory>\nsr\bin\libnsrdb2.dll open sessions <n> options @<drive>:\pathname\nmdb2.cfg taken at yyyymmddtttt into <target DB name>

Affected Products

NetWorker, NetWorker Module for Databases and Applications

Products

NetWorker
Article Properties
Article Number: 000021161
Article Type: How To
Last Modified: 30 Jan 2026
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.