NetWorker Module for Databases and Applications: NMCのウィザードからDB2クライアントを変更できない

Summary: NMC(NetWorker管理コンソール)からDB2クライアントを変更すると、データベースがバックアップ ペンディング状態(SQLSTATE=57019)であるため、接続が失敗します。

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.

Symptoms

NMDA(データベースおよびアプリケーション用NetWorkerモジュール)DB2が、NetWorker管理コンソール(NMC)のDB2クライアント ウィザードを変更できません。

表示されるエラーは次のとおりです。
Db2 returned the following error message
unable to connect to sample database due to sql connection failure SQLERROR:-1
SQL1116N: a connection to or activation of database "sample" failed because the database is in backup pending state SQLSTATE=57019
DB2トランザクション ログが循環ログからアーカイブ ログに変更されました。

Cause

ログ モードが循環からアーカイブに変更されると、バックアップ保留中の値が「YES」に変更されます

データベースの状態がバックアップ ペンディングの場合、データベース オブジェクトにアクセスできません。

クエリーするには、次のコマンドを実行します。db2 get db cfg for sample | grep backup pending
backup pending = YESとして値を返します。

Resolution

バックアップ保留中状態をオフにするには、オフライン バックアップを実行する必要があります。

次の例のように、クライアント側のNMDA手動DB2バックアップのいずれかを実行します。
DB2 backup db <db name> プロンプトなしで /usr/lib/libnsrdb2.so options @/<path/to/db_backup.cfg> をロードする

または、次のIBMの記事に記載されている手順に従って、オフライン ネイティブ バックアップを実行します
https://www.ibm.com/docs/en/license-metric-tool?topic=database-backing-up-db2

バックアップが正常に完了すると、バックアップ保留中の値が「NO」に変更され、NMCからクライアントを変更できるようになります。
Article Properties
Article Number: 000191366
Article Type: Solution
Last Modified: 09 Mar 2022
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.