473,387 Members | 1,859 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.

HADR disconnected status

We are having some problems administering HADR on a new installation.
Specifically, we are seeing that the connection status of the pair is
"disconnected". We have restarted, restored, and even rebooted to no
avail. In the diag log we are seeing lots of "External Comm Error".
The machines can see each other on the network, and in fact we can
start HADR on both machines from the primary (without specifying BY
FORCE). Once HADR is started, we have one PRIMARY and one STANDBY, but
the pair shows status disconnected. I'm not sure what else to try...
anyone have any ideas what could be causing this?

Nov 12 '05 #1
5 9514
"Brian" <bv*******@yahoo.com> a écrit dans le message de
news:11**********************@o13g2000cwo.googlegr oups.com...
We are having some problems administering HADR on a new installation.
Specifically, we are seeing that the connection status of the pair is
"disconnected". We have restarted, restored, and even rebooted to no
avail. In the diag log we are seeing lots of "External Comm Error".
The machines can see each other on the network, and in fact we can
start HADR on both machines from the primary (without specifying BY
FORCE). Once HADR is started, we have one PRIMARY and one STANDBY, but
the pair shows status disconnected. I'm not sure what else to try...
anyone have any ideas what could be causing this?


Hi Brian,

I don't think the messages you get are related to HADR, but I wish IBM
change these "External Comm Error" that pollute the db2diag.log... Please,
why don't you make this in Information Level ?

Regards,

Jean-Marc
Nov 12 '05 #2
Ian
Brian wrote:
We are having some problems administering HADR on a new installation.
Specifically, we are seeing that the connection status of the pair is
"disconnected". We have restarted, restored, and even rebooted to no
avail. In the diag log we are seeing lots of "External Comm Error".
The machines can see each other on the network, and in fact we can
start HADR on both machines from the primary (without specifying BY
FORCE). Once HADR is started, we have one PRIMARY and one STANDBY, but
the pair shows status disconnected. I'm not sure what else to try...
anyone have any ideas what could be causing this?


Does the pair ever get to peer state?

Nov 12 '05 #3
No it never does make it to peer state. If we restore the secondary
from backup, it will show 'peer' for a brief moment, but then shows
disconnected within a few seconds. This leads me to believe that
there's some issue with transferring the logs, but I'm not sure how to
troubleshoot this issue more.

Thanks,
Brian

Nov 12 '05 #4
Ok, change in status. It seems one of our databases had a 'deactivate'
command issued against it. When we ran a 'db2 activate ...' command
from the command line, we got to peer state. But... the mode shows
'asynchronous', despite the fact that we configured both databases to
run in 'synchronous'. We have restarted both databases, but still
can't get to synchronous. If we do a "db2 get db cfg for testing1" on
the command line, we see that the mode show async for both databases.
I thought we could just change the mode through the gui, then restart
the database for changes to take effect. Is this true?
Thanks

Nov 12 '05 #5
I'm not very familiar with the GUI, but maybe some final "take action"
step was overlooked. Anyway, once the configuration change is made on
both systems, and both are recycled, there obviously should be no
drifting of configuration values. If you'd like an alternative to the
GUI, then you can change the configuration using CLP commands, for
example:

db2 update db cfg for <db-name> using HADR_SYNCMODE SYNC

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

Nov 12 '05 #6

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

Similar topics

6
by: RMG | last post by:
I use VS.net 2003 and VSS 6a. Whilst working on the network the integration between VS.net and VSS works perfectly. But when I open a project whilst disconnected from the network I get some...
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.
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:
db2 8.1 fix pack 12 on AIX 5.3 This is a newly configured HADR machine. The HADR was up and running. I was 'playing' around some on the standby and did a db2 deactivate and things sort of went...
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...
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...
3
by: tensi4u | last post by:
Hi, I'm running two db2s v9.5 (64bit) on Redhat (64bit). I thought I finished to set up HADR and ACR successfully with CLP, the status looked good Peer, Sync, Connected, etc,. from the get snapshot...
2
by: agentlease | last post by:
Hi, If the HADR state is 'Disconnected' and commit transactions to the Primary database, in the event of a Failover to the Standby database, how do we determine if it is safe i.e. how do we know...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
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
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.