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 IC77612 Status: Closed

CLIENT REROUTE FAILS DURING HADR TAKEOVER IF IP ADDRESS IS USED IN
ALTERNATE SERVER

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
DB2 client fail to reroute connection to alternate server after 
takeover if IP Address is used in alternate server information. 
Application reports SQLCODE 1776.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* HADR user using C-client                                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* DB2 client fail to reroute connection to alternate server    * 
* after takeover if IP Address is used in alternate server     * 
* information. Application will report sqlcode  SQL1776.       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v9.7.5.                                           * 
****************************************************************
Local Fix:
Use hostname for alternate server
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Incorrect check in client layer, failed to determinate that 
server is running HADR. Connections were not rerouted to new 
primary. Application will report SQLCODE 1776. 
 
JDBC ( cli based driver) report error: 
 
 
SQLException messages returned by JDBC/JCC drivers. 
SQLCODE = -1776 
SQLSTATE = 
Error Message = [jcc][4038][12241][3.62.53] T2LUW exception: 
SQL1776N  The 
command is not supported on an HADR standby database or on an 
HADR standby database 
with the current configuration or state.  Reason code = "1". 
 ERRORCODE=-1776, SQLSTATE=     DSRA0010E: SQL State =      , 
Error Code -1,776
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
19.07.2011
08.12.2011
08.12.2011
Problem solved at the following versions (IBM BugInfos)
9.7.5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList