473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

LOGARCHMETH1

We are currently using Userexit to archive DB2 logs. I updated the db
cfg as follows:

db2 update db cfg for capfpk02 using LOGARCHMETH1 DISK:/cfpkloc4/
archivedlogfiles/capfpk02

I assumed that the archived log files are going to the above
directory. But actually it is going to the following directory.

/cfpkloc4/archivedlogfiles/capfpk02/cfpkinst/CAPFPK02/NODE0000/
C0000000

It has added a lot of subdirectories. Can this be avoided? The high
availability guide says that the archived logs will go the directory
you specify.

Thanks for any help

naru Manglalath

Feb 13 '07 #1
1 10240
No you cannot avoid this.
The exit builds the added dictionaries in the path to allow for two things.
1) Which node, if using DPF, is sending the file to be archived.
2) To which Log Chain does this belong. Log chains are generated to a new
number every time you do a roll forward to a point in time. If you finished
the PIT in the middle of log S0000015.log of chain C000000 and also had
S0000016.log, S0000017.log in the chain and in the archive, then after the
roll forward and activate the db, you would generate S0000016.log and
S0000017.log in C0000001 which would send it to the that new directory
automatically when they archive.
That you don't step on your own showe laces as DB2 manages your archiving
properly.

Net is, you do not want to lose those added directories.
HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<sa*******@gmail.coma écrit dans le message de news:
11**********************@p10g2000cwp.googlegroups. com...
We are currently using Userexit to archive DB2 logs. I updated the db
cfg as follows:

db2 update db cfg for capfpk02 using LOGARCHMETH1 DISK:/cfpkloc4/
archivedlogfiles/capfpk02

I assumed that the archived log files are going to the above
directory. But actually it is going to the following directory.

/cfpkloc4/archivedlogfiles/capfpk02/cfpkinst/CAPFPK02/NODE0000/
C0000000

It has added a lot of subdirectories. Can this be avoided? The high
availability guide says that the archived logs will go the directory
you specify.

Thanks for any help

naru Manglalath
Feb 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bill Chen | last post by:
Hi All, Can anyone give same examples on the setting of logarchmeth1,logarchmeth2,logarchopt1,logarchopt2? (for DB2 V8.2 on AIX/Windows) TIA, Bill
0
by: paul | last post by:
hi, i don't understand i've set logarchmeth1 to disk=/logarch for example the command db2 archive log for db TEST works ok but the variable log_retain_status remains at NO If i understand,...
7
by: William | last post by:
I am using DB2 8.2 on RH Linux 8.0. I just compiled db2uext2.c but failed to archive the log files, did anybody fix this problem before? TIA db2diag.log 2005-06-12-12.39.52.305630-240...
2
by: Peter | last post by:
Hi, I was trying to do the following: update db cfg for oltprd using VENDOROPT "'-SErvername=aixstl20'" update db cfg for oltprd using LOGARCHMETH1 TSM update db cfg for oltprd using...
1
by: saramathi | last post by:
I am a little confused about the archive parameters work together. We currently have LOGRETAIN=RECOVERY and LOGARCHMETH1=USEREXIT. It appears that the logarchmeth1 can be set to DISK:<path>. Does...
4
by: Al | last post by:
We have a production DB that is running DB2 v8 fix pak 8. Some of configuration parameter on the primary DB config file is: Logretain = NO Userexit = NO Logarchmeth1 = Disk:/aa/bb/ccc/ when...
4
by: madzambonis | last post by:
Here is the situation.... We have Primary Server A linked to Standby Server B via HADR. Primary Server A has recently installed LOGARCHMETH1 to archive logs and a 2nd homegrown script that...
2
by: Ultrak The DBA | last post by:
We have logarchmeth1 set. Also, we have a monitoring script that checks the gap between any log files in the active log directory. We have just recently activated logarchmeth1 and what we have...
4
by: lfhenry | last post by:
I am a newbie to HADR and Admin of DB2 (I am websphere guy). My question relates to DB2 logging. I've read that HADR does not allow Infinite logging (-1). I am expecting my Database to grow...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.