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

After reboot primary and standby starts up and then they turn into catch up pending

Hello there,

we have configured a perfect DB2 HADR pair. After some days, we had
following problem:
After a reboot standby becomes standby, that's ok. Pimary becomes
primary, i tought db2 could do this then, when standby and primary
talks with each other, or find each other.
So long everything's ok, but then i see the state ist catch up pending
and they don't find each other.
After reboot obviousley they find each other and then tere is no more
connection. We have no firewall activated.
I only become "peer" state when i stop hadr and then start hadr....then
they comme to peer state and everythings is ok? ANy ideas? This would
be very nice and don't give a shit 'bout my english.

Nov 12 '05 #1
1 2247

If the primary was shut down and it restarted successfully, and it was
not restarted via "start hadr .. as primary by force", then the primary
and standby must have been able to communicate and must have
successfully passed some basic handshake validations. If the two could
not connect, then the attempt to restart/activate/connect to the
primary would hang for HADR_TIMEOUT and then fail with SQL1768N reason
code 7.

If the primary was never shut down, i.e., just the standby was
rebooted, then the primary could remain as primary throughout the
event, and that would not imply anything about connectivity after the
reboot of the standby. There could be comm issues after the reboot,
and the standby would restart as a (disconnected) standby just fine.
For example, if the standby happened to get a different IP address on
the reboot (via DHCP, for example), the primary might reject the
attempt to reconnect if it was configured to expect the old IP address.

The db2diag.log files from the two databases at the time of the
reboot(s) could prove interesting. They should show all HADR state
transitions, and may point to some specific problem, e.g., comm
connection lost later for some reason, or pair validation failed.

If you can't find a cause, I suggest that you raise this with your IBM
support channel.

Regards,
- Steve P.
-----------------------
Steve Pearson
IBM DB2 UDB for LUW Development
Portland, OR, USA

Nov 12 '05 #2

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

Similar topics

1
by: js | last post by:
I am trying to create a primary key constraint on a view in the following statement. However, I got an error ORA-00907: missing right parenthesis. If the CONSTRAINT clause is removed, then the...
10
by: JL | last post by:
To All, I have a SQL2KSP3a database(<1GB) running on a 4x3GB physical CPU with 4GB of ram. It is Windows Server 2003 with hyper-threading turn on. There are ~420 .Net users/cxns (fat client, no...
5
by: Olaf Gschweng | last post by:
We're new into DB2 and have some problem with DB2 8.1 (?) on a Linux system. We load some big tables of a DB2 database from files every day. We do a "DELETE FROM table" for each table and then we...
7
by: Juan Norton | last post by:
got: DB2 v8.2 ESE WinXP in machine A Windows Server 2003 in machine B I have a db server on machine 'A' and I want to create a standby db on machine 'B' via log shipping. standby db on B was...
1
by: bwmiller16 | last post by:
Folks - Linux RH3, UDB 8.2 FP9. I've got two tiny test boxes that I'm setting up to get a simple HADR configuration built. When I start the primary I get the famous SQL1768 RC=7 and also...
4
by: t2581 | last post by:
Hi, We have 14 GB db (PRICE)on Windows with user exit Offlie backup done daily at 10 PM at 7 AM follwing day we restore offline backup of PRICE as PRICE_R and reapply log files to 6 AM...
0
by: Jonas Hei | last post by:
I need to implement a listener that listens on a certain UDP port. I am trying to use Socket.BeginReceiveFrom for this purpose. In this scenario the remote clients (hundreds of them) send most of...
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 ...
2
by: paul | last post by:
Hi, I have two databases in hadr, this morning i issued a "takeover ... by force" because the normal takeover didn't worked. Now i have two standard databases, and if i try to put the old primary...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.