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 伺服器與用戶端作業系統和版本
2) DB2 版本和內部版本號的 NMDA
3) 問題描述
- 有關資料庫備份的問題
新安裝?
是 -> DB2 客戶機是否通過 NMC 客戶機創建嚮導創建?如果沒有,請嘗試使用嚮導並收集結果。
否 -> 它以前工作過嗎? 取得
mminfo -avot -r name,savetime,pool,ssflags -q client=<db2 client name>
手動備份是否有效?
- 有關存檔日誌備份的問題
使用 DB2 實例擁有者登入 DB2 例項
取得以下項目的輸出:
db2 get db cfg for <DB name>
取得 DB2 客戶機上的 DB2 歸檔紀錄備份設定檔 <db2archive.cfg> 檔案
4) 錯誤訊息和記錄摘錄
5) 備份裝置類型 (磁帶、AFTD、Data Domain、VTL 或其他)
6)觀察:何時發生,變更內容,備份進度如何?
7) 除錯:
在 db2.cfg 檔案中設定除錯選項
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)
8) 需要記錄:
在 NetWorker 伺服器上 - nsrget
在 DB2 NetWorker 用戶端上 - nsrget
9) 手動備份範例
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
還原範例。
還原
在要復原資料的 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
NetWorkerProducts
NetWorker, NetWorker Module for Databases and ApplicationsArticle Properties
Article Number: 000021161
Article Type: How To
Last Modified: 15 Jul 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.