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 > Change LOGARCHMETH1 from TSM to Disk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-05-10, 07:44
hazy_dba hazy_dba is offline
Registered User
 
Join Date: Dec 2009
Posts: 40
Change LOGARCHMETH1 from TSM to Disk

From this reference

IBM DB2 9.5 Information Center for Linux, UNIX, and Windows

point 3 in notes...

"Enabling or disabling archive logging is an offline database activity. You must terminate all connections to the database before the new setting takes effect. Only changes in the logging path can be done online."


It seems to me then, that I could change LOGARCHMETH1 while the database is online from TSM to somewhere on the server using the Disk parameter.

Is this correct?

I imagine I would have to get archive logs from two different places if I needed to use a backup that was over the time period of this change. That may be a challenge for me! But if it's not impossible...it just boils down to ones and zeros right?
Reply With Quote
  #2 (permalink)  
Old 07-05-10, 11:05
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Interesting Question.

DB2 is aware of Changes in the Logchains. I'ld guess that if the logfiles are still there and config (dsm.opt etc) did not change, then DB2 may be able to find the Logfiles in TSM.

Did you test it meanwhile?
Reply With Quote
  #3 (permalink)  
Old 07-06-10, 09:59
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
you can change the setting but execute
get db cfg show detail and see the setting is delayed until all disconnected
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #4 (permalink)  
Old 07-07-10, 09:29
hazy_dba hazy_dba is offline
Registered User
 
Join Date: Dec 2009
Posts: 40
Thanks for the replies.

I am going to try this out in our sandbox environment.
Reply With Quote
  #5 (permalink)  
Old 07-07-10, 09:55
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
... or you can take a db backup right after you change the parameter.
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
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