Sun Cluster Data Service for WebSphere MQ Integrator Guide for Solaris OS

Debug Sun Cluster HA for WebSphere MQ Integrator

Sun Cluster HA for WebSphere MQ Integrator can be used by multiple WebSphere MQ Integrator instances. However, it is possible to turn on debug for all WebSphere MQ Integrator instances or for a particular WebSphere MQ Integrator instance.

Each WebSphere MQ Integrator component has a DEBUG file under /opt/SUNWscmqi/xxx/etc, where xxx is a three-character abbreviation for the respective WebSphere MQ Integrator component.

These files allow you to turn on debug for all WebSphere MQ Integrator instances or for a specific WebSphere MQ Integrator instance on a particular node with Sun Cluster. If you require debug to be turned on for Sun Cluster HA for WebSphere MQ Integrator across the whole Sun Cluster, you will need to repeat these steps on all nodes within Sun Cluster.

How to turn on debug forSun Cluster HA for WebSphere MQ Integrator

  1. Edit /etc/syslog.conf and change daemon.notice to daemon.debug


    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator
    #

    Change the daemon.notice to daemon.debug and restart syslogd. The output below, from the command grep daemon /etc/syslog.conf, shows that daemon.debug has been set.


    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator
    #
    # pkill -1 syslogd
    #
  2. Edit /opt/SUNWscmqi/sib/etc/config

    Perform this step for the Broker component (sib), then repeat for the optional UserNameServer (siu) that requires debug output, on each node of Sun Cluster.

    Edit /opt/SUNWscmqi/sib/etc/config and change DEBUG= to DEBUG=ALL or DEBUG=resource


    # cat /opt/SUNWscmqi/sib/etc/config
    #
    # Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL
    #

    Note –

    To turn off debug, reverse the steps above.