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サーバーとクライアントのOSとバージョン

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

NetWorker

Products

NetWorker, NetWorker Module for Databases and Applications
Article 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.