tisdag 23 juni 2009

ANR2968E Database backup terminated. DB2 sqlcode: -2033. DB2 sqlerrmc: 406

Problem appears because MMC wizard did not complete the DB2 environment configuration for this new instance

Problem corrected in TSM Server
level 6.1.3

Solution:

Create the tsmdbmgr.env file in the D:\Tivoli\TSM\server1 directory with the following contents:

DSMI_CONFIG= D:\Tivoli\TSM\server1\tsmdbmgr.opt

DSMI_LOG= D:\Tivoli\TSM\server1

Set the DSMI_ api environment-variable configuration for the database instance:

Open a DB2 command window. One method of doing this is by going to the D:\Tivoli\TSM\db2\bin directory. Then, issue this command:

db2cmd

Issue this command:

db2set -i server1 DB2_VENDOR_INI= D:\Tivoli\TSM\server1\tsmdbmgr.env

Create the tsmdbmgr.opt file in the D:\Tivoli\TSM\server1 directory with the following contents:

*************************************************

nodename $$_TSMDBMGR_$$

commmethod tcpip

tcpserveraddr localhost

tcpport 1500

passwordaccess generate

errorlogname D:\Tivoli\TSM\server1\TSMDBMGR_TSMSERVER1.log

Stop and start the database instance:

Open a DB2 command window. One method of doing this is by going to the D:\Tivoli\TSM\db2\bin directory.Then, issue this command:

db2cmd

Set the database instance:

SET DB2INSTANCE=server1

Stop DB2:

db2stop

Start DB2:

db2start

Issue the following commands:

set DSMI_CONFIG= D:\Tivoli\TSM\server1\tsmdbmgr.opt

"D:\Tivoli\TSM\server\dsmsutil UPDATEPW /NODE:$$_TSMDBMGR_$$ /PASSWORD:TSMDBMGR /VALIDATE:NO"



http://publib.boulder.ibm.com/infocenter/tsminfo/v6/topic/com.ibm.itsm.s
rv.install.doc/t_srv_config_man.html