HA for MySQL has a file named config that enables you to activate debugging for MySQL resources. This file is in the /opt/SUNWscmys/etc directory.
# 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, daemon.notice is set in the file /etc/syslog.conf of the appropriate zone.
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 #
# svcadm restart system-log
The value of component-name can be ndb_mgmd, ndbd, ndbd_shutdown.
To debug all resources, use DEBUG=ALL.
To debug specific resources, use DEBUG=resource name,resource name[, …].
# cat /opt/SUNWscmys/etc/config # # Copyright 2012 OracleCorporation. All rights reserved. # Use is subject to license terms. # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL #