IBM Support

IJ19806: HA XD UPGRADE DUPLICATES CLXD.LOG HACMPLOGS STANZA

 

APAR status

  • Closed as fixed if next.

Error description

  • During PowerHA XD upgrade to 7.2.X cluster.es.genxd.rte
    fileset creates duplicated ODM entries for clxd.log and
    clxd_debug.log files in HACMPlogs ODM class.
    
    
    As a consequence, /usr/es/sbin/cluster/utilities/clcycle
    returns these errors:
    The cluster log entry for clxd.log could not be found in
    the HACMPlogs ODM.
    Defaulting to log directory /var/hacmp/log for log file
    clxd.log.
    /usr/es/sbin/cluster/utilities/clcycle[676]: save_log:
    line 210: 0
    0: arithmetic syntax error
    The cluster log entry for clxd_debug.log could not be
    found in the HACMPlogs ODM.
    Defaulting to log directory /var/hacmp/log for log file
    clxd_debug.log.
    /usr/es/sbin/cluster/utilities/clcycle[676]: save_log:
    line 210: 0
    0: arithmetic syntax error
    
    To verify the issue, check the HACMPlogs odm:
    # odmget -q name=clxd.log HACMPlogs
    
    HACMPlogs:
     name = "clxd.log"
     description = "Generated by clxd daemon (PowerHA
    Enterprise Edition)"
     defaultdir = "/var/hacmp/xd/log"
     value = "/var/hacmp/xd/log"
     rfs = ""
     size = 0
    HACMPlogs:
     name = "clxd.log"
     description = "Generated by clxd daemon (PowerHA
    Enterprise Edition)"
     defaultdir = "/var/hacmp/xd/log"
     value = "/var/hacmp/xd/log"
     rfs = ""
     size = 0
    

Local fix

  • 1. Create a backup copy of the HACMPlogs ODM file:
    # cp /etc/es/objrepos/HACMPlogs /tmp/HACMPlogs.backup
    
    2. Save the problematic HACMPlogs ODM entries to a
    temporary file:
    # odmget -q name=clxd.log HACMPlogs \
    > /tmp/clxd.txt
    # odmget -q name=clxd_debug.log HACMPlogs \
    > /tmp/clxd_debug.txt
    
    3. Edit the above two files and remove the duplicated
    entries.
    Leaveonly one stanza per file.
    
    4. Delete clxd.log and clxd_debug.log entries from
    HACMPlogs
    ODM file:
    # odmdelete -o HACMPlogs -q name=clxd.log
    Expected output: 0518-307 odmdelete: 2 objects deleted.
    
    # odmdelete -o HACMPlogs -q name=clxd_debug.log
    Expected output: 0518-307 odmdelete: 2 objects deleted.
    
    5. Add back HACMPlogs:
    # odmadd /tmp/clxd.txt
    # odmadd /tmp/clxd_debug.txt
    
    6. Run cluster verification from the node, where you
    changed
    the ODM.
    
    7. Verify HACMPlogs ODM on both nodes:
    # odmget HACMPlogs
    

Problem summary

  • During PowerHA XD upgrade to 7.2.X cluster.es.genxd.rte
    fileset creates duplicated ODM entries for clxd.log and
    clxd_debug.log files in HACMPlogs ODM class.
    As a consequence, /usr/es/sbin/cluster/utilities/clcycle
    returns these errors:
    The cluster log entry for clxd.log could not be found in
    the HACMPlogs ODM.
    Defaulting to log directory /var/hacmp/log for log file
    clxd.log.
    /usr/es/sbin/cluster/utilities/clcycle[676]: save_log:
    line 210: 0
    0: arithmetic syntax error
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ19806

  • Reported component name

    POWERHA SYSMIR

  • Reported component ID

    5765H3910

  • Reported release

    723

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2019-09-24

  • Closed date

    2019-11-06

  • Last modified date

    2019-11-06

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLM9V","label":"PowerHA SystemMirror Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"723","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSXU4N","label":"PowerHA SystemMirror Enterprise Edition for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"723","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLM9V","label":"PowerHA SystemMirror Standard Edition for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"723","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}},{"Business Unit":{"code":"BU008","label":"Security"},"Product":{"code":"SGL4G4","label":"PowerHA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"723","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 October 2021