473,804 Members | 3,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Confused about the archive parameters

I am a little confused about the archive parameters work together. We
currently have LOGRETAIN=RECOV ERY and LOGARCHMETH1=US EREXIT.

It appears that the logarchmeth1 can be set to DISK:<path>. Does this
mean that we can use DISK (rather than USEREXIT) and replace the <path>
to our existing archive log path, set USEREXIT OFF and db2 will
automatically copy files to this directory?

Thanks for any help.

Naru Mangalath

Sep 26 '06 #1
1 1651
<sa*******@gmai l.comwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
>I am a little confused about the archive parameters work together. We
currently have LOGRETAIN=RECOV ERY and LOGARCHMETH1=US EREXIT.

It appears that the logarchmeth1 can be set to DISK:<path>. Does this
mean that we can use DISK (rather than USEREXIT) and replace the <path>
to our existing archive log path, set USEREXIT OFF and db2 will
automatically copy files to this directory?

Thanks for any help.

Naru Mangalath
If you set either LOGRETAIN, USEREXIT, or LOGARCHMETH1 to a value other than
the default, then DB2 will retain the logs (not use circular logging).

Starting in 8.2, you can use LOGARCHMETH1 to specify the location of where
archived logs are to be moved, instead of having to compile and use a
USEREXIT program. You just specify DISK:\archive_l og_path if you want the
archived logs to go to that path. You can use LOGARCHMETH2 if you are using
mirrored logs and want mirror archive logs.
Sep 26 '06 #2

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

Similar topics

4
12183
by: Ricardo Silva | last post by:
Hello, In the db2diag.log I've this error's : 2005-02-15-16.35.19.488157+000 I37715388C366 LEVEL: Error PID : 30414 TID : 1 PROC : db2logmgr (RMDB) 0 INSTANCE: db2inst1 NODE : 000 FUNCTION: DB2 UDB, data protection, sqlpgArchiveLogFile, probe:3160 MESSAGE : Failed to archive log file S0000000.LOG to USEREXIT from
7
6560
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 I3534G369 LEVEL: Error PID : 3300 TID : 8192 PROC : db2logmgr (SAMPLE) INSTANCE: db2prd NODE : 000
2
1079
by: Atlantis11500 | last post by:
Hi all. I am a vc++ programmer. I have been working in this area for about three years. My present question is what's the position of C++/CLI under the .NET ? You know that the VC++ once was the most powerful IDE of MS, but when the ..NET release everything was changed. And now I plane to lear .NET and move all my projects to .NET,
7
1727
by: Steve Richter | last post by:
When I build a C# class and install it in the GAC, my code works as it should, my .aspx code finds the DLL and can run a static method: <%@ Assembly Name="AutoCoder, Culture=neutral, Version=1.0.1922.22245, PublicKeyToken=0a4067d718757385" %> <%@ Import Namespace="AutoCoder" %> Trace.Write( "AutoCoder", AutoCoder.Common.GetConnectionString( )) ; But I cant locate the assembly in its directory using the src= property.
3
1588
by: Michael Tissington | last post by:
I'm confused by documentation and examples on using Delegate to create Events for use with COM In some situation I see a parameter list of (sender as Object, e as EventArgs) and other times I see no parameters, or a list of parameters that are event dependent. Below is my .NET code to create a class which raises some events. From C++ (using MFC 6.0) I create an instance of the object and IConnectionPointContainer which seems to work.
7
2075
by: Leszek L. | last post by:
Hello, I am new to this group; if my question is OT then please excuse me and tell me where to go. I am using MS Visual C++ with some of its graphics libraries. Now the compiler tells me that one of the member functions that I am trying to use is not a member of that class. The sad irony is that when I type the name of an object of that class, followed by a dot, the IDE helpfully displays
3
1614
by: itfetish | last post by:
I've been programming a bit in PHP and then recently learnt classic ASP for projects at work, now I'm working on another project that they want done in .net. I've got my head around web parts, that wasnt as complicated as I thought it would be. Now I want to create a web part, that connects and uses our database to show data depending on what user it is. I know theres the dataview controls and all that, but I dont want to display all...
7
3028
by: Ronald S. Cook | last post by:
I've always been taught that stored procedures are better than writing SQL in client code for a number of reasons: - runs faster as is compiled and lives on the database server - is the more proper tier to put it since is a data function But then I've heard that writing SQL in my client .NET code might run just as fast? Dynamic SQL or something? And then there's LINQ on the horizon. Is it a successor to everything
2
2561
by: richard.crosh | last post by:
Hello, Using DB2 8.2 FP 9 - 32bit on Solaris 5.8 and a tape management tool of Veritas, the archive hangs on occassion. The error is "shmat failed" in the db2diag.log. Then DB2 hangs and self corrects. This seems to occur when a backup kicks off, initiating an archive. But only on occassion. Our intent is to upgrade but that may take months. This should be
0
9569
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10318
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2975
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.