IBM Support

IC72271: DB2 HA SCRIPT HADRV97_START.KSH CAN RETURN WITH RC 0 ON REDHAT LINUX AND AUTOMATIC FAILOVER WILL NOT BE PERFORMED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • On Redhat Enterprise Linux 5.5 there is an issue with the "su"
    command that is used in the hadrV97_start.ksh scripts to
    determine the server status. If the command gets killed by
    db2V97_start.ksh script - that can execute in parallel - then
    the return code of the su command remains 0 (zero).
    For TSA this indicates a false "successfull" startup and a
    potential failover will not be performed.
    
    In Linux system log (/var/log/messages) you will see the
    following messages:
    
    Oct 15 16:14:08 lx252 db2V97_start.ksh[2176]: ***************
    Attempted to start partition db2inst1,0 and failed
    Oct 15 16:14:08 lx252 db2V97_start.ksh[2177]: Killing db2
    processes : db2inst1, 0
    Oct 15 16:14:08 lx252
    /usr/sbin/rsct/sapolicies/db2/hadrV97_start.ksh[2185]:
    ...returns 0
    Oct 15 16:14:08 lx252
    /usr/sbin/rsct/sapolicies/db2/hadrV97_start.ksh[2186]: Returning
    0 : db2inst1 db21inst1 PDB2UID
    
    Note: This appears to be an issue on the Redhat Linux
    distribution but DB2 will implement a workaround in the HA
    scripts.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL USERS ON REDHAT LINUX                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Problem Description above.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 4.                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC72271

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-28

  • Closed date

    2011-05-01

  • Last modified date

    2011-05-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC72480

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC72271

Modified date: 01 May 2011