Sun Cluster Data Service for SWIFTAlliance Access Guide for Solaris OS

Debugging Sun Cluster HA for SWIFTAlliance Access

ProcedureHow to turn on debugging for Sun Cluster HA for SWIFTAlliance Access

Each Sun Cluster component has a DEBUG file in /opt/SUNWscsaa/etc directory, where saa is a three-character abbreviation for the respective Sun Cluster component.

These files enable you to turn on debugging for all Sun Cluster instances or for a specific Sun Cluster instance on a particular node with Sun Cluster. If you require debugging to be turned on for Sun Cluster HA for SWIFTAlliance Access across the entire Sun Cluster installation, repeat this step on all nodes or zones that can master the resource group.

  1. Edit the /etc/syslog.conf file.

    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 following output, 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 the /opt/SUNWscsaa/etc/config file.

    Change DEBUG= to DEBUG=ALL or DEBUG=resource


    # cat /opt/SUNWscsaa/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 debugging, reverse the previous steps.