Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for Oracle TimesTen Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## 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 you are in the global zone or in a non-global zone configuration.

   If your TimesTen resource group node list contains non-global zones, you are in a non–global zone configuration. In any other case, you are in a global zone configuration.

2. Determine whether debug logging for HA for TimesTen is active in your node or zone.

       # 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 zone.

3. If debug logging is inactive, edit the `/etc/syslog.conf` file in the appropriate node or zone to change `daemon.notice` to `daemon.debug`.
4. 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
       #

5. Restart the `syslogd` daemon in the appropriate node or zone.

       # svcadm refresh svc:/system/system-log:default

6. 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.

Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |