473,394 Members | 1,916 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,394 software developers and data experts.

Re: Questions to FAILARCHPATH and HADR

On Mar 31, 12:05 am, Joachim Klassen <JoKlas...@email.comwrote:
Hi all,

Platform DB2 V9.1 FP3 on AIX V5.3,HADRis configured and running.
LOGARCHMETH1 is TSM , FAILARCHPATH is set to a local filesystem.

Szenario:
TSM Server is unavailable for some time, DB2 primary archives its logs
to FAILARCHPATH as expected.
Now theHADRStandby goes down. While the standby is unavailable the
primary continues work and archives some log files to FAILARCHPATH
(TSM still not available). The log files were removed /renamed on the
active log path. When the standby comes back later it contacts the
primary to get synched and throws errors about missing log files on
the primary. So it looks like the primary does not "retrieve" log
files from FAILARCHPATH.

If TSM comes up again, the primary will archive the log files from
FAILARCHPATH to TSM. When the standby is activated now, it will
receive log files from the primary(which were retrievd from TSM). So
far so good - but if the primary is stopped while using FAILARCHPATH
and is restarted when TSM is available again it will not archive the
log files from FAILARCHPATH to TSM, thus leaving a gap in the
archived log chain.

Im not able to open up a PMR for this situation at the moment - anyone
else seen this behaviour ?

TIA for any answer

Joachim

An answer from elsewhere in DB2 development:
>--
DB2 is supposed to move files from the FAILPATH to TSM when TSM is
available again (this should also happen if DB2 is recycled with files
in FAILPATH. We have recently found a bug where files are left in the
failpath and never moved to the archive location. So this is a known
problem.

I don't think we should be expecting retrieval from FAILPATH.
FAILPATH is supposed to be a 'temporary' location for archived files
while the main archive location/device is offline. In this situation,
the priority should be to get the archive location/device available
again, and this will allow the files to flow to the standby via the
archive location.
<--

Regards,
- Steve P.
--
Steve Pearson, DB2 for Linux, UNIX, and Windows, IBM Software Group
"Portland" Development Team, IBM Beaverton Lab, Beaverton, OR, USA
Jun 27 '08 #1
0 1872

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

Similar topics

1
by: Bruce M | last post by:
Is there a way to run the db2-generated HADR-create script outside of DB2CC beyond the obvious? My DB2CC generates the HADR script and then abends because of a java error meaning I can't finish my...
1
by: shindle | last post by:
Hello - I am in the process of testing out the new HADR feature of DB2 UDB V8.2 and I have some questions that I was hoping that someone could answer please. I have a HADR test set-up with...
3
by: bwmiller16 | last post by:
Why are 2 ports required for a HADR Pair? Environment: RH Linux AS3 UDB Express 8.2 with HADR Option Folks - Working with HADR and getting this setup to work right.
7
by: Mark A | last post by:
If server 01 running HADR in the primary role crashes, and the DBA does a HADR takeover by force on the 02 server to switch roles, then the 02 server is now the primary. What happens when the...
0
by: Marc | last post by:
Hi, I'm working with a customer that is trying to find a solution to provide geographical redundancy. Our application is currently using IBM DB2 v8.2. I have a couple of questions with regards...
16
by: gumby | last post by:
I'm having trouble getting HADR to work with the sample databases on two HS20 xSeries blades, Red Hat ES4 up3, DB2 8.2.4, getting the following error. SQL1768N Unable to start HADR. Reason code...
8
by: Challenge | last post by:
Hi, I got error, SQL1768N Unable to start HADR. Reason code = "7", when I tried to start hadr primary database. Here are the hadr configuration of my primary db: HADR database role ...
0
by: Joachim Klassen | last post by:
Hi all, Platform DB2 V9.1 FP3 on AIX V5.3, HADR is configured and running. LOGARCHMETH1 is TSM , FAILARCHPATH is set to a local filesystem. Szenario: TSM Server is unavailable for some time,...
0
by: deshaipet | last post by:
Hi - We have primary and standby databases on different servers. Here is my /etc/service entry for HADR pair : On Primary : "vi /etc/services
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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...
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
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.