home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC74011 Status: Closed

LOG WRITES ON PRIMARY IN HADR COULD BE SUSPENDED AFTER GETTING THE NEARLY
PEER ACK MESSAGE (HDR_MSG_NPEERACK) FROM STANDBY

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
In a hadr pair, the primary db could get into a state whereby 
only select commands against the database will succeed (a). 
Another symptom of the above could be that a db2stop force or a 
deactivation of the database may hang (b) 
 
Look for the following message in the db2diag.log to check for 
symptom (a), no such messages would be present for symptom (b) 
 
2010-02-12-09.00.00.386817+480 I36240844A379      LEVEL: Warning 
PID     : 1527822              TID  : 31613       PROC : db2sysc 
0 
INSTANCE: DB2INST1             NODE : 000 
EDUID   : 12345                EDUNAME: db2hadrp (SAMPLEDB) 0 
FUNCTION: DB2 UDB, High Availability Disaster Recovery, 
hdrTransitionPtoNPeer, probe:10645 
MESSAGE : near peer catchup starts at LSO 7612272385 
 
If the above above message is noticed and there are no further 
messages such as "HADR state set to P-NearlyPeer" from 
hdrSetHdrState() then for both symptoms (a) and (b) the stack 
for the db2hadrp process will have to be checked to verify that 
this APAR has been encountered. 
 
After you have dumped the stacks (db2pd -stack all) then run the 
grep command below and check the output is similar to the 
following to verify running into the apar. Ie look for latch 
type: SQLO_LT_SQLP_DBCB__wTaskSem 
 
grep -i waiting * 
5507.50.000.stack.txt:Waiting on latch type: 
(SQLO_LT_SQLP_DBCB__wTaskSem) - Address: (0x2aaaf2391680), Line: 
1040, File: sqlpwlg.C 
5507.67.000.stack.txt:Waiting on latch type: 
(SQLO_LT_SQLP_DBCB__IOTaskSem) - Address: (0x2aaaf2391600), 
Line: 41, File: sqlpiPostLogger_inlines.h 
 
$ grep -i holding * 
5507.67.000.stack.txt:Holding Latch type: 
(SQLO_LT_SQLP_DBCB__wTaskSem) - Address: (0x2aaaf2391680), Line: 
2677, File: hdr.C HoldCount: 1 
5507.67.000.stack.txt:Holding Latch type: 
(SQLO_LT_SQLP_DBCB__IOTaskSem) - Address: (0x2aaaf2391600), 
Line: 2676, File: hdr.C HoldCount: 1 
 
If the above is noticed then you have run into this apar. The 
fix for this apar is available in v9.7 Fixpak 1.
Problem Summary:
USERS AFFECTED: 
 
=============== 
Customer using version 9.5 and above on all platforms. 
 
PROBLEM DESCRIPTION: 
==================== 
In a hadr pair, the primary db could get into a state whereby 
only select commands against the database will succeed (a). 
Another symptom of the above could be that a db2stop force or a 
deactivation of the database may hang (b). Please see the 
db2diag.log entry and stacks to help you identify applicability 
of this APAR. 
 
RECOMMENDATION: 
=============== 
Perform a forced hadr takeover by the standby.
Local Fix:
Perform a forced hadr takeover by the standby.
available fix packs:
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Problem is first fixed in version 9.5 Fixpack 8.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
21.01.2011
21.07.2011
21.07.2011
Problem solved at the following versions (IBM BugInfos)
9.5.FP8
Problem solved according to the fixlist(s) of the following version(s)
9.5.0.8 FixList