If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Archiving transaction logs to TSM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-26-07, 14:16
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Archiving transaction logs to TSM

AIX 5.3
DB2 8.2

I set (LOGARCHMETH1) = TSMB_LOG1

Now, I get this in db2diag.log:
2007-04-26-14.07.16.465566-240 I1140956A426 LEVEL: Error
PID : 528390 TID : 1 PROC : db2logmgr (SIGMA01) 0
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogFile, probe:3160
MESSAGE : Failed to archive log file S0000000.LOG to TSM chain 0 from
/db2/<dbname>/log_repos/failover/db2inst1/<DBNAME>/NODE0000/C0000000/
with rc = 11.

Can anyone shed some light on the error, or, at least, list what configuration parameters need values so to use TSM?
Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-27-07, 04:25
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
have you been authorized for tsm - a node has been setup
there is a redbook : setting up tsm for db2 backups..
have you setup the dsm config.....
have a look
http://www.redbooks.ibm.com/abstract...6247.html?Open
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 04-27-07, 07:35
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by wehrle
with rc = 11.
TSM return code 11 means "no space on the TSM server".
Reply With Quote
  #4 (permalink)  
Old 04-27-07, 10:14
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Thanks.

My problem seems to have been a dsm.opt file without an appropriate entry in it. I now seem to be archiving transaction logs to TSM.

The Red Book mentioned the use of db2adutl to confirm this, I was curious, and so I tried "db2adutl query" . This is what I get:

Error: Initialize session failed with ADSM return code 137

Any suggestions on this one?
Reply With Quote
  #5 (permalink)  
Old 04-27-07, 12:26
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
have you setup the variables dsmi_xxx
these are the variables used by the api interface
the dsm.opt entries are for regular filesystem backup to tsm
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #6 (permalink)  
Old 04-27-07, 13:34
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
When I have an appropriate entry in dsm.opt, archiving transaction logs to TSM seems to work. When I do not have a valid entry in dsm.opt, I get the rc = 11 error.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On