db2 备份 tsm 报错

8 篇文章 0 订阅

今天碰到 db2 的tsm 备份报错:

 

备份脚本:

db2 backup db fscnprd online incremental use tsm include logs >> $logfile

Step1:

head fscnprd.1.20120320182011.log
SQL2033N  An error occurred while accessing TSM during the processing of a
database utility.  TSM reason code: "137".


Step2:sulotion:

root@A05GPSGLDB1A:/db2home/db2fitx/sqllib/adsm>./dsmapipw
 
*************************************************************
* Tivoli Storage Manager                                    *
* API Version = 5.5.2                                       *
*************************************************************
Enter your current password:
Enter your new password:
Enter your new password again:
*** Server signon failed: (137) Authentication failure!
root@A05GPSGLDB1A:/db2home/db2fitx/sqllib/adsm>ex
:q
root@A05GPSGLDB1A:/db2home/db2fitx/sqllib/adsm>./dsmapipw
 
*************************************************************
* Tivoli Storage Manager                                    *
* API Version = 5.5.2                                       *
*************************************************************
Enter your current password:
Enter your new password:
Enter your new password again:
 
Your new password has been accepted and updated.


Step2:

In the tsm server:

tsm: TSM>unlock node A05GPSGLDB1A
ANR2066I Node A05GPSGLDB1A unlocked.
 
tsm: TSM>update node A05GPSGLDB1A abcd1234
ANR2063I Node A05GPSGLDB1A updated.
 
tsm: TSM>unlock node A05GPSGLDB1A         
ANR2067I Node A05GPSGLDB1A is already unlocked.

 

Step3:

下面把密码写入 tsm local:

./dsmc

id: a05gpsgldb1a

password:abcd1234


Step3:

开始手工备份:

db2 backup db fscnprd online incremental use tsm include logs >> $logfile


head fscnprd.1.20120320184704.log
 
Backup successful. The timestamp for this backup image is : 20120320184705

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值