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 > Changing from circular to archive logging (with TSM)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-10, 07:54
hazy_dba hazy_dba is offline
Registered User
 
Join Date: Dec 2009
Posts: 40
Changing from circular to archive logging (with TSM)

I have a number of databases (on AIX) that I need to change the logging from circular to archive (backing up to TSM).

I'm not sure I will always have the space to do the offline backup to the server that is hosting the database.

Outside of asking for more disk space, can a database using circular logging backup to TSM?

The client node is in place and a colleague has checked the configuration of TSM and believes that the only sticking point is someone installed new databases and didn't configure them to hook into TSM.

I have a development environment so I can try it anyway, but if anyone has any hints they would be gratefully received.
Reply With Quote
  #2 (permalink)  
Old 04-19-10, 08:52
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Not sure what you mean by "didn't configure them to hook into TSM." ..

once you set up the tsm enviornment variables (usually using the sqllib/userprofile file), stop start the db2 instance and you are ready to go

db2 backup database dbname use tsm
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 04-19-10, 09:08
hazy_dba hazy_dba is offline
Registered User
 
Join Date: Dec 2009
Posts: 40
Quote:
Originally Posted by sathyaram_s View Post
(1) Not sure what you mean by "didn't configure them to hook into TSM." ..

(2) once you set up the tsm enviornment variables (usually using the sqllib/userprofile file), stop start the db2 instance and you are ready to go

(3) db2 backup database dbname use tsm
Breaking your reply into 3 if I may.

(1) Sorry, I am quite new to this and my handover for these databases was someone pointing their finger at me and saying "it's your responsibility now"

Looking at your answer, I believe I meant they hadn't done (2), but that has been fixed now.

(3) I thought that was it, but it's comforting to hear it from someone with more experience say it as well!!

Thanks for the input.
Reply With Quote
  #4 (permalink)  
Old 04-19-10, 09:30
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
For archive logging you have to set the logarchmeth-Parameter:
update db cfg for <DATABASE> using logarchmeth1 TSM

If you have your logs in a seperate Filesystem, plan some additional disk-space for outages of the TSM-Sever.
Reply With Quote
  #5 (permalink)  
Old 04-21-10, 07:38
hazy_dba hazy_dba is offline
Registered User
 
Join Date: Dec 2009
Posts: 40
I have followed all your advice on the first development server and everything is now working as required.

Thank you for taking the time to help.
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