473,406 Members | 2,633 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,406 software developers and data experts.

Hadr, Congestion, Recover-Pending

Folks -

OpSys: RH Linux, AS3
DB: UDB 8.2.0 (FP7 Stinger)
HW: 2 X-series

We setup a HADR pair and they went into PEER state (after we backed-up
the DB on primary and restored the DB on the standby).
We created our tables and started importing thousands of rows into on
the primary-side.
We imported fine for a while and then the primary-side went into
Congested-state.
We looked at the Standby-side and we saw that the DB was:

** DB: p_xyz
**
** HADR database role = STANDBY
** Backup pending = NO
** Rollforward pending = DATABASE
** Restore pending = YES

Was the Standby-state put into Restore Pending state by some action on
the Primary-side because it was congested? I say that the reverse
might be true: that somehow we were able to get into HADR Standby and
the Restore-pending forced the Primary into congested state...

More Curious in Colorado, USA

Bruce and Dave

Nov 12 '05 #1
2 5020
<bw********@yahoo.com> a écrit dans le message de
news:11*********************@o13g2000cwo.googlegro ups.com...
Folks -

OpSys: RH Linux, AS3
DB: UDB 8.2.0 (FP7 Stinger)
HW: 2 X-series

We setup a HADR pair and they went into PEER state (after we backed-up
the DB on primary and restored the DB on the standby).
We created our tables and started importing thousands of rows into on
the primary-side.
We imported fine for a while and then the primary-side went into
Congested-state.
We looked at the Standby-side and we saw that the DB was:

** DB: p_xyz
**
** HADR database role = STANDBY
** Backup pending = NO
** Rollforward pending = DATABASE
** Restore pending = YES

Was the Standby-state put into Restore Pending state by some action on
the Primary-side because it was congested? I say that the reverse
might be true: that somehow we were able to get into HADR Standby and
the Restore-pending forced the Primary into congested state...

More Curious in Colorado, USA

Bruce and Dave


Could it be linked to IY62632: log file can be removed before it is archived
after hadr takeover ? Would a missing log place the standby DB in Restore
pending state ?

Btw, this apar is very poorly described:

"Log file can be removed before it is archived and cause HADR failure during
takeover". I would like to know if it is AFTER or DURING, and if the
description can be somewhat enhanced. This is fixed in FP8.

HTH,

JM
Nov 12 '05 #2
bw********@yahoo.com wrote:
Folks -

OpSys: RH Linux, AS3
DB: UDB 8.2.0 (FP7 Stinger)
HW: 2 X-series

We setup a HADR pair and they went into PEER state (after we backed-up
the DB on primary and restored the DB on the standby).
We created our tables and started importing thousands of rows into on
the primary-side.
We imported fine for a while and then the primary-side went into
Congested-state.
We looked at the Standby-side and we saw that the DB was:

** DB: p_xyz
**
** HADR database role = STANDBY
** Backup pending = NO
** Rollforward pending = DATABASE
** Restore pending = YES

Was the Standby-state put into Restore Pending state by some action on
the Primary-side because it was congested? I say that the reverse
might be true: that somehow we were able to get into HADR Standby and
the Restore-pending forced the Primary into congested state...

More Curious in Colorado, USA

Bruce and Dave

Comments from backstage:
The standby states are correct. The standby db is put into permanent
rollforward, thus it shows rollfwd and restore pending. This is expected.

Congestion is usually caused by slow network or standby machine. Use
"db2 get snapshot for db on dbName" to check if the standby LSN is
moving. As long as it's moving, it may just be a slow standby/network.
If it is stuck at a position, then it's a different matter.
Cheers
Serge

--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #3

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...
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.
4
by: bwmiller16 | last post by:
Folks - Again, a three-peat: RH AS3, UDB 8.1.7 on one pair of x-series, 8.1.8 on 2 i86 test boxes... We were just about to put all we had into production and now we're unable to get HADR to...
3
by: Mark A | last post by:
Does anyone have some java code for automatic client reroute using the Type 4 client with HADR? The Type 2 client supports this automatically with parms in the database configuration, but it has to...
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...
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 ...
6
by: shorti | last post by:
I have two questions about HADR recovery. I am running db2 v8 fp12. 1) If the primary suddenly crashes would you always want to switch the standby to the primary by force...or would there be...
3
by: lfhenry | last post by:
Hi, If i have HADR setup with data synch setting of NEAR-SYNC and i have congestion on the line. Do my transactions block until the my HADR_STATE goes to PEER. In the instances that sometimes i...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.