HA for WebSphere MQ can be used by multiple IBM MQ instances. It is possible to turn debug on for all IBM MQ instances or a particular IBM MQ instance.
A config file exists under /opt/SUNWscmqs/xxx/etc, where xxx can be mgr (Queue Manager), chi (Channel Initiator), csv (Command Server), lsr (Listener) and trm (Trigger Monitor).
These files allow you to turn on debug for all IBM MQ instances or for a specific IBM MQ instance on a particular node within the cluster. If you require debug to be turned on for HA for WebSphere MQ across the whole cluster, repeat this step on all nodes within the cluster.
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator #
Change the daemon.notice to daemon.debug and restart syslogd. Note that the output below, from grep daemon /etc/syslog.conf, shows that daemon.debug has been set.
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.debug;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator
Restart the syslog daemon.
# svcadm disable system-log # svcadm enable system-log
Perform this step for each component that requires debug output, on each node of Oracle Solaris Cluster as required.
Edit /opt/SUNWscmqs/xxx/etc/config and change DEBUG= to DEBUG=ALL or DEBUG=resource.
# cat /opt/SUNWscmqs/mgr/etc/config # # Copyright 2006 Oracle Corporation. All rights reserved. # Use is subject to license terms. # ##ident "@(#)config 1.2 06/03/08 SMI" # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL