DB2 - Problem description
Problem IC79601 | Status: Closed |
DATABASE COULD BECOME OFFLINE WHEN STOPPING HADR ON PRIMARY | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When stopping HADR on an active primary database with command "stop hadr on db dbname", the database is expected to become a standard database and continue to function normally. However, in some situation, the database could be brought offline after the same command. Messages similar to the following might appear in the db2diag.log: 2011-10-07-17.20.57.326550-240 I63744A399 LEVEL: Error PID : 10158182 TID : 20625 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 EDUID : 20625 EDUNAME: db2hadrp (HADRDB) 0 FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrBindAndListen, probe:20320 RETCODE : ZRC=0x810F001B=-2129723365=SQLO_ADDR_IN_USE "Address already in use" ...... 2011-10-07-17.20.57.326961-240 I64883A376 LEVEL: Severe PID : 10158182 TID : 20625 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 EDUID : 20625 EDUNAME: db2hadrp (HADRDB) 0 FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrEduEntry, probe:21100 MESSAGE : HADR marking logs bad; database should shut down. ...... 2011-10-07-17.20.57.328665-240 I66131A459 LEVEL: Error PID : 10158182 TID : 14457 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 DB : HADRDB EDUID : 14457 EDUNAME: db2loggr (HADRDB) 0 FUNCTION: DB2 UDB, data protection services, sqlpgsck, probe:430 RETCODE : ZRC=0x8610000D=-2045771763=SQLP_BADLOG "Log File cannot be used" DIA8414C Logging can not continue due to an error. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users using HADR * **************************************************************** * PROBLEM DESCRIPTION: * * A stop hadr command in active primary HADR database can * * result into a database down situation marking a transaction * * log file temporarily bad. * * A restart database command will bring the database on-line * * again. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 6 or higher to avoid * * experiencing this issue. * **************************************************************** | |
Local Fix: | |
Once this problem is experienced issue restart database to bring the database online again. If the standby side HADR was stopped already it needs to be restarted before issuing restart database in the primary side. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Version 9.7 Fix Pack 6 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.11.2011 18.06.2012 18.06.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.6 |