NetWorker Module for Databases and Applications:无法从 NMC 上的向导修改 DB2 客户端

Summary: 从 NetWorker Management Console (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 backup db <db name> load /usr/lib/libnsrdb2.so options @/<path/to/db_backup.cfg without prompting>

或者按照以下 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.