NMDA:IBM DB2 快照备份无响应
Summary: NetWorker 数据库和应用程序模块 (NMDA) IBM 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.
Symptoms
NMDA IBM DB2 快照备份无响应。
DB2 数据库为写挂起模式。
错误输入 db2diag.log
Warning: ---------------------------------------- 2016-05-20-15.05.16.771114+000 E7423877A808 LEVEL: Warning PID : 7733668 TID : 47390 PROC : db2sysc 0 INSTANCE: <instance_name> NODE : 000 DB : APPHDL : 0-57647 APPID: <app_id> AUTHID : EDUID : 47390 EDUNAME: db2agent (instance) 0 FUNCTION: DB2 UDB, database monitor, sqm___sqlmonssagnt, probe:1234 DATA #1 : <preformatted> This occurs when any snapshot other than list applications is attempted on a database that is write suspended. This is necessary due to latching conflicts. This database is skipped in the snapshot, but other databases should still be processed. Skipping database '<db_name>'. For more information on write suspend, please see the 'db2 set write suspend for database' command. ------------------------------------------
Cause
DB2 工作流的工作方式为:
DB2 调用 db2ACSPrepare() 进行初始准备,为硬件快照做好准备。完成此操作后,DB2 数据库管理器将挂起数据库并调用 NMDA DB2 函数 db2ACSSnapshot()。在这种情况下,DB2 不会调用 db2ACSSnapshot()。工作流停止响应,以便 DB2 引擎继续备份。IBM 支持 PMR:29538,004,000 已打开。IBM DB2 工程部门需要更多的调试来确定此挂起的根本原因。
Resolution
解决办法:
- 取消当前备份
- 使数据库退出写入挂起模式
为了发现根本原因,IBM DB2 支持请求以下信息以进行进一步调查:
- 删除或重新定位 db2dump 目录中的任何堆栈或转储。它会创建新堆栈或转储,而不会混合旧堆栈或转储。(UNIX/Linux path:
/$INSTHOME/sqllib/db2dump) - DB2 跟踪一小段时间:
db2trc on -f trace.dmp wait about 30 seconds db2trc off db2trc fmt trace.dmp trace.fmt db2trc flw trace.dmp trace.flw
- 收集堆栈:
db2pd -stack all -rep 5 5
- 上述步骤完成后,运行
procstack <PID> > db2vend.pstack.out
<PID> 是db2vend数据库的进程。 - 然后获取快照备份会话
db2 get snapshot for applications on <dbname> > db2snap.out
- 现在您可以设置写入恢复,然后再次尝试快照备份,查看备份是否完成。
- 收集db2support.zip,如下所示:
db2support . -d <dbname> -c -s
- 压缩并发送到 IBM PMR:
trace.dmptrace.fmttrace.flwdb2vend.pstack.outdb2snap.outdb2support.zip
Affected Products
NetWorker Module for Databases and ApplicationsProducts
NetWorker Family, NetWorker, NetWorker ModuleArticle Properties
Article Number: 000056670
Article Type: Solution
Last Modified: 27 مايو 2026
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.