Go to main content

Oracle® Solaris Cluster Data Service for Oracle VM Server for SPARC Guide

Exit Print View

Updated: June 2017
 
 

SPARC: Debugging HA for Oracle VM Server

HA for Oracle VM Server has a extension property named Debug_level that enables you to activate debugging for Oracle VM Server for SPARC logical domain resources.

SPARC: How to Activate Debugging for HA for Oracle VM Server

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

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

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

  2. If debugging is inactive, edit the /etc/syslog.conf file in the appropriate node to change daemon.notice to daemon.debug.
  3. Confirm that debugging for HA for Oracle VM Server is active.
    # 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 global zone.
    # svcadm refresh svc:/system/system-log:default
  5. () Set the property Debug_level to level 2.
    # clresource set -p Debug_level=2 logical-domain-resource

    For more information about the Debug_level extension property and permissible values, see the SUNW.ldom(5) man page.


    Note -  To deactivate debugging, repeat these steps, changing daemon.debug to daemon.notice and changing the Debug_level property to 0.