適用於資料庫和應用程式的 NetWorker 模組:無法從 NMC 上的精靈修改 DB2 客戶機

Summary: 從 NetWorker 管理主控台 (NMC) 修改 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

適用於資料庫和應用程式的 NetWorker 模組 (NMDA) DB2 無法在 NetWorker Management Console (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

當日誌記錄模式從“迴圈”更改為“存檔”時,備份掛起值將更改為“是”。

當資料庫狀態處於備份掛起狀態時,無法訪問資料庫物件。

若要查詢,請執行命令:db2 get db cfg for sample | grep backup pending
傳回值為 backup pending = YES。

Resolution

必須執行離線備份,才能關閉備份擱置狀態。

執行客戶端 NMDA 手動 DB2 備份,例如:
db2 備份 <資料庫資料庫名稱>載入 /usr/lib/libnsrdb2.so 選項 @/<path/to/db_backup.cfg> 而不提示

或者,按照以下IBM文章中概述的步驟執行離線本機備份。


https://www.ibm.com/docs/en/license-metric-tool?topic=database-backing-up-db2 備份成功完成後,備份擱置中的值會變更為「否」,而且可以從 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.