Go to main content

Oracle® Solaris Cluster Data Service for Oracle TimesTen Guide

Exit Print View

Updated: September 2015
 
 

Debugging HA for TimesTen

HA for TimesTen resource types have an extension property, debug_level, that enables you to activate debugging for TimesTen resources.

How to Activate Debugging for HA for TimesTen

Perform this procedure to activate debugging.


Note -  To deactivate debugging, repeat this procedure with the following changes:
  • Change daemon.debug to daemon.notice.

  • Change the debug_level property to 0.


  1. Determine whether debug logging for HA for TimesTen is active.
    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator
    #

    If debug logging is inactive, daemon.notice is set in the file /etc/syslog.conf of the appropriate node.

  2. If debug logging is inactive, edit the /etc/syslog.conf file in the appropriate node to change daemon.notice to daemon.debug.
  3. Confirm that debug logging for HA for TimesTen 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 in the appropriate node.
    # svcadm refresh svc:/system/system-log:default
  5. Set the Debug_level property to either 1 or 2.
    # clresource set -p Debug_level=intended value

    Note -  Setting the Debug_level property to 2 will result in a Korn shell trace of the validate command.