Oracle® Solaris Cluster Data Service for Oracle Solaris Zones Guide

Exit Print View

Updated: July 2014, E39657-01
 
 

How to Activate Debugging for HA for Solaris Zones

  1. Determine whether debugging for HA for Solaris Zones is active.

    If debugging is inactive, daemon.notice is set in the file /etc/syslog.conf.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator
    #
  2. If debugging is inactive, edit the /etc/syslog.conf file to change daemon.notice to daemon.debug.
  3. Confirm that debugging for HA for Solaris Zones is active.

    If debugging is active, daemon.debug is set in the file /etc/syslog.conf.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator
    #
  4. Restart the syslogd daemon.
    # svcadm restart system-log
  5. Edit the /opt/SUNWsczone/sczbt/etc/config file to change DEBUG= to DEBUG=ALL or DEBUG=sczbt-rs.
    # cat /opt/SUNWsczone/sczbt/etc/config
    #
    # Copyright 2012 Oracle Corporation.  All rights reserved.
    # Use is subject to license terms.
    #
    # ident "@(#)config     1.1     06/02/12"
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL
    #

    Note -  To deactivate debugging, reverse the preceding steps.