The config file in the /opt/SUNWsczone/zone component/etc directory enables you to activate debugging for Solaris Zone resources. Where zone component represents sczbt for the boot component, sczsh for the script component and sczsmf for the SMF component.
Each component of Sun Cluster HA for Solaris Containers has a config that enables you to activate debugging for Solaris Zone resources. The location of this file for each component is as follows:
For the zone boot component, this file is contained in the /opt/SUNWsczone/sczbt/etc directory.
For the zone script component, this file is contained in the /opt/SUNWsczone/sczsh/etc directory.
For the zone SMF component, this file is contained in the /opt/SUNWsczone/sczsmf/etc directory.
Determine whether debugging for Sun Cluster HA for Solaris Containers 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 # |
If debugging is inactive, edit the /etc/syslog.conf file to change daemon.notice to daemon.debug.
Confirm that debugging for Sun Cluster HA for Solaris Containers 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 # |
Restart the syslogd daemon.
# svcadm restart system-log |
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 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "@(#)config 1.1 06/02/22 SMI" # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL # |
To deactivate debugging, reverse the preceding steps.